CVE-2026-97953

Source
https://cve.org/CVERecord?id=CVE-2026-97953
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97953.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-97953
Downstream
Published
2026-09-25T10:23:00Z
Modified
2026-09-26T03:48:41Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H CVSS Calculator
Summary
net: stmmac: fix TX descriptor availability check for TSO traffic
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97953.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f748be531d7012c456b97f66091d86b3675c5fef
Fixed
ffa6d2481bc1c87f822ecd626561484e4ee24cef
Fixed
c28175220f808c867d5618de8ecc6dbcc815c773
Fixed
65820fc743eae322f7f94f6a64d07861211d4b21
Fixed
5e38d732ec67a5b1f9a56e6c73add480c4b6030a

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97953.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.7.0
Fixed
6.12.111
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.53
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97953.json"