Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before 27856d533eca3804008695f61c1e4d5ff984196b; affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before b6b22824b30e48ce1df3a2e80990f4b8505deb50; affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before 6bba24e9ebe6f1c0b356cd471e36bdc7fa434897; affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before 3b249988d774dacf13b203817e971934a42243c4; affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before 72158ea185b27afae163949b0e86164cb6b64e55; affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before cfd62907f3cdbc3b6da8f49ba907c0390018fe5e; affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before 67a35e7da7ef9d2f000aa758552a128324c604a0; affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 before 06937db21ee311ed07eba47954447245041a982d |
| Linux / Linux | affected 4.16; unaffected 0 before 4.16; unaffected 5.10.258 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.142 through 6.6.*; unaffected 6.12.92 through 6.12.*; unaffected 6.18.34 through 6.18.*; unaffected 7.0.11 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/27856d533eca3804008695f61c1e4d5ff984196b
- https://git.kernel.org/stable/c/b6b22824b30e48ce1df3a2e80990f4b8505deb50
- https://git.kernel.org/stable/c/6bba24e9ebe6f1c0b356cd471e36bdc7fa434897
- https://git.kernel.org/stable/c/3b249988d774dacf13b203817e971934a42243c4
- https://git.kernel.org/stable/c/72158ea185b27afae163949b0e86164cb6b64e55
- https://git.kernel.org/stable/c/cfd62907f3cdbc3b6da8f49ba907c0390018fe5e
- https://git.kernel.org/stable/c/67a35e7da7ef9d2f000aa758552a128324c604a0
- https://git.kernel.org/stable/c/06937db21ee311ed07eba47954447245041a982d