{"id":"CVE-2026-99459","state":"PUBLISHED","title":"mshv_vtl: detach poll waiter on POLLFREE","description":"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.","publishedAt":"2026-11-19T14:42:06.721Z","updatedAt":"2026-11-19T14:42:06.721Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f","status":"affected","lessThan":"ce2b83e47af491f4b7f0f286367b34cdc57e17e9","versionType":"git"},{"version":"7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f","status":"affected","lessThan":"efc5dc4c15713fdd6e87882686a26ed1deb22dab","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hv/mshv_vtl_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hv/mshv_vtl_main.c"]}],"references":["https://git.kernel.org/stable/c/ce2b83e47af491f4b7f0f286367b34cdc57e17e9","https://git.kernel.org/stable/c/efc5dc4c15713fdd6e87882686a26ed1deb22dab"],"weaknesses":[],"ingestedAt":"2026-11-19T14:48:06.147Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99459.json","commit":"783f6d4140a34eaf92c5bfee971cfe497fa6394e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99459","state":"PUBLISHED","datePublished":"2026-11-19T14:42:06.721Z","dateUpdated":"2026-11-19T14:42:06.721Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.416Z"},"containers":{"cna":{"title":"mshv_vtl: detach poll waiter on POLLFREE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f","status":"affected","lessThan":"ce2b83e47af491f4b7f0f286367b34cdc57e17e9","versionType":"git"},{"version":"7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f","status":"affected","lessThan":"efc5dc4c15713fdd6e87882686a26ed1deb22dab","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hv/mshv_vtl_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hv/mshv_vtl_main.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ce2b83e47af491f4b7f0f286367b34cdc57e17e9"},{"url":"https://git.kernel.org/stable/c/efc5dc4c15713fdd6e87882686a26ed1deb22dab"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:42:06.721Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}