{"id":"AZL-117004","summary":"CVE-2026-139278 affecting package kernel 6.6.161.1-1","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's 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.","modified":"2026-12-01T14:17:41.332425800Z","published":"2026-11-30T14:18:50Z","upstream":["CVE-2026-139278"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139278"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117004.json"}}],"schema_version":"1.9.2"}