CVE-2026-90060: ALSA: control: Don't add invalid kcontrols to LED layer
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 sndctllednotify(), 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 Software
Event History
Frequently Asked Questions
What conditions are required to trigger the crash?
A write-only ALSA control element without a get callback must be associated with the kcontrol LED state layer. When snd_ctl_led_notify() handles that control, the layer can dereference a NULL callback.
Can user-created ALSA controls be involved?
Yes. The description states that even a user element can be created as write-only with no get callback, making it an invalid control for LED-layer tracking.
What does the fix do?
The fix validates the control's info and get callbacks before assigning it to the LED layer. Controls that do not meet those requirements are skipped, preventing the NULL dereference.