{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "544ac8858f249950b4d99c68e538cdc07300528f"
            },
            {
              "fixed": "8bd715a9d882fe1993bb2aec5eff89fffa946592"
            },
            {
              "fixed": "0dce240145f47545d2e4b18c6d58033b83e1fd0e"
            },
            {
              "fixed": "ed4f758f34be4c32e02933ac4fa044589d9c1c16"
            },
            {
              "fixed": "0c4fbdaca225b97122b61b68c5353caa33a253c3"
            },
            {
              "fixed": "92f90917413bdd6078fefff6f6c83a07bf870b04"
            },
            {
              "fixed": "1f97760417b5faa60e9642fd0ed61eb17d0b1b39"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.18.0"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.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-72301.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: ipc3-control: Fix TOCTOU in bytes_put and bytes_get\n\nIn sof_ipc3_bytes_put(), the size used for the memcpy is derived from\nthe old data-\u003esize already in the buffer, not the incoming new data's\nsize field. If the new data has a different size, the copy length is\nwrong: it may truncate valid data or copy stale bytes.\n\nSimilarly, sof_ipc3_bytes_get() checks data-\u003esize against max_size\nwithout accounting for the sizeof(struct sof_ipc_ctrl_data) offset\nof the flex array within the allocation.\n\nFix bytes_put to validate and use the incoming data's sof_abi_hdr.size\nfrom ucontrol before copying. Fix bytes_get to subtract sizeof(*cdata)\nfrom the bounds check to match the actual available space.",
  "id": "CVE-2026-72301",
  "modified": "2026-08-18T03:30:55.133640279Z",
  "published": "2026-08-15T05:55:20.430Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0c4fbdaca225b97122b61b68c5353caa33a253c3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0dce240145f47545d2e4b18c6d58033b83e1fd0e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1f97760417b5faa60e9642fd0ed61eb17d0b1b39"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8bd715a9d882fe1993bb2aec5eff89fffa946592"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/92f90917413bdd6078fefff6f6c83a07bf870b04"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ed4f758f34be4c32e02933ac4fa044589d9c1c16"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72301.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72301"
    },
    {
      "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: ipc3-control: Fix TOCTOU in bytes_put and bytes_get"
}