Bug 2379191 (CVE-2025-38310)

Summary: CVE-2025-38310 kernel: Linux kernel (seg6): Information disclosure or denial of service via improper nexthop address validation
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's Segment Routing over IPv6 (seg6) component. This vulnerability allows a local user to trigger the reading of uninitialized memory due to incorrect validation of nexthop address lengths. Successful exploitation could lead to information disclosure or a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-07-10 08:02:37 UTC
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.

Comment 1 Avinash Hanwate 2025-07-11 10:18:13 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025071014-CVE-2025-38310-6184@gregkh/T