{"id":"CVE-2026-72262","revision":"e0a080ed18f94cf7bc15e0bf8b5735d0","records":[{"revision":"e0a080ed18f94cf7bc15e0bf8b5735d0","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-72262","aliases":[],"title":"ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get\n\nThe ipc_control_data buffer is allocated as kzalloc(max_size), where\nmax_size covers the entire struct sof_ipc_ctrl_data including its\nflexible array payload. However, the bounds checks in bytes_ext_put\nand _bytes_ext_get compared user data lengths against max_size\ndirectly, ignoring that cdata->data sits at an offset of\nsizeof(struct sof_ipc_ctrl_data) bytes into the allocation.\n\nThis allowed writing up to sizeof(struct sof_ipc_ctrl_data) bytes past\nthe end of the heap buffer from unprivileged userspace via the ALSA TLV\nkcontrol interface, and similarly allowed over-reading adjacent heap\ndata on the get path.\n\nFix all bounds checks to subtract sizeof(*cdata) from max_size so they\nreflect the actual space available at the cdata->data offset. Also fix\nthe error-path restore in bytes_ext_put which wrote to cdata->data\ninstead of cdata, causing the same overflow.","state":0,"publishedAt":"2026-08-15T05:54:49.635+00:00","modifiedAt":"2026-10-16T18:55:14.172+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\": \"67ec2a091630c28ea8d05db2bd7178a05b04b7e6\",\n                            \"lessThan\": \"af4b437a463ac0482ba705434a44da06783778e6\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"67ec2a091630c28ea8d05db2bd7178a05b04b7e6\",\n                            \"lessThan\": \"1adde1941bba7b0d7104b86ed819d48d81cb0ad9\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"67ec2a091630c28ea8d05db2bd7178a05b04b7e6\",\n                            \"lessThan\": \"eaa67e139c9217099e2a7b717aeeb46c65de3494\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"67ec2a091630c28ea8d05db2bd7178a05b04b7e6\",\n                            \"lessThan\": \"121577383b5cf221e86581e0f2bcca4c66f17469\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"67ec2a091630c28ea8d05db2bd7178a05b04b7e6\",\n                            \"lessThan\": \"f4933e1d11b97b6a0951648b7c3e53850e1b33a9\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"67ec2a091630c28ea8d05db2bd7178a05b04b7e6\",\n                            \"lessThan\": \"fd46668d538993218eea19c6925c868ac0f2630c\",\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.184\",\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/af4b437a463ac0482ba705434a44da06783778e6","https://git.kernel.org/stable/c/1adde1941bba7b0d7104b86ed819d48d81cb0ad9","https://git.kernel.org/stable/c/eaa67e139c9217099e2a7b717aeeb46c65de3494","https://git.kernel.org/stable/c/121577383b5cf221e86581e0f2bcca4c66f17469","https://git.kernel.org/stable/c/f4933e1d11b97b6a0951648b7c3e53850e1b33a9","https://git.kernel.org/stable/c/fd46668d538993218eea19c6925c868ac0f2630c"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-72262","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-72262","identifiers":["CVE-2026-72262"]},"retained":false,"historicalAffected":[]}],"coverage":[]}