{"id":"CVE-2026-99459","summary":"mshv_vtl: detach poll waiter on POLLFREE","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmshv_vtl: detach poll waiter on POLLFREE\n\nMSHV_SET_POLL_FILE keeps a poll wait entry after the ioctl returns. A\nfile reference does not always pin the registered waitqueue:\nsignalfd_poll() uses current-\u003esighand-\u003esignalfd_wqh, whose lifetime is\ntied to the task.\n\nsignalfd_cleanup() sends POLLFREE before the sighand is freed. The MSHV\ncallback currently leaves its entry linked, so __wake_up_pollfree()\nwarns and a later replacement calls remove_wait_queue() through a stale\nwqh pointer. A source-equivalent KASAN run reproduced:\n\n  BUG: KASAN: slab-use-after-free in _raw_spin_lock_irqsave\n  _raw_spin_lock_irqsave\n  remove_wait_queue\n  harness_ioctl [mshv_pollfree_harness]\n\nThe object belonged to sighand_cache and had been released through\nslab_free_after_rcu_debug() after __cleanup_sighand().\n\nOn POLLFREE, unlink the entry under the provider waitqueue lock. Preserve\nthe existing CPU cancellation before publishing a NULL wqh, since a NULL\nload lets a racing replacement reuse the persistent poll state. Use a\nmatching acquire load under RCU when removing a normal registration.\n\nThe callback takes no mutex and does not sleep, so the existing\nmutex-to-waitqueue-lock order is unchanged.\n\nAn LLM assisted the source audit, fix development, and validation of this\nissue.","modified":"2026-11-19T17:01:20.475737019Z","published":"2026-11-19T14:42:06.721Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99459.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ce2b83e47af491f4b7f0f286367b34cdc57e17e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/efc5dc4c15713fdd6e87882686a26ed1deb22dab"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99459.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99459"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f"},{"fixed":"ce2b83e47af491f4b7f0f286367b34cdc57e17e9"},{"fixed":"efc5dc4c15713fdd6e87882686a26ed1deb22dab"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99459.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99459.json"}}],"schema_version":"1.9.2"}