net: ethernet: cortina: Carry over frag counter (Linux Linux)

CVE-2026-64055
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.51 % · percentile 44 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: net: ethernet: cortina: Carry over frag counter The gmac_rx() NAPI poll function assembles packets in an SKB from a ring buffer. If the ring buffer gets completely emptied during a poll cycle, we exit gmac_rx(), but the packet is not yet completely assembled in the SKB, yet the fragment counter frag_nr is reset to zero on the next invocation. Solve this by making the RX fragment counter a part of the port struct, and carry it over between invocations. Reset the fragment counter only right after calling napi_gro_frags(), on error (after calling napi_free_frags()) or if stopping the port. Reset it in some place where not strictly necessary just to emphasize what is going on. This was found by Sashiko during normal patch review.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 < df31e3b64455293df1ea89c7da7d5c9bfbcdd253 ; affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 < 7af1fabdee744b7995fe01b30b77dfc397657cb5 ; affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 < 75105fcf73f1ce7d9f769aaefec6e6d6645d5ac0 ; affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 < 78cf08b3be47c28f07008a76c932bad7cdffa9d8 ; affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 < 7123cf481e21b54eb6adc4cb0d8dc2876aeaee41 ; affected 4d5ae32f5e1e13f7f36d6439ec3257993b9f5b88 < c373b34877afea61c89e0dd2e38948c624249b9b
Linux · Linuxaffected 4.16 ; unaffected 0 < 4.16 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.142 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD