net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence
Registering the interrupts for TX or RX DMA Channels prior to registering their respective NAPI callbacks can result in a NULL pointer dereference. This is seen in practice as a random occurrence since it depends on the randomness associated with the generation of traffic by Linux and the reception of traffic from the wire.
From the CVE record · Linux
The Linux kernel's am65-cpsw Ethernet driver can register TX or RX DMA interrupts before their NAPI callbacks. Traffic generated locally or received from the wire during that sequence can cause a NULL pointer dereference. The input does not specify authentication or user-interaction requirements.
Engineers running Linux kernels with the am65-cpsw Ethernet driver should check their versions; affected versions are not specified.