staging: octeon: add missing napi_disable in cvm_oct_rx_shutdown
- 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 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, and 1 more
- 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
Summary
In the Linux kernel, the following vulnerability has been resolved: staging: octeon: add missing napi_disable in cvm_oct_rx_shutdown cvm_oct_rx_shutdown calls free_irq and netif_napi_del without disabling the napi instance first. As the free_irq only waits for completion of hard interrupt handlers, the napi poll function could still be active. If cvm_oct_remove proceeds to free the plat structure (which holds the NAPI instances), the active poll function will access freed memory, resulting in a use-after-free crash.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 3368c784bcf77124aaf39372e627016c36bd4472 · fixed in 158389d7af04bbf0664d91c2ce31fcc9eeace1eb; From 3368c784bcf77124aaf39372e627016c36bd4472 · fixed in c124049c3a7006fd6caf629139a5722610bbffb4; From 3368c784bcf77124aaf39372e627016c36bd4472 · fixed in 98f9036b2254c928cb44da0c77dba38f66f7d8f1; From 3368c784bcf77124aaf39372e627016c36bd4472 · fixed in b38fbd68cc36b4f478a1e3cfc169b8616ae1337d; From 3368c784bcf77124aaf39372e627016c36bd4472 · fixed in 89f9f433271fad9351de6a3c713b45b2cfb23e4a; From 3368c784bcf77124aaf39372e627016c36bd4472 · fixed in b2243ffaac14cc3639b5b32a371aac37f96ee554; From 3368c784bcf77124aaf39372e627016c36bd4472 · fixed in c0a9a8586a63fda49e61a6b83360feac2a60d898
- Linux Linux
2.6.34
- KernelLinux
From 2.6.34 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 7
git.kernel.org
- stable/c/158389d7af04bbf0664d91c2ce31fcc9eeace1eb
- stable/c/c124049c3a7006fd6caf629139a5722610bbffb4
- stable/c/98f9036b2254c928cb44da0c77dba38f66f7d8f1
- stable/c/b38fbd68cc36b4f478a1e3cfc169b8616ae1337d
- stable/c/89f9f433271fad9351de6a3c713b45b2cfb23e4a
- stable/c/b2243ffaac14cc3639b5b32a371aac37f96ee554
- stable/c/c0a9a8586a63fda49e61a6b83360feac2a60d898