CVE-2026-139800: 9p/xen: drain response work after unbinding IRQ
9p/xen: drain response work after unbinding IRQ
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 4.15 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 4.20 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.5 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.3 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In xen_9pfs_front teardown, unbind the event-channel IRQ before calling cancel_work_sync() to drain response work.
Event History
Frequently Asked Questions
Which systems are exposed to this race condition?
Systems using the Linux kernel's 9p Xen frontend are exposed during teardown of a Xen 9p filesystem frontend. The race involves the backend event channel IRQ and response work for that frontend.
When can the use-after-free occur?
It can occur when teardown drains response work before unbinding the event-channel IRQ. The IRQ handler can then queue new response work after the drain completes, allowing teardown to free ring and private data while that newly queued work remains pending.
What change prevents the race?
The event-channel IRQ must be unbound before response work is drained with cancel_work_sync(). Unbinding prevents the backend event channel from queueing further response work, and draining then waits for work queued before or during unbinding before resources are released.