ALSA: control: Don't add invalid kcontrols to LED layer
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 74e3b979ce8b78a690f8b94ccf2e2c965f7f5c11, Kernel 18c08f84ca483029f04e426ec7ca3b5d3684cf22, Kernel 2f0c97b1a32fba8e81a69f6231aa0b3c9b6bc581 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: ALSA: control: Don't add invalid kcontrols to LED layer The kcontrol LED state layer tries to track the all associated kcontrol elements with naive assumptions that they are readable. But one can create a write-only element that has no get callback (even a user element can do it), and this may lead to a NULL dereference at the call chain of snd_ctl_led_notify(), as found by syzkaller. For avoiding the Oops, add a sanity check of the kcontrol's info and get callbacks, and just skip the invalid kcontrols before assigning the kctl to the LED layer.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=22d8de62f11b287b279f1d4473a78c7d5e53e7bc <74e3b979ce8b78a690f8b94ccf2e2c965f7f5c11, >=22d8de62f11b287b279f1d4473a78c7d5e53e7bc <18c08f84ca483029f04e426ec7ca3b5d3684cf22, >=22d8de62f11b287b279f1d4473a78c7d5e53e7bc <2f0c97b1a32fba8e81a69f6231aa0b3c9b6bc581, >=22d8de62f11b287b279f1d4473a78c7d5e53e7bc <3b8a540b36aa064822c701e4e0a1dea2cd4ec5b0, >=22d8de62f11b287b279f1d4473a78c7d5e53e7bc <3d20cd049fc5f51f80e24a2db7a3cf00593c79e4, >=22d8de62f11b287b279f1d4473a78c7d5e53e7bc <6e152cbfac3a2a62f79df7d23d621917c20367eb, =5.13 | 74e3b979ce8b78a690f8b94ccf2e2c965f7f5c11, 18c08f84ca483029f04e426ec7ca3b5d3684cf22, 2f0c97b1a32fba8e81a69f6231aa0b3c9b6bc581, 3b8a540b36aa064822c701e4e0a1dea2cd4ec5b0, 3d20cd049fc5f51f80e24a2db7a3cf00593c79e4, 6e152cbfac3a2a62f79df7d23d621917c20367eb |
| linux-kernel: Kernel | >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.160, >=6.7.0 <6.12.110, >=5.13.0 <6.1.188 | 6.18.52, 7.2.6, 6.6.160, 6.12.110, 6.1.188 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket