{"id":"CVE-2026-72301","aliases":["CVE-2026-72301"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: SOF: ipc3-control: Fix TOCTOU in bytes_put and bytes_get","summary":"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->size 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->size 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->size 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->size 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.","source":"cvelist"}],"published":"2026-08-15T05:55:20.430Z","modified":"2026-10-16T19:17:20.357Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"544ac8858f249950b4d99c68e538cdc07300528f","fixed":"8bd715a9d882fe1993bb2aec5eff89fffa946592","status":"affected"},{"type":"git","introduced":"544ac8858f249950b4d99c68e538cdc07300528f","fixed":"0dce240145f47545d2e4b18c6d58033b83e1fd0e","status":"affected"},{"type":"git","introduced":"544ac8858f249950b4d99c68e538cdc07300528f","fixed":"ed4f758f34be4c32e02933ac4fa044589d9c1c16","status":"affected"},{"type":"git","introduced":"544ac8858f249950b4d99c68e538cdc07300528f","fixed":"0c4fbdaca225b97122b61b68c5353caa33a253c3","status":"affected"},{"type":"git","introduced":"544ac8858f249950b4d99c68e538cdc07300528f","fixed":"92f90917413bdd6078fefff6f6c83a07bf870b04","status":"affected"},{"type":"git","introduced":"544ac8858f249950b4d99c68e538cdc07300528f","fixed":"1f97760417b5faa60e9642fd0ed61eb17d0b1b39","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8bd715a9d882fe1993bb2aec5eff89fffa946592","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0dce240145f47545d2e4b18c6d58033b83e1fd0e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ed4f758f34be4c32e02933ac4fa044589d9c1c16","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c4fbdaca225b97122b61b68c5353caa33a253c3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92f90917413bdd6078fefff6f6c83a07bf870b04","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f97760417b5faa60e9642fd0ed61eb17d0b1b39","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:46:11.606Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72301","url":"https://www.cve.org/CVERecord?id=CVE-2026-72301","licence":"CVE Terms of Use","modified":"2026-10-16T18:55:16.018Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72301","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72301","licence":"Public domain","modified":"2026-10-16T19:17:20.357Z"}],"updatedAt":"2026-11-25T22:59:33.074Z","epss":{"score":0.00169,"percentile":0.06517,"date":"2026-12-01T12:00:22.000Z"}}