Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-99959

mshv_vtl: reject poll files with multiple waitqueues

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: mshv_vtl: reject poll files with multiple waitqueues MSHV_SET_POLL_FILE invokes a file descriptor poll callback with a poll table backed by a single embedded wait entry. A poll callback may, however, register the table with more than one waitqueue. pipe_poll() does this naturally for an O_RDWR FIFO. The second registration currently warns but then inserts the same list node into another list. The new insertion overwrites the entry links while the first waitqueue still points at it, corrupting the first waitqueue and causing an invalid callback traversal when that queue wakes. Reject a second distinct waitqueue, remove the first registration through the common removal helper, and return -EINVAL from the ioctl. Repeated registration of the same waitqueue is treated as a no-op. A rejected replacement leaves the CPU slot unregistered, consistent with the existing remove-before-register ordering. Single-waitqueue users such as the OpenHCL io_uring poll file keep their existing behavior. An LLM assisted the source audit, fix development, and validation of this issue.

Affected products and versions

Linux Linux7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f – < ff6db2332643e5d4332b3acba5e2e98c13496848 · 7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f – < 70cd4623f3e5068a72c72791b96f2dcb4c991131Fixed in: ff6db2332643e5d4332b3acba5e2e98c13496848 · 70cd4623f3e5068a72c72791b96f2dcb4c991131
Linux Linux6.19Fixed in: 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.