seg6: Fix validation of nexthop addresses (Linux Linux)

CVE-2025-38310
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected d1df6fd8a1d22d37cffa0075ab8ad423ce656777 < 668923c474608dd9ebce0fbcc41bd8a27aa73dd6 ; affected d1df6fd8a1d22d37cffa0075ab8ad423ce656777 < cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bac ; affected d1df6fd8a1d22d37cffa0075ab8ad423ce656777 < d2507aeea45b3c5aa24d5daae0cf3db76895c0b7 ; affected d1df6fd8a1d22d37cffa0075ab8ad423ce656777 < d5d9fd13bc19a3f9f2a951c5b6e934d84205789e ; affected d1df6fd8a1d22d37cffa0075ab8ad423ce656777 < cd4cd09810211fa23609c5c1018352e9e1cd8e5a ; affected d1df6fd8a1d22d37cffa0075ab8ad423ce656777 < 7632fedb266d93ed0ed9f487133e6c6314a9b2d1
Linux · Linuxaffected 4.14 ; unaffected 0 < 4.14 ; unaffected 5.15.186 ≤ 5.15.* ; unaffected 6.1.142 ≤ 6.1.* ; unaffected 6.6.94 ≤ 6.6.* ; unaffected 6.12.34 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD