Race condition in Linux kernel 9p Xen driver teardown
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel 9p Xen front-end driver drains response work before unbinding the event channel IRQ, so the handler can queue that work again after the drain. This race lets the ring and private data be freed while the work is still pending, and the worker later dereferences them.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: 9p/xen: drain response work after unbinding IRQ commit ea4f1009408e ("9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition") added cancel_work_sync() to keep xen_9pfs_front_free() from freeing a ring while p9_xen_response() is still running. The work is currently drained before the event channel IRQ is unbound. That leaves a race window where xen_9pfs_front_event_handler() can run after cancel_work_sync() returns and queue p9_xen_response() again. The following unbind_from_irqhandler() synchronizes with the IRQ handler, but it does not cancel work that the handler already queued. The teardown can then free the ring and private data while the response work remains pending, and the worker later dereferences ring->priv and priv->client. Unbind the event channel IRQ before draining the work. Once the IRQ is unbound, no new response work can be queued by the backend event channel, and cancel_work_sync() waits for any work that was queued before or during the unbind. It is then safe to release the ring resources.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.178 to before 5.10.275; 5.15.108 to before 5.15.226; 6.1.25 to before 6.1.193; 4.14.313 to before 4.15; 4.19.281 to before 4.20; 5.4.241 to before 5.5; 6.2.12 to before 6.3 | 5.10.275, 5.15.226, 6.1.193, 4.15, 4.20, 5.5, 6.3 | Patch available | CNA |
| Linux | Linux | 6.3 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc2 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.178 to before 5.10.275; 5.15.108 to before 5.15.226; 6.1.25 to before 6.1.193; 4.14.313 to before 4.15; 4.19.281 to before 4.20; 5.4.241 to before 5.5; 6.2.12 to before 6.3 Fixed in 5.10.275, 5.15.226, 6.1.193, 4.15, 4.20, 5.5, 6.3 Patch available CNA
- Linux VendorLinux Affected 6.3 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc2 Patch available CNA
Remediation
Update the Linux kernel to a fixed version for its branch: 4.15, 4.20, 5.5, 5.10.275, 5.15.226, 6.1.193, 6.3, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc2. The sources list no fixed version for kernels outside these branches.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 4.15, 4.20, 5.5, 6.3
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139800
- 2026-11-30 Alias added: GHSA-h843-55hp-2274
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/ca5484c01b8f243033f2f47cc66543e2709364ae
- https://git.kernel.org/stable/c/94698ee77d4306d06edb34a1f3a24428e9153489
- https://git.kernel.org/stable/c/d0ae83217f0f756bfbd185f3abbf0dd0f91c116a
- https://git.kernel.org/stable/c/93ae5935761c46c4545d47985e5b749131e213a9
- https://git.kernel.org/stable/c/f7cdeb1569ec7c722500454afaaf81b65e98c9ef
- https://git.kernel.org/stable/c/9196431a31b4cd121c71ecc2686ac319874cfbef
- https://git.kernel.org/stable/c/80461b4cf0dde46f592cf57451a8cb9cad4f9bd0
- https://git.kernel.org/stable/c/7b6f2e3c29fb4d76f1e4973280792eabbd526602
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139800 · CVE Program
- CVE-2026-139800 · NVD
- GHSA-h843-55hp-2274 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-139800 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences