Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139800

9p/xen: drain response work after unbinding IRQ

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 9266e939d76279d8710196d86215ba2be6345041 to < ca5484c01b8f243033f2f47cc66543e2709364aeaffected
  • e35ae49bc198412c9294115677e5acdef95b1fb5 to < 94698ee77d4306d06edb34a1f3a24428e9153489affected
  • c4002b9d5e837f152a40d1333c56ccb84975147b to < d0ae83217f0f756bfbd185f3abbf0dd0f91c116aaffected
  • ea4f1009408efb4989a0f139b70fb338e7f687d0 to < 93ae5935761c46c4545d47985e5b749131e213a9affected
  • ea4f1009408efb4989a0f139b70fb338e7f687d0 to < f7cdeb1569ec7c722500454afaaf81b65e98c9efaffected
  • ea4f1009408efb4989a0f139b70fb338e7f687d0 to < 9196431a31b4cd121c71ecc2686ac319874cfbefaffected
  • ea4f1009408efb4989a0f139b70fb338e7f687d0 to < 80461b4cf0dde46f592cf57451a8cb9cad4f9bd0affected
  • ea4f1009408efb4989a0f139b70fb338e7f687d0 to < 7b6f2e3c29fb4d76f1e4973280792eabbd526602affected
  • b5664e929e2e19f644ea133ae8d87fbd5654ec5aaffected
  • c078fcd3f00ea5eadad07da169956d84f65af49baffected
  • fcd084e199b9a38490bfedd97885bbaba14475e5affected
  • e7dcd834af53c79418ca3cd1c42749a314b9f7dcaffected
  • 5.10.178 to < 5.10.275affected
  • 5.15.108 to < 5.15.226affected
  • 6.1.25 to < 6.1.193affected
  • 4.14.313 to < 4.15affected
  • 4.19.281 to < 4.20affected
  • 5.4.241 to < 5.5affected
  • 6.2.12 to < 6.3affected

Linux Linux

Default version status: affected

  • 6.3affected
  • 0 to < 6.3unaffected
  • 5.10.275 to ≤ 5.10.*unaffected
  • 5.15.226 to ≤ 5.15.*unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc2 to ≤ *unaffected

References