AZL-117136: CVE-2026-139442 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ALSA: controlled: Fix deadlock between sysfs writes and card disconnect
sndctlleddisconnect() removes the ctl-led sysfs files while holding card->controlsrwsem. deviceunregister() waits for running sysfs callbacks which can deadlock when a concurrent write causes the attach or detach callback to wait for controlsrwsem.
Break kernfs active protection in the attach, detach and list callbacks and hold a module reference instead.
Affected Software
Event History
Frequently Asked Questions
What conditions are needed to trigger the deadlock?
A concurrent sysfs write to the ALSA control-led interface must overlap with card disconnect. The write can invoke attach or detach callbacks that wait for card->controls_rwsem while disconnect holds that lock and waits for active sysfs callbacks to finish.
What is the practical impact if the issue is triggered?
The affected execution paths can deadlock during ALSA card disconnect, leaving the involved operations unable to complete.
Which component should be prioritized for remediation?
Prioritize systems using the azure-linux/kernel package at version 6.6.161.1-1, particularly where ALSA control-led sysfs interfaces may be written while audio cards are disconnected.