net: octeon_ep_vf: fix free_irq dev_id mismatch in IRQ rollback
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.67, 6.18.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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().
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 · fixed in aa05a8371ae4a452df623f7202c72409d3c50e40; From 1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 · fixed in aa4c066229b05fc3d3c5f42693d25b1828533b6e; From 1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1 · fixed in f93fc5d12d69012788f82151bee55fce937e1432
- Linux Linux
6.9
- KernelLinux
From 6.9.0 · fixed in 6.12.67; From 6.13.0 · fixed in 6.18.7