staging: octeon: add missing napi_disable in cvm_oct_rx_shutdown
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3368c784bcf77124aaf39372e627016c36bd4472 · < b2243ffaac14cc3639b5b32a371aac37f96ee554| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's staging octeon driver can leave a NAPI poll function active during receive shutdown. If device removal then frees the structure used by that function, it can access freed memory and crash; the input does not specify an attacker, required access, or user interaction.
Teams running Linux kernels with the staging octeon driver should check their exposure; affected versions are not specified.