CVE-2025-38310 seg6: Fix validation of nexthop addresses
A local attacker can read uninitialized kernel memory by providing a shorter nexthop address length than specified in the seg6 module.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38310?
CVE-2025-38310 is a medium-severity vulnerability in Debian Debian Linux, published on 10 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
seg6: Fix validation of nexthop addresses
The kernel currently validates that the length of the provided nexthop address does not exceed the specified length. This can lead to the kernel reading uninitialized memory if user space provided a shorter length than the specified one.
Fix by validating that the provided length exactly matches the specified one.
Which versions are affected by CVE-2025-38310?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-38310?
Apply the vendor's patch.
Is CVE-2025-38310 being exploited?
There is no known exploitation of CVE-2025-38310 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-64958, BELL-CVE-2025-38310, DEBIAN-CVE-2025-38310, GHSA-jj8r-rxc4-96qc, ROOT-OS-DEBIAN-11-CVE-2025-38310, ROOT-OS-DEBIAN-12-CVE-2025-38310 and 3 more.