{"id":"CVE-2026-99459","aliases":["CVE-2026-99459"],"related":[],"kind":"vulnerability","state":"published","title":"mshv_vtl: detach poll waiter on POLLFREE","summary":"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->sighand->signalfd_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->sighand->signalfd_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.","source":"cvelist"}],"published":"2026-11-19T14:42:06.721Z","modified":"2026-11-19T15:17:59.933Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f","fixed":"ce2b83e47af491f4b7f0f286367b34cdc57e17e9","status":"affected"},{"type":"git","introduced":"7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f","fixed":"efc5dc4c15713fdd6e87882686a26ed1deb22dab","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ce2b83e47af491f4b7f0f286367b34cdc57e17e9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/efc5dc4c15713fdd6e87882686a26ed1deb22dab","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99459","url":"https://www.cve.org/CVERecord?id=CVE-2026-99459","licence":"CVE Terms of Use","modified":"2026-11-19T14:42:06.721Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99459","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99459","licence":"Public domain","modified":"2026-11-19T15:17:59.933Z"}],"updatedAt":"2026-11-25T22:59:52.078Z","epss":{"score":0.00156,"percentile":0.04975,"date":"2026-12-02T12:00:21.000Z"}}