CVE-2025-38310
kernel: Linux kernel (seg6): Information disclosure or denial of service via improper nexthop address validation
Overview
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 93 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | kernel | 0:6.6.96.1-1.azl3 |
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +13 | 5.15.0-312.187.5.el8uek |
| 9 | bpftool +3 | 5.15.0-312.187.5.el9uek |
| 9 | kernel-uek +34 | 6.12.0-103.40.4.1.el9uek |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | bpftool +10 | 6.1.143-1.ph5 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | bpftool +106 | affected |
SUSE Linux Enterprise 2 releases · 9 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.6 | kernel-livepatch-6-4-0-150600-10-49-rt | 1-150600.1.5.1 | SUSE-SU-2025:03023-1 |
| 15.6 | kernel-livepatch-6-4-0-150600-23-65-default | 1-150600.13.3.4 | SUSE-SU-2025:02996-1 |
| 15.6 | cluster-md-kmp-default +18 | 6.4.0-150600.23.65.1 | SUSE-SU-2025:02996-1 |
| 15.6 | kernel-default-base | 6.4.0-150600.23.65.1.150600.12.28.4 | SUSE-SU-2025:02996-1 |
| 15.6 | kernel-azure +4 | 6.4.0-150600.8.48.1 | SUSE-SU-2025:02969-1 |
| 15.6 | kernel-coco +7 | 6.4.0-15061.28.coco15sp6.1 | SUSE-SU-2025:02923-1 |
6 more rows
SUSE Linux Enterprise Micro 2 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | kernel-default +5 | 6.4.0-32.1 | SUSE-SU-2025:20586-1 |
| 6.0 | kernel-default-base | 6.4.0-32.1.21.10 | SUSE-SU-2025:20586-1 |
| 6.0 | kernel-devel-rt +3 | 6.4.0-35.1 | SUSE-SU-2025:20577-1 |
| 6.1 | kernel-default +6 | 6.4.0-32.1 | SUSE-SU-2025:20602-1 |
| 6.1 | kernel-default-base | 6.4.0-32.1.21.10 | SUSE-SU-2025:20602-1 |
| 6.1 | kernel-devel-rt +4 | 6.4.0-35.1 | SUSE-SU-2025:20601-1 |
amazon linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-12-35-55-103 | 1.0-0.amzn2023 |
| 2023 | kernel-livepatch-6-1-144-170-251 | 1:1.0-0.amzn2023 |
| 2023 | bpftool +20 | 1:6.1.144-170.251.amzn2023 |
| 2023 | kernel6-12 +8 | 6.12.35-55.103.amzn2023 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | affected |
| 11 | linux-6-1 | 6.1.153-1~deb11u1 |
| 12 | linux | 6.1.147-1 |
| 13 | linux | 6.12.35-1 |
| 14 | linux | 6.12.35-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
root.io debian 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux +1 | 5.10.251-5.root.io.85 |
| 12 | linux +1 | 6.1.147-1 |
| 13 | rootio-linux | 6.12.35-1 |
root.io ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | linux +1 | 5.15.0-156.166 |
| 24.04 | linux +1 | 6.8.0-100.100 |
ubuntu 4 releases · 42 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | linux +12 | affected |
| 20.04-ESM | linux +10 | affected |
| 20.04-ESM | linux-nvidia-tegra-5-15 | 5.15.0-1045.45~20.04.1 |
| 20.04-ESM | linux-ibm-5-15 | 5.15.0-1086.89~20.04.1 |
| 20.04-ESM | linux-riscv-5-15 | 5.15.0-1087.91~20.04.1 |
| 20.04-ESM | linux-intel-iotg-5-15 | 5.15.0-1087.93~20.04.1 |
48 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-38310
- git.kernel.org https://git.kernel.org/linus/7632fedb266d93ed0ed9f487133e6c6314a9b2d1 (6.16-rc1)
- git.kernel.org https://git.kernel.org/stable/c/668923c474608dd9ebce0fbcc41bd8a27aa73dd6
- git.kernel.org https://git.kernel.org/stable/c/7632fedb266d93ed0ed9f487133e6c6314a9b2d1
- git.kernel.org https://git.kernel.org/stable/c/cd4cd09810211fa23609c5c1018352e9e1cd8e5a
- git.kernel.org https://git.kernel.org/stable/c/cef33a86bcb04ecf4dc10c56f6c42ee9d1c54bac
- git.kernel.org https://git.kernel.org/stable/c/d2507aeea45b3c5aa24d5daae0cf3db76895c0b7
- git.kernel.org https://git.kernel.org/stable/c/d5d9fd13bc19a3f9f2a951c5b6e934d84205789e
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-38310.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-20552.html
Show all 46 references
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2025071014-CVE-2025-38310-6184@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-38310
- ubuntu.com https://ubuntu.com/security/notices/USN-7769-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7769-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7769-3
- ubuntu.com https://ubuntu.com/security/notices/USN-7770-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7771-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7774-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7774-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7774-3
- ubuntu.com https://ubuntu.com/security/notices/USN-7774-4
- ubuntu.com https://ubuntu.com/security/notices/USN-7774-5
- ubuntu.com https://ubuntu.com/security/notices/USN-7775-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7775-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7775-3
- ubuntu.com https://ubuntu.com/security/notices/USN-7776-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7789-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7789-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-4
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-5
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-6
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-7
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-8
- ubuntu.com https://ubuntu.com/security/notices/USN-8031-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8031-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8031-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8052-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8052-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8074-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8074-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8126-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-38310
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.