CVE-2026-139278

Not scored yetLast modified Nov 30, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 315a3d57c64c55901d6fe5a5eef3b3e51d215381, < add182e88ecabe2c86f262182c9f7642311df097; >= 315a3d57c64c55901d6fe5a5eef3b3e51d215381, < f19e1e41f1b9c24ae9600cc9a33e116c1ba7c331; >= 315a3d57c64c55901d6fe5a5eef3b3e51d215381, < 891cbc7058b3d459b5d02002f6c8618c820b2306; >= 315a3d57c64c55901d6fe5a5eef3b3e51d215381, < ee65450f168eca7367672885825bb9bff6670c17; >= 315a3d57c64c55901d6fe5a5eef3b3e51d215381, < 069003afab42b5a9394faa6985a3d76bd4700e72
LinuxLinux6.5

References

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139279In the Linux kernel, the following vulnerability has been resolved: netfilter: xt_dccp: handle reserved options as single-byte The DCCP UACVE-2026-139288.8Insufficient validation of untrusted input in Enterprise in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to perform privilCVE-2026-1392807.1In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_rbtree: narrow down range completion to anonymous seCVE-2026-1392819.1In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset find_preCVE-2026-139282In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: Fix CQ enable state tracking after AQ writes Use the CQ CVE-2026-139283In the Linux kernel, the following vulnerability has been resolved: ALSA: oss: Keep emulation modules loaded until object teardown OSS proCVE-2026-139284In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Protect the unregister notifier traversal snd_pcm_free() trCVE-2026-139285In the Linux kernel, the following vulnerability has been resolved: gpiolib: fix memory leak in gpiod_set_array_value_complex() EPERM errorCVE-2026-139286In the Linux kernel, the following vulnerability has been resolved: bpf: Zero-extend the index in inlined bpf_get_func_arg() bpf_get_func_CVE-2026-139287In the Linux kernel, the following vulnerability has been resolved: RDMA/usnic: Bound buffer size to sizeof(buf) in flowinfo_read() In floCVE-2026-1392887.5In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Clear pkt->qp before the early drop exits in rxe_rcv() rxe_rCVE-2026-139289In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Free unpublished port statistics after initial-read failure
CVE-2026-139278: Unscored | Vulnix