Not scored
mshv_vtl: reject poll files with multiple waitqueues
- Severity
- Not scored
- Exploit likelihood
- 0.29% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f before ff6db2332643e5d4332b3acba5e2e98c13496848, from 7bfe3b8ea6e30437e01fcb8e4f56ef6e4d986d0f before 70cd4623f3e5068a72c72791b96f2dcb4c991131, 6.19 Not affected: before 6.19, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99959 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-99959 changed 2026-11-30 | Public domain |