9p/xen: drain response work after unbinding IRQ

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux9266e939d76279d8710196d86215ba2be6345041 to before ca5484c01b8f243033f2f47cc66543e2709364ae Affectede35ae49bc198412c9294115677e5acdef95b1fb5 to before 94698ee77d4306d06edb34a1f3a24428e9153489 Affectedc4002b9d5e837f152a40d1333c56ccb84975147b to before d0ae83217f0f756bfbd185f3abbf0dd0f91c116a Affectedea4f1009408efb4989a0f139b70fb338e7f687d0 to before 93ae5935761c46c4545d47985e5b749131e213a9 Affectedea4f1009408efb4989a0f139b70fb338e7f687d0 to before f7cdeb1569ec7c722500454afaaf81b65e98c9ef Affectedea4f1009408efb4989a0f139b70fb338e7f687d0 to before 9196431a31b4cd121c71ecc2686ac319874cfbef Affectedea4f1009408efb4989a0f139b70fb338e7f687d0 to before 80461b4cf0dde46f592cf57451a8cb9cad4f9bd0 Affectedea4f1009408efb4989a0f139b70fb338e7f687d0 to before 7b6f2e3c29fb4d76f1e4973280792eabbd526602 Affectedb5664e929e2e19f644ea133ae8d87fbd5654ec5a Affectedc078fcd3f00ea5eadad07da169956d84f65af49b Affectedfcd084e199b9a38490bfedd97885bbaba14475e5 Affectede7dcd834af53c79418ca3cd1c42749a314b9f7dc Affected5.10.178 to before 5.10.275 Affected5.15.108 to before 5.15.226 Affected6.1.25 to before 6.1.193 Affected4.14.313 to before 4.15 Affected4.19.281 to before 4.20 Affected5.4.241 to before 5.5 Affected6.2.12 to before 6.3 Affected
Linux Linux6.3 Affectedbefore 6.3 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc2 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.