Skip to content
Heist/ feed
Unrated

net: stmmac: fix TSO header length truncation

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: net: stmmac: fix TSO header length truncation stmmac_tso_xmit() stores the protocol header length returned by stmmac_tso_header_size() in a u8. stmmac_tso_valid_packet() admits headers up to 1023 bytes, so a header longer than 255 bytes wraps modulo 256 (486 becomes 230, 256 becomes 0). A TCP over IPv6 socket carrying a few hundred bytes of sticky destination/hop-by-hop options makes skb_tcp_all_headers() exceed 255 while staying below the 1023-byte limit, so such an skb reaches stmmac_tso_xmit(). Widen proto_hdr_len to unsigned int, which is sufficient since the value is bounded by the hardware limit, and adjust the debug print specifier accordingly.

Announced Source revision 1
Original source ↗

CVE-2026-98288

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98288

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "9edfa7dab8112a012b349b7937f5444fdc21e8f9",
        "lessThan": "bcf6013c2b4d732c6e4bf4d0f6ae4a18d63d414b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "9edfa7dab8112a012b349b7937f5444fdc21e8f9",
        "lessThan": "15989abd74f16f44bf953d056b95f1d2fda9b0cd",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.13"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.13",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "7.2.8",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98288

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38366 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement