seg6: Fix validation of nexthop addresses
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.186, 6.1.142, 6.12.34, 6.15.3, 6.6.94
- CVEs
- CVE-2025-38310
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 00:41 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-38310
Kernel
Fixed versions: 5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3
Complete source record
{
"id": "240a474ff2ffa85db812f2f5566eb2964a3c9c375fa207dfd8f3615267b6141d",
"url": "https://osv.dev/vulnerability/CVE-2025-38310",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "seg6: Fix validation of nexthop addresses",
"summary": "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.",
"evidence": "osv:CVE-2025-38310",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.186",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.142",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.94",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.34",
"evidence": "/affected/1/ranges"
},
{
"value": "6.15.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-38310",
"aliases": [
"CVE-2025-38310"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "d1df6fd8a1d22d37cffa0075ab8ad423ce656777"
},
{
"fixed": "668923c474608dd9ebce0fbcc41bd8a27aa73dd6"
},
{
"fixed": "cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bac"
},
{
"fixed": "d2507aeea45b3c5aa24d5daae0cf3db76895c0b7"
},
{
"fixed": "d5d9fd13bc19a3f9f2a951c5b6e934d84205789e"
},
{
"fixed": "cd4cd09810211fa23609c5c1018352e9e1cd8e5a"
},
{
"fixed": "7632fedb266d93ed0ed9f487133e6c6314a9b2d1"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38310.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.14.0"
},
{
"fixed": "5.15.186"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.142"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.94"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.34"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.15.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38310.json"
}
}
],
"modified": "2026-10-28T02:30:32.469130194Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/668923c474608dd9ebce0fbcc41bd8a27aa73dd6",
"https://git.kernel.org/stable/c/7632fedb266d93ed0ed9f487133e6c6314a9b2d1",
"https://git.kernel.org/stable/c/cd4cd09810211fa23609c5c1018352e9e1cd8e5a",
"https://git.kernel.org/stable/c/cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bac",
"https://git.kernel.org/stable/c/d2507aeea45b3c5aa24d5daae0cf3db76895c0b7",
"https://git.kernel.org/stable/c/d5d9fd13bc19a3f9f2a951c5b6e934d84205789e",
"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38310.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38310",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38310.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38310",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 499356,
"published_at": "2025-07-10T07:42:19.338+00:00"
}