Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
3368c784bcf77124aaf39372e627016c36bd4472 to < 158389d7af04bbf0664d91c2ce31fcc9eeace1ebaffected3368c784bcf77124aaf39372e627016c36bd4472 to < c124049c3a7006fd6caf629139a5722610bbffb4affected3368c784bcf77124aaf39372e627016c36bd4472 to < 98f9036b2254c928cb44da0c77dba38f66f7d8f1affected3368c784bcf77124aaf39372e627016c36bd4472 to < b38fbd68cc36b4f478a1e3cfc169b8616ae1337daffected3368c784bcf77124aaf39372e627016c36bd4472 to < 89f9f433271fad9351de6a3c713b45b2cfb23e4aaffected3368c784bcf77124aaf39372e627016c36bd4472 to < b2243ffaac14cc3639b5b32a371aac37f96ee554affected3368c784bcf77124aaf39372e627016c36bd4472 to < c0a9a8586a63fda49e61a6b83360feac2a60d898affected
Linux Linux
Default version status: affected
2.6.34affected0 to < 2.6.34unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
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 ↗