# CVE-2026-139800: 9p/xen: drain response work after unbinding IRQ

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-11-30T13:38:06.942Z
- Modified: 2026-11-30T14:20:14.377Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9266e939d76279d8710196d86215ba2be6345041 before ca5484c01b8f243033f2f47cc66543e2709364ae; from e35ae49bc198412c9294115677e5acdef95b1fb5 before 94698ee77d4306d06edb34a1f3a24428e9153489; from c4002b9d5e837f152a40d1333c56ccb84975147b before d0ae83217f0f756bfbd185f3abbf0dd0f91c116a; from ea4f1009408efb4989a0f139b70fb338e7f687d0 before 93ae5935761c46c4545d47985e5b749131e213a9; from ea4f1009408efb4989a0f139b70fb338e7f687d0 before f7cdeb1569ec7c722500454afaaf81b65e98c9ef; from ea4f1009408efb4989a0f139b70fb338e7f687d0 before 9196431a31b4cd121c71ecc2686ac319874cfbef; from ea4f1009408efb4989a0f139b70fb338e7f687d0 before 80461b4cf0dde46f592cf57451a8cb9cad4f9bd0; from ea4f1009408efb4989a0f139b70fb338e7f687d0 before 7b6f2e3c29fb4d76f1e4973280792eabbd526602; b5664e929e2e19f644ea133ae8d87fbd5654ec5a; c078fcd3f00ea5eadad07da169956d84f65af49b; fcd084e199b9a38490bfedd97885bbaba14475e5; e7dcd834af53c79418ca3cd1c42749a314b9f7dc; and 8 more (not affected: before 6.3; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-139800](https://www.cve.org/CVERecord?id=CVE-2026-139800), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139800](https://nvd.nist.gov/vuln/detail/CVE-2026-139800), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139800 · Whole record: https://cve.day/CVE-2026-139800.json · Rebuilt by cve.day 2026-11-30T14:33:43.073Z
