{"id":"CVE-2026-99453","summary":"xen-blkfront: unbind irq before tearing down ring and shadow requests","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nxen-blkfront: unbind irq before tearing down ring and shadow requests\n\nIn blkif_free_ring(), the driver tears down the ring's persistent grants,\nshadow request arrays, and shared ring structure (xenbus_teardown_ring),\nand only calls unbind_from_irqhandler() at the very end.\n\nWhile blkif_free_ring() is freeing persistent grants and clearing the\nshadow array, the event channel interrupt (blkif_interrupt) is still\nregistered and active.  If an interrupt arrives from the backend during\nthis teardown window, blkif_interrupt() reads rinfo-\u003ering.sring and,\nvia blkif_completion(), accesses rinfo-\u003eshadow[id].grants_used and\nrinfo-\u003eshadow[id].sg.  blkif_free_ring() tears these structures down\nwithout holding rinfo-\u003ering_lock, and the handler only checks\ninfo-\u003econnected at entry, so this is a real race resulting in a\nuse-after-free or NULL pointer dereference.\n\nFix this by moving unbind_from_irqhandler() to the beginning of\nblkif_free_ring().  Calling unbind_from_irqhandler() first frees the\nIRQ and synchronizes with any in-flight interrupt handlers on other CPUs\nbefore ring memory and shadow request structures are deallocated,\nmatching the teardown order in drivers/net/xen-netfront.c.","modified":"2026-11-20T21:02:24.863575975Z","published":"2026-11-19T14:41:51.739Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99453.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5f4b2debc87b6f86b56c6e1f5d97007a330d6aac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9cdf4fae8fde297ed9ce6bb0058d25449606ee66"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e64707d07fcda07c71d4f1405c1bedb0787a6889"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f3e27b7955727a4d7c0e9264a2a209fbba788bdc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99453.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99453"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"11659569f7202d0cb6553e81f9b8aa04dfeb94ce"},{"fixed":"9cdf4fae8fde297ed9ce6bb0058d25449606ee66"},{"fixed":"e64707d07fcda07c71d4f1405c1bedb0787a6889"},{"fixed":"5f4b2debc87b6f86b56c6e1f5d97007a330d6aac"},{"fixed":"f3e27b7955727a4d7c0e9264a2a209fbba788bdc"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99453.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.5.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99453.json"}}],"schema_version":"1.9.2"}