ALSA: control: Don't add invalid kcontrols to LED layer
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.188, 6.6.160, 6.12.110, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 22d8de62f11b287b279f1d4473a78c7d5e53e7bc · fixed in 6e152cbfac3a2a62f79df7d23d621917c20367eb; From 22d8de62f11b287b279f1d4473a78c7d5e53e7bc · fixed in 3b8a540b36aa064822c701e4e0a1dea2cd4ec5b0; From 22d8de62f11b287b279f1d4473a78c7d5e53e7bc · fixed in 3d20cd049fc5f51f80e24a2db7a3cf00593c79e4; From 22d8de62f11b287b279f1d4473a78c7d5e53e7bc · fixed in 2f0c97b1a32fba8e81a69f6231aa0b3c9b6bc581; From 22d8de62f11b287b279f1d4473a78c7d5e53e7bc · fixed in 18c08f84ca483029f04e426ec7ca3b5d3684cf22; From 22d8de62f11b287b279f1d4473a78c7d5e53e7bc · fixed in 74e3b979ce8b78a690f8b94ccf2e2c965f7f5c11
- Linux Linux
5.13
- KernelLinux
From 5.13.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6