Linux
net: octeon_ep_vf: fix free_irq dev_id mismatch in IRQ rollback
In the Linux kernel, the following vulnerability has been resolved: net: octeon_ep_vf: fix free_irq dev_id mismatch in IRQ rollback octep_vf_request_irqs() requests MSI-X queue IRQs with dev_id set to ioq_vector. If request_irq() fails part-way, the rollback loop calls free_irq() with dev_id set to 'oct', which does not match the original dev_id and may leave the irqaction registered. This can keep IRQ handlers alive while ioq_vector is later freed during unwind/teardown, leading to a use-after-free or crash when an interrupt fires. Fix the error path to free IRQs with the same ioq_vector dev_id used during request_irq().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1, < aa05a8371ae4a452df623f7202c72409d3c50e40
- >= 1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1, < aa4c066229b05fc3d3c5f42693d25b1828533b6e
- >= 1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1, < f93fc5d12d69012788f82151bee55fce937e1432
Fixed in aa05a8371ae4a452df623f7202c72409d3c50e40, aa4c066229b05fc3d3c5f42693d25b1828533b6e, f93fc5d12d69012788f82151bee55fce937e1432
- 6.9
Fixed in 0, 6.12.67, 6.18.7, 6.19
Mitigation
Upgrade Linux to aa05a8371ae4a452df623f7202c72409d3c50e40 or aa4c066229b05fc3d3c5f42693d25b1828533b6e or f93fc5d12d69012788f82151bee55fce937e1432 or later.
Upgrade Linux to 0 or 6.12.67 or 6.18.7 or 6.19 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.