CVE-2026-99453
JSON

Not scored

xen-blkfront: unbind irq before tearing down ring and shadow requests

Severity
Not scored
Exploit likelihood
0.22% (higher than 7% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: xen-blkfront: unbind irq before tearing down ring and shadow requests In blkif_free_ring(), the driver tears down the ring's persistent grants, shadow request arrays, and shared ring structure (xenbus_teardown_ring), and only calls unbind_from_irqhandler() at the very end. While blkif_free_ring() is freeing persistent grants and clearing the shadow array, the event channel interrupt (blkif_interrupt) is still registered and active. If an interrupt arrives from the backend during this teardown window, blkif_interrupt() reads rinfo->ring.sring and, via blkif_completion(), accesses rinfo->shadow[id].grants_used and rinfo->shadow[id].sg. blkif_free_ring() tears these structures down without holding rinfo->ring_lock, and the handler only checks info->connected at entry, so this is a real race resulting in a use-after-free or NULL pointer dereference. Fix this by moving unbind_from_irqhandler() to the beginning of blkif_free_ring(). Calling unbind_from_irqhandler() first frees the IRQ and synchronizes with any in-flight interrupt handlers on other CPUs before ring memory and shadow request structures are deallocated, matching the teardown order in drivers/net/xen-netfront.c.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 11659569f7202d0cb6553e81f9b8aa04dfeb94ce before 81e5134e16d8418886df1904361691ad873409f2, from 11659569f7202d0cb6553e81f9b8aa04dfeb94ce before 96ce725ba00576a2334efe449e917eddde7a7a88, from 11659569f7202d0cb6553e81f9b8aa04dfeb94ce before 4c5664453104926d7bd1f78508e6564ddae70faa, from 11659569f7202d0cb6553e81f9b8aa04dfeb94ce before 2bbf1c1d03258cbc3ad7bf37ae272693d5c9d5c3, from 11659569f7202d0cb6553e81f9b8aa04dfeb94ce before 9cdf4fae8fde297ed9ce6bb0058d25449606ee66, from 11659569f7202d0cb6553e81f9b8aa04dfeb94ce before e64707d07fcda07c71d4f1405c1bedb0787a6889, from 11659569f7202d0cb6553e81f9b8aa04dfeb94ce before 5f4b2debc87b6f86b56c6e1f5d97007a330d6aac, from 11659569f7202d0cb6553e81f9b8aa04dfeb94ce before f3e27b7955727a4d7c0e9264a2a209fbba788bdc and 1 more
Not affected: before 4.5, 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.117 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-99453 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-99453 changed 2026-11-23Public domain