# CVE-2026-98288: net: stmmac: fix TSO header length truncation

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-10-06T08:45:48.856Z
- Modified: 2026-10-19T10:18:30.407Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9edfa7dab8112a012b349b7937f5444fdc21e8f9 before bcf6013c2b4d732c6e4bf4d0f6ae4a18d63d414b; from 9edfa7dab8112a012b349b7937f5444fdc21e8f9 before 15989abd74f16f44bf953d056b95f1d2fda9b0cd; 4.13 (not affected: before 4.13; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/bcf6013c2b4d732c6e4bf4d0f6ae4a18d63d414b>
- <https://git.kernel.org/stable/c/15989abd74f16f44bf953d056b95f1d2fda9b0cd>

## Sources

- CVE List: [CVE-2026-98288](https://www.cve.org/CVERecord?id=CVE-2026-98288), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98288](https://nvd.nist.gov/vuln/detail/CVE-2026-98288), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98288 · Whole record: https://cve.day/CVE-2026-98288.json · Rebuilt by cve.day 2026-11-25T22:59:42.318Z
