{"id":"CVE-2026-72301","revision":"684d8449fb8d40b68e7793511eb846e8","records":[{"revision":"684d8449fb8d40b68e7793511eb846e8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-72301","aliases":[],"title":"ASoC: SOF: ipc3-control: Fix TOCTOU in bytes_put and bytes_get","description":"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.","state":0,"publishedAt":"2026-08-15T05:55:20.43+00:00","modifiedAt":"2026-10-16T18:55:16.018+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"sound/soc/sof/ipc3-control.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"544ac8858f249950b4d99c68e538cdc07300528f\",\n                            \"lessThan\": \"8bd715a9d882fe1993bb2aec5eff89fffa946592\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"544ac8858f249950b4d99c68e538cdc07300528f\",\n                            \"lessThan\": \"0dce240145f47545d2e4b18c6d58033b83e1fd0e\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"544ac8858f249950b4d99c68e538cdc07300528f\",\n                            \"lessThan\": \"ed4f758f34be4c32e02933ac4fa044589d9c1c16\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"544ac8858f249950b4d99c68e538cdc07300528f\",\n                            \"lessThan\": \"0c4fbdaca225b97122b61b68c5353caa33a253c3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"544ac8858f249950b4d99c68e538cdc07300528f\",\n                            \"lessThan\": \"92f90917413bdd6078fefff6f6c83a07bf870b04\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"544ac8858f249950b4d99c68e538cdc07300528f\",\n                            \"lessThan\": \"1f97760417b5faa60e9642fd0ed61eb17d0b1b39\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"sound/soc/sof/ipc3-control.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.18\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.18\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.178\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.145\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.97\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.40\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.5\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/8bd715a9d882fe1993bb2aec5eff89fffa946592","https://git.kernel.org/stable/c/0dce240145f47545d2e4b18c6d58033b83e1fd0e","https://git.kernel.org/stable/c/ed4f758f34be4c32e02933ac4fa044589d9c1c16","https://git.kernel.org/stable/c/0c4fbdaca225b97122b61b68c5353caa33a253c3","https://git.kernel.org/stable/c/92f90917413bdd6078fefff6f6c83a07bf870b04","https://git.kernel.org/stable/c/1f97760417b5faa60e9642fd0ed61eb17d0b1b39"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-72301","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-72301","identifiers":["CVE-2026-72301"]},"retained":false,"historicalAffected":[]}],"coverage":[]}