ASoC: codecs: lpass-wsa-macro: Fix enum kcontrol accesses
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bd4e5f9c3b764dc0e2a5662f92d63d2f3767a78d, Kernel 2fe7a89b2b5b73be35c1e493d0246314ba54e427, Kernel 4bcac4bf304a3ec746192e49a669c236aaf27dbf and 10 more.
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: lpass-wsa-macro: Fix enum kcontrol accesses EAR SPKR PA Gain" and the four "WSA RX* Mux" controls are enumerated, but their get and put callbacks access the value through ucontrol->value.integer.value[0] (a long) instead of ucontrol->value.enumerated.item[0] (an unsigned int). This same pattern was fixed in the sibling drivers by commit bcfe5f76cc40 ("ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type") and commit 0ea5eff7c606 ("ASoC: codecs: va-macro: fix accessing array out of bounds for enum type"), but wsa-macro was missed. On 64-bit kernels with CONFIG_SND_CTL_DEBUG this trips the elem value sanity check and every read of these controls fails with -EINVAL.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=809bcbcecebff86003e13f07444d21b9d6652a64 <bd4e5f9c3b764dc0e2a5662f92d63d2f3767a78d, >=809bcbcecebff86003e13f07444d21b9d6652a64 <2fe7a89b2b5b73be35c1e493d0246314ba54e427, >=809bcbcecebff86003e13f07444d21b9d6652a64 <4bcac4bf304a3ec746192e49a669c236aaf27dbf, >=809bcbcecebff86003e13f07444d21b9d6652a64 <524aa7b9954b0a43dd13f71ecbbac52a151c326d, >=809bcbcecebff86003e13f07444d21b9d6652a64 <56f24311fd5607588a47e44675195a9efb200f29, >=809bcbcecebff86003e13f07444d21b9d6652a64 <7bcdde412e6c744f6135e02b12a735e2e37b639f, >=809bcbcecebff86003e13f07444d21b9d6652a64 <891129df5de79cd533ae335c6eab24df2ff2b0fd, =5.11 | bd4e5f9c3b764dc0e2a5662f92d63d2f3767a78d, 2fe7a89b2b5b73be35c1e493d0246314ba54e427, 4bcac4bf304a3ec746192e49a669c236aaf27dbf, 524aa7b9954b0a43dd13f71ecbbac52a151c326d, 56f24311fd5607588a47e44675195a9efb200f29, 7bcdde412e6c744f6135e02b12a735e2e37b639f, 891129df5de79cd533ae335c6eab24df2ff2b0fd |
| linux-kernel: Kernel | >=5.16.0 <6.1.184, >=6.13.0 <6.18.46, >=6.19.0 <7.1.10, >=6.2.0 <6.6.153, >=6.7.0 <6.12.105, >=5.11.0 <5.15.217 | 6.1.184, 6.18.46, 7.1.10, 6.6.153, 6.12.105, 5.15.217 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket