# CVE-2026-97953: net: stmmac: fix TX descriptor availability check for TSO traffic

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.43% (percentile 29, 2026-11-26)
- **Published:** 2026-09-25T10:23:00.758Z
- **Modified:** 2026-10-21T13:21:17.420Z

## Who should check

- Anyone running Linux \>= f748be531d7012c456b97f66091d86b3675c5fef, \< 09c30547da2c45bb79f7d3adffc860af332c2d42; \>= f748be531d7012c456b97f66091d86b3675c5fef, \< ffa6d2481bc1c87f822ecd626561484e4ee24cef; \>= f748be531d7012c456b97f66091d86b3675c5fef, \< c28175220f808c867d5618de8ecc6dbcc815c773; \>= f748be531d7012c456b97f66091d86b3675c5fef, \< 65820fc743eae322f7f94f6a64d07861211d4b21; \>= f748be531d7012c456b97f66091d86b3675c5fef, \< 5e38d732ec67a5b1f9a56e6c73add480c4b6030a
- Anyone running Linux 4.7

## 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.

## Affected and fixed versions

- Linux: \>= f748be531d7012c456b97f66091d86b3675c5fef, \< 09c30547da2c45bb79f7d3adffc860af332c2d42; \>= f748be531d7012c456b97f66091d86b3675c5fef, \< ffa6d2481bc1c87f822ecd626561484e4ee24cef; \>= f748be531d7012c456b97f66091d86b3675c5fef, \< c28175220f808c867d5618de8ecc6dbcc815c773; \>= f748be531d7012c456b97f66091d86b3675c5fef, \< 65820fc743eae322f7f94f6a64d07861211d4b21; \>= f748be531d7012c456b97f66091d86b3675c5fef, \< 5e38d732ec67a5b1f9a56e6c73add480c4b6030a (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

- Upgrade Linux to 5e38d732ec67a5b1f9a56e6c73add480c4b6030a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97953. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97953.md
Affected: Linux >= f748be531d7012c456b97f66091d86b3675c5fef, < 09c30547da2c45bb79f7d3adffc860af332c2d42; >= f748be531d7012c456b97f66091d86b3675c5fef, < ffa6d2481bc1c87f822ecd626561484e4ee24cef; >= f748be531d7012c456b97f66091d86b3675c5fef, < c28175220f808c867d5618de8ecc6dbcc815c773; >= f748be531d7012c456b97f6…
Fixed in: Linux 09c30547da2c45bb79f7d3adffc860af332c2d42, Linux 65820fc743eae322f7f94f6a64d07861211d4b21, Linux 5e38d732ec67a5b1f9a56e6c73add480c4b6030a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97953 being exploited?

There is no confirmed exploitation: CVE-2026-97953 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97953?

High: CVSS 7.0 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-97953?

Linux \>= f748be531d7012c456b97f66091d86b3675c5fef, \< 09c30547da2c45bb79f7d3adffc860af332c2d42; \>= f748be531d7012c456b97f66091d86b3675c5fef, \< ffa6d2481bc1c87f822ecd626561484e4ee24cef; \>= f748be531d7012c456b97f66091d86b3675c5fef, \< c28175220f808c867d5618de8ecc6dbcc815c773; \>= f748be531d7012c456b97f66091d86b3675c5fef, \< 65820fc743eae322f7f94f6a64d07861211d4b21; \>= f748be531d7012c456b97f66091d86b3675c5fef, \< 5e38d732ec67a5b1f9a56e6c73add480c4b6030a; Linux 4.7.

### Is there a fix for CVE-2026-97953?

Yes. Fixed in Linux 09c30547da2c45bb79f7d3adffc860af332c2d42, Linux 65820fc743eae322f7f94f6a64d07861211d4b21, Linux 5e38d732ec67a5b1f9a56e6c73add480c4b6030a. Upgrade Linux to 5e38d732ec67a5b1f9a56e6c73add480c4b6030a or later.

### How do I check if I'm affected by CVE-2026-97953?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/09c30547da2c45bb79f7d3adffc860af332c2d42>
- other: <https://git.kernel.org/stable/c/ffa6d2481bc1c87f822ecd626561484e4ee24cef>
- other: <https://git.kernel.org/stable/c/c28175220f808c867d5618de8ecc6dbcc815c773>
- other: <https://git.kernel.org/stable/c/65820fc743eae322f7f94f6a64d07861211d4b21>
- other: <https://git.kernel.org/stable/c/5e38d732ec67a5b1f9a56e6c73add480c4b6030a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97953>

HTML: <https://flawdb.com/CVE-2026-97953> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97953>
