CVE-2026-64056 PUBLISHED

net: ethernet: cortina: Make RX SKB per-port

Assigner: Linux
Reserved: 19.07.2026 Published: 19.07.2026 Updated: 20.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 to 27856d533eca3804008695f61c1e4d5ff984196b (excl.)
  • affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 to b6b22824b30e48ce1df3a2e80990f4b8505deb50 (excl.)
  • affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 to 6bba24e9ebe6f1c0b356cd471e36bdc7fa434897 (excl.)
  • affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 to 3b249988d774dacf13b203817e971934a42243c4 (excl.)
  • affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 to 72158ea185b27afae163949b0e86164cb6b64e55 (excl.)
  • affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 to cfd62907f3cdbc3b6da8f49ba907c0390018fe5e (excl.)
  • affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 to 67a35e7da7ef9d2f000aa758552a128324c604a0 (excl.)
  • affected from 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 to 06937db21ee311ed07eba47954447245041a982d (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.16 is affected
  • unaffected from 0 to 4.16 (excl.)
  • unaffected from 5.10.258 to 5.10.* (incl.)
  • unaffected from 5.15.209 to 5.15.* (incl.)
  • unaffected from 6.1.175 to 6.1.* (incl.)
  • unaffected from 6.6.142 to 6.6.* (incl.)
  • unaffected from 6.12.92 to 6.12.* (incl.)
  • unaffected from 6.18.34 to 6.18.* (incl.)
  • unaffected from 7.0.11 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References