Skip to contentSkip to conversation

CVE-2026-72302: ASoC: SOF: ipc3-control: Use overflow checks in control_update size calc

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ASoC: SOF: ipc3-control: Use overflow checks in control_update size calc

In sof_ipc3_control_update(), the expected_size calculation uses firmware-provided cdata->num_elems in arithmetic that could overflow on 32-bit platforms, wrapping to a small value. This would allow the cdata->rhdr.hdr.size comparison to pass with mismatched sizes, potentially leading to out-of-bounds access in snd_sof_update_control.

Use check_mul_overflow() and check_add_overflow() to detect and reject overflowed size calculations.

The Linux kernel CVE team has assigned CVE-2026-72302 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.18 with commit 10f461d79c2d1afb22344986cc1b4631169cf25e and fixed in 6.1.178 with commit 6856b3c23b0995eefad5a6142b4365ef70e1fe4a
	Issue introduced in 5.18 with commit 10f461d79c2d1afb22344986cc1b4631169cf25e and fixed in 6.6.145 with commit 89a2309a9eec80d4c19e3aed62c4f923594d1911
	Issue introduced in 5.18 with commit 10f461d79c2d1afb22344986cc1b4631169cf25e and fixed in 6.12.97 with commit ffd79e77f2fbacd7a5d40ad1d4c7f3f089a8f2f3
	Issue introduced in 5.18 with commit 10f461d79c2d1afb22344986cc1b4631169cf25e and fixed in 6.18.40 with commit 711d912b18763af62a63aa8f2419a774eb63bba4
	Issue introduced in 5.18 with commit 10f461d79c2d1afb22344986cc1b4631169cf25e and fixed in 7.1.5 with commit 312c7d2ebe696da3f885eee77d52297664e57c53
	Issue introduced in 5.18 with commit 10f461d79c2d1afb22344986cc1b4631169cf25e and fixed in 7.2-rc1 with commit 8791977d7289f6e9d2b014f60a5455f053a7bc04

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-72302

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
sound/soc/sof/ipc3-control.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	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