CVE-2026-139442: ALSA: control_led: Fix deadlock between sysfs writes and card disconnect
ALSA: controlled: Fix deadlock between sysfs writes and card disconnect
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In the ALSA control LED attach, detach, and list callbacks, break kernfs active protection and hold a module reference instead.
Event History
Frequently Asked Questions
Which systems are exposed to this deadlock?
Systems are exposed when ALSA control LED sysfs files are present and a sysfs write can occur concurrently with sound-card disconnect handling. The deadlock involves the control LED attach, detach, or list callbacks contending for card->controls_rwsem while sysfs file removal waits for callbacks to finish.
What condition triggers the issue?
A concurrent write to a control LED sysfs file can invoke an attach or detach callback that waits for card->controls_rwsem. If disconnect processing is simultaneously removing the sysfs files while holding that lock, device_unregister() can wait for the running callback and deadlock.