Use-After-Free in Linux octeon_ep_vf IRQ Rollback
A flaw in the Linux kernel octeon_ep_vf driver affects the error rollback path in octep_vf_request_irqs(). The driver requests MSI-X queue interrupts with ioq_vector as the dev_id, but, when an IRQ request fails part-way through setup, the rollback path frees prior IRQs using a different dev_id. This mismatch can leave an IRQ action registered after the associated ioq_vector structure is freed during teardown, creating a use-after-free condition if an interrupt subsequently fires.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
An interrupt delivered after teardown can invoke an IRQ handler referencing freed ioq_vector memory. This can cause a kernel crash and denial of service. The use-after-free condition may also be security-relevant depending on exploitability in the affected environment.
If you can’t patch tonight, do this now.
No vendor-specific workaround is identified. Until patched, avoid loading or using the affected octeon_ep_vf driver where operationally feasible, and limit or isolate systems requiring the driver.
Patch, then assume compromise.
Apply a Linux kernel update containing the octeon_ep_vf fix. The corrected error path calls free_irq() with the same ioq_vector dev_id passed to request_irq(). Distribution-maintained kernel packages that include this fix should be upgraded.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.