PT-2026-163319
CVE-2026-139278
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
ALSA: pcmtest: Pin the module while pattern files are open
The fill pattern fops table must remain alive until the final release
of each pattern debugfs file. It has no .owner, so the fops get() call
in full proxy open regular() does not take a PCMTest module reference.
With snd-pcmtest loaded as a module, a user with permission to open a
fill patternN file and unload the module can retain the descriptor
across normal unload, provided no PCM file or other module reference
prevents it. The following ordering is possible:
Pattern file user Module unload
open(fill patternN)
full proxy open regular()
fops get(fill pattern fops)
owner == NULL: no module pin
keep the descriptor open
mod exit()
clear debug files()
debugfs remove recursive()
drain active operations
return from mod exit()
free module()
free the module image
close(fd)
full proxy release()
read real fops->release -> UAF
fops put(real fops)
read real fops->owner
access freed module memory
Even though the table has no release callback, reading those fields
is a use-after-free and can fault. The retained dentry keeps the
proxy's bookkeeping alive, but does not retain the module storage.
Set .owner to THIS MODULE so the existing fops get()/fops put() pair
pins PCMTest until final release has finished accessing the table.
Normal module unload is then blocked while any pattern file is open.
Found an issue in the description? Have something to add? Feel free to write us 👾