{"id":"CVE-2026-97953","aliases":["CVE-2026-97953"],"related":[],"kind":"vulnerability","state":"published","title":"net: stmmac: fix TX descriptor availability check for TSO traffic","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-25T10:23:00.758Z","modified":"2026-10-21T13:21:17.420Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f748be531d7012c456b97f66091d86b3675c5fef","fixed":"09c30547da2c45bb79f7d3adffc860af332c2d42","status":"affected"},{"type":"git","introduced":"f748be531d7012c456b97f66091d86b3675c5fef","fixed":"ffa6d2481bc1c87f822ecd626561484e4ee24cef","status":"affected"},{"type":"git","introduced":"f748be531d7012c456b97f66091d86b3675c5fef","fixed":"c28175220f808c867d5618de8ecc6dbcc815c773","status":"affected"},{"type":"git","introduced":"f748be531d7012c456b97f66091d86b3675c5fef","fixed":"65820fc743eae322f7f94f6a64d07861211d4b21","status":"affected"},{"type":"git","introduced":"f748be531d7012c456b97f66091d86b3675c5fef","fixed":"5e38d732ec67a5b1f9a56e6c73add480c4b6030a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.7","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","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/09c30547da2c45bb79f7d3adffc860af332c2d42","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ffa6d2481bc1c87f822ecd626561484e4ee24cef","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c28175220f808c867d5618de8ecc6dbcc815c773","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65820fc743eae322f7f94f6a64d07861211d4b21","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e38d732ec67a5b1f9a56e6c73add480c4b6030a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97953","url":"https://www.cve.org/CVERecord?id=CVE-2026-97953","licence":"CVE Terms of Use","modified":"2026-10-21T12:53:49.828Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97953","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97953","licence":"Public domain","modified":"2026-10-21T13:21:17.420Z"}],"updatedAt":"2026-11-25T22:59:41.001Z","epss":{"score":0.00405,"percentile":0.36848,"date":"2026-12-01T12:00:22.000Z"}}