CVE-2026-97953

net: stmmac: fix TX descriptor availability check for TSO traffic

  • High 7.0

Description

In the Linux kernel, the following vulnerability has been resolved: net: stmmac: fix TX descriptor availability check for TSO traffic stmmac_tso_xmit() estimates the number of free TX descriptors required by a TSO skb as: (skb->len - proto_hdr_len) / TSO_MAX_BUFF_SIZE + 1 which assumes the payload is split into TSO_MAX_BUFF_SIZE chunks. This underestimates the descriptors actually consumed by stmmac_tso_allocator(), since each fragment is mapped individually and so it needs at least one descriptor regardless of its size. Moreover, one descriptor is used for the L2/L3/L4 headers and, when the MSS changes, one more is consumed for the MSS context descriptor. For a highly fragmented TSO skb the check can therefore pass even when the ring has too few free slots. stmmac_tso_allocator() then writes past the available descriptors, overwriting descriptors still owned by the DMA engine, corrupting the TX ring. Add stmmac_tso_get_num_desc() to compute the exact number of descriptors needed for the header, the linear payload and each fragment, plus the MSS context descriptor when required, and use it in the availability check.

Key facts

Published
25 Sep 2026
Last changed
21 Oct 2026
Assigned by
Linux
EPSS
0.405% likely to be exploited in the next 30 days, higher than 35.307% of CVEs (scores for 17 Nov 2026)

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 7.0CVSS 3.1, Highfrom the CNA (Linux)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • f748be531d7012c456b97f66091d86b3675c5fef up to but excluding 09c30547da2c45bb79f7d3adffc860af332c2d42 (affected)
  • f748be531d7012c456b97f66091d86b3675c5fef up to but excluding ffa6d2481bc1c87f822ecd626561484e4ee24cef (affected)
  • f748be531d7012c456b97f66091d86b3675c5fef up to but excluding c28175220f808c867d5618de8ecc6dbcc815c773 (affected)
  • f748be531d7012c456b97f66091d86b3675c5fef up to but excluding 65820fc743eae322f7f94f6a64d07861211d4b21 (affected)
  • f748be531d7012c456b97f66091d86b3675c5fef up to but excluding 5e38d732ec67a5b1f9a56e6c73add480c4b6030a (affected)
LinuxLinux
  • Default status: affected
  • 4.7 (affected)
  • 0 up to but excluding 4.7 (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.111 up to and including 6.12.* (unaffected)
  • 6.18.53 up to and including 6.18.* (unaffected)
  • 7.2.7 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 25 Sep 2026 Published

References