Read the docs

Race condition in Linux kernel 9p Xen driver teardown

Priority LOW 38Published · Updated

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

Fix Fixed Linux (Linux): 5.10.275, 5.15.226, 6.1.193 +9

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.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.35.10.275, 5.15.226, 6.1.193, 4.15, 4.20, 5.5, 6.3Patch availableCNA
LinuxLinux6.3 and later5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc2Patch availableCNA
  • 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

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

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

  1. 2026-11-30 Threatist record created from CVE-2026-139800
  2. 2026-11-30 Alias added: GHSA-h843-55hp-2274
  3. 2026-12-01 Affected versions changed · Red Hat
  4. 2026-12-01 CVSS score added · Red Hat

References

  • 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
See all 23530 →

Sources