{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a062c8899fede2ab5660a817e9b602d3fa280a99"
            },
            {
              "fixed": "266f936db83aee6ca6473bbb06259bda52bf4fc3"
            },
            {
              "fixed": "4cf6a7ebbf8787393b158b2cc341723e5bebc4a8"
            },
            {
              "fixed": "fb4293173db2d474d8fbc0e5ecf4943e6df2b40e"
            },
            {
              "fixed": "038406abde0d0883419ec89425ea941ec8bbef95"
            },
            {
              "fixed": "3ad673e7139cf214afd24321a829aad6575f4163"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.4.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.97"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72304.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: ipc4-control: Fix TOCTOU in sof_ipc4_bytes_put\n\nIn sof_ipc4_bytes_put(), the copy size is derived from the old\ndata-\u003esize in the buffer rather than the incoming new data's size\nfield from ucontrol. If the new data has a different size, the copy\nuses the wrong length: it may truncate valid data or copy stale bytes.\n\nFix by validating and using the incoming data's sof_abi_hdr.size from\nucontrol before copying.",
  "id": "CVE-2026-72304",
  "modified": "2026-08-18T03:30:56.633702836Z",
  "published": "2026-08-15T05:55:22.290Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/038406abde0d0883419ec89425ea941ec8bbef95"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/266f936db83aee6ca6473bbb06259bda52bf4fc3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3ad673e7139cf214afd24321a829aad6575f4163"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4cf6a7ebbf8787393b158b2cc341723e5bebc4a8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fb4293173db2d474d8fbc0e5ecf4943e6df2b40e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72304.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72304"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ASoC: SOF: ipc4-control: Fix TOCTOU in sof_ipc4_bytes_put"
}