{"id":"CVE-2026-72302","state":"PUBLISHED","title":"ASoC: SOF: ipc3-control: Use overflow checks in control_update size calc","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: ipc3-control: Use overflow checks in control_update size calc\n\nIn sof_ipc3_control_update(), the expected_size calculation uses\nfirmware-provided cdata->num_elems in arithmetic that could overflow\non 32-bit platforms, wrapping to a small value. This would allow the\ncdata->rhdr.hdr.size comparison to pass with mismatched sizes,\npotentially leading to out-of-bounds access in snd_sof_update_control.\n\nUse check_mul_overflow() and check_add_overflow() to detect and reject\noverflowed size calculations.","publishedAt":"2026-08-15T05:55:21.049Z","updatedAt":"2026-10-16T18:55:16.199Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"10f461d79c2d1afb22344986cc1b4631169cf25e","status":"affected","lessThan":"6856b3c23b0995eefad5a6142b4365ef70e1fe4a","versionType":"git"},{"version":"10f461d79c2d1afb22344986cc1b4631169cf25e","status":"affected","lessThan":"89a2309a9eec80d4c19e3aed62c4f923594d1911","versionType":"git"},{"version":"10f461d79c2d1afb22344986cc1b4631169cf25e","status":"affected","lessThan":"ffd79e77f2fbacd7a5d40ad1d4c7f3f089a8f2f3","versionType":"git"},{"version":"10f461d79c2d1afb22344986cc1b4631169cf25e","status":"affected","lessThan":"711d912b18763af62a63aa8f2419a774eb63bba4","versionType":"git"},{"version":"10f461d79c2d1afb22344986cc1b4631169cf25e","status":"affected","lessThan":"312c7d2ebe696da3f885eee77d52297664e57c53","versionType":"git"},{"version":"10f461d79c2d1afb22344986cc1b4631169cf25e","status":"affected","lessThan":"8791977d7289f6e9d2b014f60a5455f053a7bc04","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/ipc3-control.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/ipc3-control.c"]}],"references":["https://git.kernel.org/stable/c/6856b3c23b0995eefad5a6142b4365ef70e1fe4a","https://git.kernel.org/stable/c/89a2309a9eec80d4c19e3aed62c4f923594d1911","https://git.kernel.org/stable/c/ffd79e77f2fbacd7a5d40ad1d4c7f3f089a8f2f3","https://git.kernel.org/stable/c/711d912b18763af62a63aa8f2419a774eb63bba4","https://git.kernel.org/stable/c/312c7d2ebe696da3f885eee77d52297664e57c53","https://git.kernel.org/stable/c/8791977d7289f6e9d2b014f60a5455f053a7bc04"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72302.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72302","state":"PUBLISHED","datePublished":"2026-08-15T05:55:21.049Z","dateUpdated":"2026-10-16T18:55:16.199Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.918Z"},"containers":{"cna":{"title":"ASoC: SOF: ipc3-control: Use overflow checks in control_update size calc","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: ipc3-control: Use overflow checks in control_update size calc\n\nIn sof_ipc3_control_update(), the expected_size calculation uses\nfirmware-provided cdata->num_elems in arithmetic that could overflow\non 32-bit platforms, wrapping to a small value. This would allow the\ncdata->rhdr.hdr.size comparison to pass with mismatched sizes,\npotentially leading to out-of-bounds access in snd_sof_update_control.\n\nUse check_mul_overflow() and check_add_overflow() to detect and reject\noverflowed size calculations."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"10f461d79c2d1afb22344986cc1b4631169cf25e","status":"affected","lessThan":"6856b3c23b0995eefad5a6142b4365ef70e1fe4a","versionType":"git"},{"version":"10f461d79c2d1afb22344986cc1b4631169cf25e","status":"affected","lessThan":"89a2309a9eec80d4c19e3aed62c4f923594d1911","versionType":"git"},{"version":"10f461d79c2d1afb22344986cc1b4631169cf25e","status":"affected","lessThan":"ffd79e77f2fbacd7a5d40ad1d4c7f3f089a8f2f3","versionType":"git"},{"version":"10f461d79c2d1afb22344986cc1b4631169cf25e","status":"affected","lessThan":"711d912b18763af62a63aa8f2419a774eb63bba4","versionType":"git"},{"version":"10f461d79c2d1afb22344986cc1b4631169cf25e","status":"affected","lessThan":"312c7d2ebe696da3f885eee77d52297664e57c53","versionType":"git"},{"version":"10f461d79c2d1afb22344986cc1b4631169cf25e","status":"affected","lessThan":"8791977d7289f6e9d2b014f60a5455f053a7bc04","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/ipc3-control.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/sof/ipc3-control.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6856b3c23b0995eefad5a6142b4365ef70e1fe4a"},{"url":"https://git.kernel.org/stable/c/89a2309a9eec80d4c19e3aed62c4f923594d1911"},{"url":"https://git.kernel.org/stable/c/ffd79e77f2fbacd7a5d40ad1d4c7f3f089a8f2f3"},{"url":"https://git.kernel.org/stable/c/711d912b18763af62a63aa8f2419a774eb63bba4"},{"url":"https://git.kernel.org/stable/c/312c7d2ebe696da3f885eee77d52297664e57c53"},{"url":"https://git.kernel.org/stable/c/8791977d7289f6e9d2b014f60a5455f053a7bc04"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The flaw is reached when the on-chip SOF DSP delivers IPC3 GET_VALUE/GET_DATA component notifications via mailbox IRQ into sof_ipc3_control_update(); this requires local access to SOF-equipped audio hardware, not remote network delivery.\nAC:L - On affected 32-bit builds, firmware-supplied num_elems deterministically wraps expected_size so the hdr.size check passes; a local attacker can repeatedly drive DSP control notifications through ALSA without uncontrollable races or victim-specific state.\nPR:L - Only an unprivileged local user able to open ALSA control devices on SOF IPC3 hardware (typical audio-group access on laptops, Chromebooks, and 32-bit embedded tablets) is needed to exercise DSP control paths that deliver the malformed IPC payloads.\nUI:N - No separate victim interaction is required; the attacker triggers SOF control-update handling through their own ALSA audio/control activity and the kernel processes the malformed IPC notification automatically.\nS:U - Heap corruption and control-cache overread/overwrite remain within the host kernel audio driver on the same machine and do not cross VM, container, or IOMMU boundaries into another security authority.\nC:H - Bypassed size validation lets snd_sof_update_control() read chanv/binary data past the kmalloc IPC buffer via loops or memcpy, yielding out-of-bounds kernel heap reads that can disclose adjacent memory contents.\nI:H - Crafted num_elems drives out-of-bounds copying from the IPC message into control caches, corrupting kernel heap objects and enabling attacker-influenced writes exploitable for further privilege escalation.\nA:H - Out-of-bounds accesses during IRQ-threaded IPC3 control-update handling can cause KASAN faults, unhandled page faults, kernel oops, or panic under realistic SOF audio workloads on 32-bit systems."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:42:34.654Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-72302","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T18:46:13.914828Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T18:55:16.199Z"}}]}}}