CVE-2026-138857: xen/privcmd: Only claim ioreqs matching an ioeventfd
In the Linux kernel, the following vulnerability has been resolved:
xen/privcmd: Only claim ioreqs matching an ioeventfd
The ioeventfd handler shares its event channel with the userspace device model. It must only claim requests that match a registered ioeventfd. Other requests are left for userspace.
ioeventfdinterrupt() currently marks every MMIO write INPROCESS before looking for a match. For an unmatched request it drops the lock and restores READY. Userspace may see INPROCESS and skip it. Restoring READY does not send another notification. If userspace handles the request at the same time, the READY store may overwrite its state.
Find a matching ioeventfd before changing the request state.
The lock now protects only the ioeventfd list. Use explicit virtmb() barriers for the ioreq shared with Xen.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1
Event History
Frequently Asked Questions
Which environments are exposed to this condition?
The condition applies where the Xen privcmd ioeventfd handler shares an event channel with a userspace device model. It involves MMIO write requests that do not match a registered ioeventfd.
What happens to an unmatched request in the vulnerable behavior?
The handler can mark the request INPROCESS before determining that no ioeventfd matches it. Userspace may then skip the request, and a later READY store can overwrite state if userspace handles it concurrently.