CVE-2025-38310
seg6: Fix validation of nexthop addresses
Mitigation
- Upgrade Linux to 7632fedb266d93ed0ed9f487133e6c6314a9b2d1 or later.
Who should check
- Anyone running Linux >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < 668923c474608dd9ebce0fbcc41bd8a27aa73dd6; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bac; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < d2507aeea45b3c5aa24d5daae0cf3db76895c0b7; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < d5d9fd13bc19a3f9f2a951c5b6e934d84205789e; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < cd4cd09810211fa23609c5c1018352e9e1cd8e5a; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < 7632fedb266d93ed0ed9f487133e6c6314a9b2d1
- Anyone running Linux 4.14
Vulnerability facts
- Affected
- Linux >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < 668923c474608dd9ebce0fbcc41bd8a27aa73dd6; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bac; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < d2507aeea45b3c5aa24d5daae0cf3db76895c0b7; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < d5d9fd13bc19a3f9f2a951c5b6e934d84205789e; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < cd4cd09810211fa23609c5c1018352e9e1cd8e5a; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < 7632fedb266d93ed0ed9f487133e6c6314a9b2d1; Linux 4.14
- Fixed in
- Linux 668923c474608dd9ebce0fbcc41bd8a27aa73dd6, Linux 7632fedb266d93ed0ed9f487133e6c6314a9b2d1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < 668923c474608dd9ebce0fbcc41bd8a27aa73dd6; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bac; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < d2507aeea45b3c5aa24d5daae0cf3db76895c0b7; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < d5d9fd13bc19a3f9f2a951c5b6e934d84205789e; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < cd4cd09810211fa23609c5c1018352e9e1cd8e5a; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < 7632fedb266d93ed0ed9f487133e6c6314a9b2d1 | — | cvelist |
| Linux | 4.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38310. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38310.md Affected: Linux >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < 668923c474608dd9ebce0fbcc41bd8a27aa73dd6; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bac; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < d2507aeea45b3c5aa24d5daae0cf3db76895c0b7; >= d1df6fd8a1d22d37cffa007… Fixed in: Linux 668923c474608dd9ebce0fbcc41bd8a27aa73dd6, Linux 7632fedb266d93ed0ed9f487133e6c6314a9b2d1 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/668923c474608dd9ebce0fbcc41bd8a27aa73dd6
- https://git.kernel.org/stable/c/cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bac
- https://git.kernel.org/stable/c/d2507aeea45b3c5aa24d5daae0cf3db76895c0b7
- https://git.kernel.org/stable/c/d5d9fd13bc19a3f9f2a951c5b6e934d84205789e
- https://git.kernel.org/stable/c/cd4cd09810211fa23609c5c1018352e9e1cd8e5a
- https://git.kernel.org/stable/c/7632fedb266d93ed0ed9f487133e6c6314a9b2d1
FAQ
Is CVE-2025-38310 being exploited?
There is no confirmed exploitation: CVE-2025-38310 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38310?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38310?
Linux >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < 668923c474608dd9ebce0fbcc41bd8a27aa73dd6; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bac; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < d2507aeea45b3c5aa24d5daae0cf3db76895c0b7; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < d5d9fd13bc19a3f9f2a951c5b6e934d84205789e; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < cd4cd09810211fa23609c5c1018352e9e1cd8e5a; >= d1df6fd8a1d22d37cffa0075ab8ad423ce656777, < 7632fedb266d93ed0ed9f487133e6c6314a9b2d1; Linux 4.14.
Is there a fix for CVE-2025-38310?
Yes. Fixed in Linux 668923c474608dd9ebce0fbcc41bd8a27aa73dd6, Linux 7632fedb266d93ed0ed9f487133e6c6314a9b2d1. Upgrade Linux to 7632fedb266d93ed0ed9f487133e6c6314a9b2d1 or later.
How do I check if I'm affected by CVE-2025-38310?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.