CVE-2026-139284: ALSA: pcm: Protect the unregister notifier traversal
ALSA: pcm: Protect the unregister notifier traversal
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - 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
Hold register_mutex across the snd_pcm_notify_list unregister traversal and its callbacks; release the mutex before private_free and the remaining stream cleanup.
Event History
Frequently Asked Questions
What conditions are needed to trigger this issue?
The race requires overlap between PCM card teardown and removal of a PCM notifier, such as unloading snd-pcm-oss while a PCM device is being disconnected or its card is being torn down. The described example involves unbinding snd-dummy, and it specifically notes that no OSS file needs to be open.
What is the practical impact of a successful race?
The PCM free path can access notifier data after the notifier's module storage has been released, or invoke an unregister callback from unloaded module code. This can result in use-after-free access or execution through unloaded code during teardown.
What should be done if the fix cannot be applied immediately?
Avoid overlapping PCM card/device teardown with unloading or removing PCM notifier-owning modules, including snd-pcm-oss. Coordinate driver unbind or card removal operations so notifier removal and module unload do not occur concurrently with PCM teardown.
How can I identify potentially affected operational activity?
Look for systems that dynamically unload snd-pcm-oss or other components registering PCM notifiers while PCM devices or cards are being disconnected, removed, or unbound. The described race is particularly relevant to workflows that unbind snd-dummy during such module-removal activity.