{"id":"CVE-2026-98288","aliases":["CVE-2026-98288"],"related":[],"kind":"vulnerability","state":"published","title":"net: stmmac: fix TSO header length truncation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: fix TSO header length truncation\n\nstmmac_tso_xmit() stores the protocol header length returned by\nstmmac_tso_header_size() in a u8. stmmac_tso_valid_packet() admits\nheaders up to 1023 bytes, so a header longer than 255 bytes wraps modulo\n256 (486 becomes 230, 256 becomes 0).\n\nA TCP over IPv6 socket carrying a few hundred bytes of sticky\ndestination/hop-by-hop options makes skb_tcp_all_headers() exceed 255\nwhile staying below the 1023-byte limit, so such an skb reaches\nstmmac_tso_xmit().\n\nWiden proto_hdr_len to unsigned int, which is sufficient since the value\nis bounded by the hardware limit, and adjust the debug print specifier\naccordingly.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: fix TSO header length truncation\n\nstmmac_tso_xmit() stores the protocol header length returned by\nstmmac_tso_header_size() in a u8. stmmac_tso_valid_packet() admits\nheaders up to 1023 bytes, so a header longer than 255 bytes wraps modulo\n256 (486 becomes 230, 256 becomes 0).\n\nA TCP over IPv6 socket carrying a few hundred bytes of sticky\ndestination/hop-by-hop options makes skb_tcp_all_headers() exceed 255\nwhile staying below the 1023-byte limit, so such an skb reaches\nstmmac_tso_xmit().\n\nWiden proto_hdr_len to unsigned int, which is sufficient since the value\nis bounded by the hardware limit, and adjust the debug print specifier\naccordingly.","source":"cvelist"}],"published":"2026-10-06T08:45:48.856Z","modified":"2026-10-19T10:18:30.407Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9edfa7dab8112a012b349b7937f5444fdc21e8f9","fixed":"bcf6013c2b4d732c6e4bf4d0f6ae4a18d63d414b","status":"affected"},{"type":"git","introduced":"9edfa7dab8112a012b349b7937f5444fdc21e8f9","fixed":"15989abd74f16f44bf953d056b95f1d2fda9b0cd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.13","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/bcf6013c2b4d732c6e4bf4d0f6ae4a18d63d414b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/15989abd74f16f44bf953d056b95f1d2fda9b0cd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98288","url":"https://www.cve.org/CVERecord?id=CVE-2026-98288","licence":"CVE Terms of Use","modified":"2026-10-19T09:16:59.513Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98288","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98288","licence":"Public domain","modified":"2026-10-19T10:18:30.407Z"}],"updatedAt":"2026-11-25T22:59:42.318Z","epss":{"score":0.00155,"percentile":0.0491,"date":"2026-12-01T12:00:22.000Z"}}