CVE-2025-38310

published 10 Jul 2025 · updated 7 Nov 2026

seg6: Fix validation of nexthop addresses

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 668923c474608dd9ebce0fbcc41bd8a27aa73dd6, Kernel 5.15.186, Kernel 6.1.142 and 8 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=d1df6fd8a1d22d37cffa0075ab8ad423ce656777 <668923c474608dd9ebce0fbcc41bd8a27aa73dd6, >=4.14 <5.15.186, >=5.16 <6.1.142, >=6.13 <6.15.3, >=6.2 <6.6.94, >=6.7 <6.12.34, >=d1df6fd8a1d22d37cffa0075ab8ad423ce656777 <d5d9fd13bc19a3f9f2a951c5b6e934d84205789e, >=d1df6fd8a1d22d37cffa0075ab8ad423ce656777 <d2507aeea45b3c5aa24d5daae0cf3db76895c0b7, >=d1df6fd8a1d22d37cffa0075ab8ad423ce656777 <cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bac, >=d1df6fd8a1d22d37cffa0075ab8ad423ce656777 <cd4cd09810211fa23609c5c1018352e9e1cd8e5a, >=d1df6fd8a1d22d37cffa0075ab8ad423ce656777 <7632fedb266d93ed0ed9f487133e6c6314a9b2d1, =4.14668923c474608dd9ebce0fbcc41bd8a27aa73dd6, 5.15.186, 6.1.142, 6.15.3, 6.6.94, 6.12.34, d5d9fd13bc19a3f9f2a951c5b6e934d84205789e, d2507aeea45b3c5aa24d5daae0cf3db76895c0b7, cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bac, cd4cd09810211fa23609c5c1018352e9e1cd8e5a, 7632fedb266d93ed0ed9f487133e6c6314a9b2d1
debiandebian_linux=11.0
linux-kernel: Kernel>=6.7.0 <6.12.34, >=6.2.0 <6.6.94, >=6.13.0 <6.15.3, >=5.16.0 <6.1.142, >=4.14.0 <5.15.1866.12.34, 6.6.94, 6.15.3, 6.1.142, 5.15.186

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38310 severity on Zeptric[![CVE-2025-38310](https://zeptric.io/badge/cve/CVE-2025-38310.svg)](https://zeptric.io/cve/CVE-2025-38310)