GHSA-WG29-JJ25-R686
Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32In 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.
{
"affected": [],
"aliases": [
"CVE-2026-139278"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-30T14:18:50Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: pcmtest: Pin the module while pattern files are open\n\nThe fill_pattern_fops table must remain alive until the final release\nof each pattern debugfs file. It has no .owner, so the fops_get() call\nin full_proxy_open_regular() does not take a PCMTest module reference.\n\nWith snd-pcmtest loaded as a module, a user with permission to open a\nfill_patternN file and unload the module can retain the descriptor\nacross normal unload, provided no PCM file or other module reference\nprevents it. The following ordering is possible:\n\n Pattern file user Module unload\n ----------------- -------------\n open(fill_patternN)\n full_proxy_open_regular()\n fops_get(fill_pattern_fops)\n owner == NULL: no module pin\n keep the descriptor open\n mod_exit()\n clear_debug_files()\n debugfs_remove_recursive()\n drain active operations\n return from mod_exit()\n free_module()\n free the module image\n close(fd)\n full_proxy_release()\n read real_fops-\u003erelease -\u003e UAF\n fops_put(real_fops)\n read real_fops-\u003eowner\n access freed module memory\n\nEven though the table has no release callback, reading those fields\nis a use-after-free and can fault. The retained dentry keeps the\nproxy\u0027s bookkeeping alive, but does not retain the module storage.\n\nSet .owner to THIS_MODULE so the existing fops_get()/fops_put() pair\npins PCMTest until final release has finished accessing the table.\nNormal module unload is then blocked while any pattern file is open.",
"id": "GHSA-wg29-jj25-r686",
"modified": "2026-11-30T15:32:25Z",
"published": "2026-11-30T15:32:25Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139278"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/069003afab42b5a9394faa6985a3d76bd4700e72"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/891cbc7058b3d459b5d02002f6c8618c820b2306"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/add182e88ecabe2c86f262182c9f7642311df097"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ee65450f168eca7367672885825bb9bff6670c17"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/f19e1e41f1b9c24ae9600cc9a33e116c1ba7c331"
}
],
"schema_version": "1.4.0",
"severity": []
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.