net: ethernet: cortina: Count dropped frames as NAPI work
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 · < cceb6cd7f0e5ed2944a9ca22443d7b9da82f60ab| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: cortina: Count dropped frames as NAPI work
The RX loop only consumes budget when it successfully delivers a frame. Error paths keep consuming descriptors without reducing the budget, so a stream of bad frames can process the entire receive ring in one poll.
Move the budget accounting to a common end-of-frame path. This counts each completed frame as NAPI work whether it was delivered or dropped, matching the behavior of the vendor driver.
From the CVE record · Linux
The Linux kernel's Cortina Ethernet receive loop does not count dropped frames against its NAPI poll budget. A stream of bad received frames can therefore cause one poll to process the entire receive ring. The input does not specify authentication or user-interaction requirements.
Engineers running Linux kernels with the Cortina Ethernet driver should check their systems; affected versions are not specified.