{"id":"CVE-2026-72301","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 …","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","vendor":"Linux","product":"Linux","affected":["Linux >= 544ac8858f249950b4d99c68e538cdc07300528f < 8bd715a9d882fe1993bb2aec5eff89fffa946592","Linux >= 544ac8858f249950b4d99c68e538cdc07300528f < 0dce240145f47545d2e4b18c6d58033b83e1fd0e","Linux >= 544ac8858f249950b4d99c68e538cdc07300528f < ed4f758f34be4c32e02933ac4fa044589d9c1c16","Linux >= 544ac8858f249950b4d99c68e538cdc07300528f < 0c4fbdaca225b97122b61b68c5353caa33a253c3","Linux >= 544ac8858f249950b4d99c68e538cdc07300528f < 92f90917413bdd6078fefff6f6c83a07bf870b04","Linux >= 544ac8858f249950b4d99c68e538cdc07300528f < 1f97760417b5faa60e9642fd0ed61eb17d0b1b39","Linux 5.18"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T18:46:11.606714Z"},"published":"2026-08-15","updated":"2026-10-16","sourceUpdated":"2026-10-16T18:55:16.018Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-72301","references":[{"url":"https://git.kernel.org/stable/c/8bd715a9d882fe1993bb2aec5eff89fffa946592"},{"url":"https://git.kernel.org/stable/c/0dce240145f47545d2e4b18c6d58033b83e1fd0e"},{"url":"https://git.kernel.org/stable/c/ed4f758f34be4c32e02933ac4fa044589d9c1c16"},{"url":"https://git.kernel.org/stable/c/0c4fbdaca225b97122b61b68c5353caa33a253c3"},{"url":"https://git.kernel.org/stable/c/92f90917413bdd6078fefff6f6c83a07bf870b04"},{"url":"https://git.kernel.org/stable/c/1f97760417b5faa60e9642fd0ed61eb17d0b1b39"}],"tags":["cve.org"],"epss":0.00164,"epssPercentile":0.05265,"ingestedAt":"2026-10-16T19:46:24.410Z","slug":"CVE-2026-72301","body":"## Overview\n\nIn 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.\n\n## Affected\n\n- `Linux >= 544ac8858f249950b4d99c68e538cdc07300528f < 8bd715a9d882fe1993bb2aec5eff89fffa946592`\n- `Linux >= 544ac8858f249950b4d99c68e538cdc07300528f < 0dce240145f47545d2e4b18c6d58033b83e1fd0e`\n- `Linux >= 544ac8858f249950b4d99c68e538cdc07300528f < ed4f758f34be4c32e02933ac4fa044589d9c1c16`\n- `Linux >= 544ac8858f249950b4d99c68e538cdc07300528f < 0c4fbdaca225b97122b61b68c5353caa33a253c3`\n- `Linux >= 544ac8858f249950b4d99c68e538cdc07300528f < 92f90917413bdd6078fefff6f6c83a07bf870b04`\n- `Linux >= 544ac8858f249950b4d99c68e538cdc07300528f < 1f97760417b5faa60e9642fd0ed61eb17d0b1b39`\n- `Linux 5.18`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}