net: ethernet: cortina: Make RX SKB per-port
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel cfd62907f3cdbc3b6da8f49ba907c0390018fe5e, Kernel 06937db21ee311ed07eba47954447245041a982d, Kernel 27856d533eca3804008695f61c1e4d5ff984196b and 12 more.
In the Linux kernel, the following vulnerability has been resolved: net: ethernet: cortina: Make RX SKB per-port The SKB used to assemble packets from fragments in gmac_rx() is static local, but the Gemini has two ethernet ports, meaning there can be races between the ports on a bad day if a device is using both. Make the RX SKB a per-port variable and carry it over between invocations in the port struct instead. Zero the pointer once we call napi_gro_frags(), on error (after calling napi_free_frags()) or if the port is stopped. Zero it in some place where not strictly necessary just to emphasize what is going on. This was found by Sashiko during normal patch review.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 <cfd62907f3cdbc3b6da8f49ba907c0390018fe5e, >=4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 <06937db21ee311ed07eba47954447245041a982d, >=4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 <27856d533eca3804008695f61c1e4d5ff984196b, >=4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 <3b249988d774dacf13b203817e971934a42243c4, >=4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 <67a35e7da7ef9d2f000aa758552a128324c604a0, >=4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 <6bba24e9ebe6f1c0b356cd471e36bdc7fa434897, >=4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 <72158ea185b27afae163949b0e86164cb6b64e55, >=4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 <b6b22824b30e48ce1df3a2e80990f4b8505deb50, =4.16 | cfd62907f3cdbc3b6da8f49ba907c0390018fe5e, 06937db21ee311ed07eba47954447245041a982d, 27856d533eca3804008695f61c1e4d5ff984196b, 3b249988d774dacf13b203817e971934a42243c4, 67a35e7da7ef9d2f000aa758552a128324c604a0, 6bba24e9ebe6f1c0b356cd471e36bdc7fa434897, 72158ea185b27afae163949b0e86164cb6b64e55, b6b22824b30e48ce1df3a2e80990f4b8505deb50 |
| linux-kernel: Kernel | >=5.11.0 <5.15.209, >=5.16.0 <6.1.175, >=6.13.0 <6.18.34, >=6.19.0 <7.0.11, >=6.2.0 <6.6.142, >=6.7.0 <6.12.92, >=4.16.0 <5.10.258 | 5.15.209, 6.1.175, 6.18.34, 7.0.11, 6.6.142, 6.12.92, 5.10.258 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket