CVE-2026-139278: ALSA: pcmtest: Pin the module while pattern files are open
ALSA: pcmtest: Pin the module while pattern files are open
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.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 - Configuration
Set fill_pattern_fops.owner to THIS_MODULE so fops_get()/fops_put() pins the PCMTest module until final release completes.
ALSA pcmtest fill_pattern_fops.owner = THIS_MODULE
Event History
Frequently Asked Questions
Who can trigger this issue?
A local user who has permission to open a PCMTest fill_patternN debugfs file and can unload the snd-pcmtest module can trigger the vulnerable sequence. The module must be loaded as a module rather than built into the kernel, and no other PCM file or module reference can prevent its unload.
What sequence causes the use-after-free?
The user opens a fill_patternN file and keeps its descriptor open, then unloads snd-pcmtest. When the descriptor is later closed, the proxy release path accesses the freed fill_pattern_fops table and its owner field.
Is a retained open file descriptor evidence of exposure?
A retained descriptor to a fill_patternN debugfs file across successful snd-pcmtest module unload is the relevant condition. Closing that descriptor after the module image has been freed can access freed module memory and may fault.