CVE-2025-38310

seg6: Fix validation of nexthop addresses

State
Published
Severity
Not scored
Published
Jul 10, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d1df6fd8a1d22d37cffa0075ab8ad423ce656777 to before 668923c474608dd9ebce0fbcc41bd8a27aa73dd6Affected
  • d1df6fd8a1d22d37cffa0075ab8ad423ce656777 to before cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bacAffected
  • d1df6fd8a1d22d37cffa0075ab8ad423ce656777 to before d2507aeea45b3c5aa24d5daae0cf3db76895c0b7Affected
  • d1df6fd8a1d22d37cffa0075ab8ad423ce656777 to before d5d9fd13bc19a3f9f2a951c5b6e934d84205789eAffected
  • d1df6fd8a1d22d37cffa0075ab8ad423ce656777 to before cd4cd09810211fa23609c5c1018352e9e1cd8e5aAffected
  • d1df6fd8a1d22d37cffa0075ab8ad423ce656777 to before 7632fedb266d93ed0ed9f487133e6c6314a9b2d1Affected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 5.15.186 through 5.15.*Not affected
  • 6.1.142 through 6.1.*Not affected
  • 6.6.94 through 6.6.*Not affected
  • 6.12.34 through 6.12.*Not affected
  • 6.15.3 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.