9p/xen: drain response work after unbinding IRQ
- CVE-2026-139800
- GHSA-h843-55hp-2274
- EUVD-2026-139506
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.
Text from the CVE.org record.
Recommendation
Linux
- If you run 6.1.xupdate to 6.1.193 or laterPatch update: breaking changes are unlikely
- If you run 5.15.xupdate to 5.15.226 or laterPatch update: breaking changes are unlikely
- If you run 5.10.xupdate to 5.10.275 or laterPatch update: breaking changes are unlikely
- If you run a version from 5.4.241 to before 5.5update to 5.5 or laterMinor version change: check the release notes
- If you run a version from 4.19.281 to before 4.20update to 4.20 or laterMinor version change: check the release notes
- If you run a version from 4.14.313 to before 4.15update to 4.15 or laterMinor version change: check the release notes
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.1.25 to before 6.1.193 6.1.193 from 5.15.108 to before 5.15.226 5.15.226 from 5.10.178 to before 5.10.275 5.10.275 from 5.4.241 to before 5.5 5.5 from 4.19.281 to before 4.20 4.20 from 4.14.313 to before 4.15 4.15 from 6.2.12 to before 6.3 none stated 6.3 none stated and 9 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.