{"schema":"threatline.record/2","record":{"id":"CVE-2026-97953","aliases":[],"summary":"net: stmmac: fix TX descriptor availability check for TSO traffic","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: fix TX descriptor availability check for TSO traffic\n\nstmmac_tso_xmit() estimates the number of free TX descriptors required by\na TSO skb as:\n\n\t(skb->len - proto_hdr_len) / TSO_MAX_BUFF_SIZE + 1\n\nwhich assumes the payload is split into TSO_MAX_BUFF_SIZE chunks. This\nunderestimates the descriptors actually consumed by stmmac_tso_allocator(),\nsince each fragment is mapped individually and so it needs at least one\ndescriptor regardless of its size. Moreover, one descriptor is used for\nthe L2/L3/L4 headers and, when the MSS changes, one more is consumed for\nthe MSS context descriptor.\nFor a highly fragmented TSO skb the check can therefore pass even when the\nring has too few free slots. stmmac_tso_allocator() then writes past the\navailable descriptors, overwriting descriptors still owned by the DMA\nengine, corrupting the TX ring.\nAdd stmmac_tso_get_num_desc() to compute the exact number of descriptors\nneeded for the header, the linear payload and each fragment, plus the MSS\ncontext descriptor when required, and use it in the availability check.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97953","source_modified_at":"2026-10-21T12:53:49.828Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"f748be531d7012c456b97f66091d86b3675c5fef","lessThan":"09c30547da2c45bb79f7d3adffc860af332c2d42","status":"affected","versionType":"git"},{"version":"f748be531d7012c456b97f66091d86b3675c5fef","lessThan":"ffa6d2481bc1c87f822ecd626561484e4ee24cef","status":"affected","versionType":"git"},{"version":"f748be531d7012c456b97f66091d86b3675c5fef","lessThan":"c28175220f808c867d5618de8ecc6dbcc815c773","status":"affected","versionType":"git"},{"version":"f748be531d7012c456b97f66091d86b3675c5fef","lessThan":"65820fc743eae322f7f94f6a64d07861211d4b21","status":"affected","versionType":"git"},{"version":"f748be531d7012c456b97f66091d86b3675c5fef","lessThan":"5e38d732ec67a5b1f9a56e6c73add480c4b6030a","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97953","source_modified_at":"2026-10-21T12:53:49.828Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"4.7","status":"affected"},{"version":"0","lessThan":"4.7","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.111","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.53","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.7","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97953","source_modified_at":"2026-10-21T12:53:49.828Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"09c30547da2c45bb79f7d3adffc860af332c2d42","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97953","source_modified_at":"2026-10-21T12:53:49.828Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"65820fc743eae322f7f94f6a64d07861211d4b21","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97953","source_modified_at":"2026-10-21T12:53:49.828Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"5e38d732ec67a5b1f9a56e6c73add480c4b6030a","basis":"first unaffected version stated in the CVE record"}],"cvss":7,"severity":"High","kev":{"listed":false},"epss":{"probability":0.0041,"percentile":0.34161,"score_date":"2026-10-23"},"published_at":"2026-09-25T10:23:00.758Z","modified_at":"2026-10-21T12:53:49.828Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-97953","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-21T12:53:49.828Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-97953","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/09c30547da2c45bb79f7d3adffc860af332c2d42"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/ffa6d2481bc1c87f822ecd626561484e4ee24cef"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/c28175220f808c867d5618de8ecc6dbcc815c773"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/65820fc743eae322f7f94f6a64d07861211d4b21"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/5e38d732ec67a5b1f9a56e6c73add480c4b6030a"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-21T12:53:49.828Z","content_hash":"c60657f974fb7b7a336a4a42bb886a613bf29056eaca6b9a39a513f5455e9615"}}
