Linux
ASoC: SOF: ipc3-control: Use overflow checks in control_update size calc
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 10f461d79c2d1afb22344986cc1b4631169cf25e, < 6856b3c23b0995eefad5a6142b4365ef70e1fe4a
- >= 10f461d79c2d1afb22344986cc1b4631169cf25e, < 89a2309a9eec80d4c19e3aed62c4f923594d1911
- >= 10f461d79c2d1afb22344986cc1b4631169cf25e, < ffd79e77f2fbacd7a5d40ad1d4c7f3f089a8f2f3
- >= 10f461d79c2d1afb22344986cc1b4631169cf25e, < 711d912b18763af62a63aa8f2419a774eb63bba4
- >= 10f461d79c2d1afb22344986cc1b4631169cf25e, < 312c7d2ebe696da3f885eee77d52297664e57c53
- >= 10f461d79c2d1afb22344986cc1b4631169cf25e, < 8791977d7289f6e9d2b014f60a5455f053a7bc04
Fixed in 6856b3c23b0995eefad5a6142b4365ef70e1fe4a, 89a2309a9eec80d4c19e3aed62c4f923594d1911, ffd79e77f2fbacd7a5d40ad1d4c7f3f089a8f2f3, 711d912b18763af62a63aa8f2419a774eb63bba4, 312c7d2ebe696da3f885eee77d52297664e57c53, 8791977d7289f6e9d2b014f60a5455f053a7bc04
- 5.18
Fixed in 0, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 6856b3c23b0995eefad5a6142b4365ef70e1fe4a or 89a2309a9eec80d4c19e3aed62c4f923594d1911 or ffd79e77f2fbacd7a5d40ad1d4c7f3f089a8f2f3 or 711d912b18763af62a63aa8f2419a774eb63bba4 or 312c7d2ebe696da3f885eee77d52297664e57c53 or 8791977d7289f6e9d2b014f60a5455f053a7bc04 or later.
Upgrade Linux to 0 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.