{"id":"CVE-2026-72262","aliases":["CVE-2026-72262"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-15T05:54:49.635Z","modified":"2026-10-16T19:17:18.143Z","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":"67ec2a091630c28ea8d05db2bd7178a05b04b7e6","fixed":"af4b437a463ac0482ba705434a44da06783778e6","status":"affected"},{"type":"git","introduced":"67ec2a091630c28ea8d05db2bd7178a05b04b7e6","fixed":"1adde1941bba7b0d7104b86ed819d48d81cb0ad9","status":"affected"},{"type":"git","introduced":"67ec2a091630c28ea8d05db2bd7178a05b04b7e6","fixed":"eaa67e139c9217099e2a7b717aeeb46c65de3494","status":"affected"},{"type":"git","introduced":"67ec2a091630c28ea8d05db2bd7178a05b04b7e6","fixed":"121577383b5cf221e86581e0f2bcca4c66f17469","status":"affected"},{"type":"git","introduced":"67ec2a091630c28ea8d05db2bd7178a05b04b7e6","fixed":"f4933e1d11b97b6a0951648b7c3e53850e1b33a9","status":"affected"},{"type":"git","introduced":"67ec2a091630c28ea8d05db2bd7178a05b04b7e6","fixed":"fd46668d538993218eea19c6925c868ac0f2630c","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.184","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/af4b437a463ac0482ba705434a44da06783778e6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1adde1941bba7b0d7104b86ed819d48d81cb0ad9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eaa67e139c9217099e2a7b717aeeb46c65de3494","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/121577383b5cf221e86581e0f2bcca4c66f17469","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4933e1d11b97b6a0951648b7c3e53850e1b33a9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd46668d538993218eea19c6925c868ac0f2630c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:45:34.306Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72262","url":"https://www.cve.org/CVERecord?id=CVE-2026-72262","licence":"CVE Terms of Use","modified":"2026-10-16T18:55:14.172Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72262","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72262","licence":"Public domain","modified":"2026-10-16T19:17:18.143Z"}],"updatedAt":"2026-11-25T22:59:33.063Z","epss":{"score":0.00182,"percentile":0.08172,"date":"2026-12-01T12:00:22.000Z"}}