Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 3368c784bcf77124aaf39372e627016c36bd4472 before 158389d7af04bbf0664d91c2ce31fcc9eeace1eb; affected 3368c784bcf77124aaf39372e627016c36bd4472 before c124049c3a7006fd6caf629139a5722610bbffb4; affected 3368c784bcf77124aaf39372e627016c36bd4472 before 98f9036b2254c928cb44da0c77dba38f66f7d8f1; affected 3368c784bcf77124aaf39372e627016c36bd4472 before b38fbd68cc36b4f478a1e3cfc169b8616ae1337d; affected 3368c784bcf77124aaf39372e627016c36bd4472 before 89f9f433271fad9351de6a3c713b45b2cfb23e4a; affected 3368c784bcf77124aaf39372e627016c36bd4472 before b2243ffaac14cc3639b5b32a371aac37f96ee554; affected 3368c784bcf77124aaf39372e627016c36bd4472 before c0a9a8586a63fda49e61a6b83360feac2a60d898 |
| Linux / Linux | affected 2.6.34; unaffected 0 before 2.6.34; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/158389d7af04bbf0664d91c2ce31fcc9eeace1eb
- https://git.kernel.org/stable/c/c124049c3a7006fd6caf629139a5722610bbffb4
- https://git.kernel.org/stable/c/98f9036b2254c928cb44da0c77dba38f66f7d8f1
- https://git.kernel.org/stable/c/b38fbd68cc36b4f478a1e3cfc169b8616ae1337d
- https://git.kernel.org/stable/c/89f9f433271fad9351de6a3c713b45b2cfb23e4a
- https://git.kernel.org/stable/c/b2243ffaac14cc3639b5b32a371aac37f96ee554
- https://git.kernel.org/stable/c/c0a9a8586a63fda49e61a6b83360feac2a60d898