Advisory
UBUNTU-CVE-2025-38310
Also known as: CVE-2025-38310
Summary
The record has no summary.
Details
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.
Severity
Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Dates
- Published
- 2025-07-10 08:15 UTC
- Modified
- 2026-11-17 11:22 UTC
Affected packages and fixes
| Package | System | Affected | Fix |
|---|---|---|---|
| linux-hwe-edge | Debian packages (deb) · Ubuntu 16.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.0 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.3 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-azure | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.3 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-azure-edge | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gcp | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.3 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gke-4.15 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gke-5.4 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-gkeop-5.4 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-hwe | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-edge | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-oem | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.0 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.3 | Debian packages (deb) · Ubuntu 18.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-aws-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-azure-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gke | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gke-5.15 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gkeop | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-gkeop-5.15 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-intel-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.10 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.14 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oem-5.6 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.13 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-raspi2 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-riscv | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-5.11 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-5.8 | Debian packages (deb) · Ubuntu 20.04 | introduced 0 | No fixed version is listed. |
| linux | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-allwinner-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-aws | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-aws-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-aws-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-aws-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-aws-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-fde | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-fde-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gcp | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gcp-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gke | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gkeop | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-hwe-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-hwe-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-ibm | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-ibm-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-intel-iot-realtime | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-intel-iotg | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-kvm | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-lowlatency | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-lowlatency-hwe-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency-hwe-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency-hwe-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency-hwe-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-nvidia | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-nvidia-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-nvidia-tegra | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-nvidia-tegra-igx | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-oem-5.17 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.0 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.1 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oracle | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-oracle-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-oracle-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-raspi | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-realtime | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-riscv | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-6.8 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-starfive-5.19 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-starfive-6.2 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-starfive-6.5 | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| linux-xilinx-zynqmp | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-aws | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-aws-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-azure-fde | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-nvidia | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-nvidia-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gcp | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gcp-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-gcp-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gke | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-gkeop | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-hwe-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-ibm | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-intel | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-lowlatency | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-lowlatency-hwe-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-nvidia-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-nvidia-lowlatency | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-nvidia-tegra | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-oem-6.11 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-oem-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-oem-6.8 | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-oracle | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-oracle-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-raspi | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-raspi-realtime | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-realtime | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-riscv | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| linux-riscv-6.14 | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-xilinx | Debian packages (deb) · Ubuntu 24.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| linux-azure-fde | Debian packages (deb) · Ubuntu 25.10 | introduced 0 | No fixed version is listed. |
Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://ubuntu.com/security/CVE-2025-38310
- https://www.cve.org/CVERecord?id=CVE-2025-38310
- https://git.kernel.org/linus/7632fedb266d93ed0ed9f487133e6c6314a9b2d1
- 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://ubuntu.com/security/notices/USN-7769-1
- https://ubuntu.com/security/notices/USN-7770-1
- https://ubuntu.com/security/notices/USN-7771-1
- https://ubuntu.com/security/notices/USN-7769-2
- https://ubuntu.com/security/notices/USN-7774-1
- https://ubuntu.com/security/notices/USN-7774-2
- https://ubuntu.com/security/notices/USN-7774-3
- https://ubuntu.com/security/notices/USN-7775-1
- https://ubuntu.com/security/notices/USN-7776-1
- https://ubuntu.com/security/notices/USN-7769-3
- https://ubuntu.com/security/notices/USN-7775-2
- https://ubuntu.com/security/notices/USN-7775-3
- https://ubuntu.com/security/notices/USN-7789-1
- https://ubuntu.com/security/notices/USN-7774-4
- https://ubuntu.com/security/notices/USN-7774-5
- https://ubuntu.com/security/notices/USN-7789-2
- https://ubuntu.com/security/notices/USN-8028-1
- https://ubuntu.com/security/notices/USN-8028-2
- https://ubuntu.com/security/notices/USN-8031-1
- https://ubuntu.com/security/notices/USN-8028-3
- https://ubuntu.com/security/notices/USN-8028-4
- https://ubuntu.com/security/notices/USN-8028-5
- https://ubuntu.com/security/notices/USN-8031-2
- https://ubuntu.com/security/notices/USN-8028-6
- https://ubuntu.com/security/notices/USN-8031-3
- https://ubuntu.com/security/notices/USN-8052-1
- https://ubuntu.com/security/notices/USN-8028-7
- https://ubuntu.com/security/notices/USN-8028-8
- https://ubuntu.com/security/notices/USN-8052-2
- https://ubuntu.com/security/notices/USN-8074-1
- https://ubuntu.com/security/notices/USN-8074-2
- https://ubuntu.com/security/notices/USN-8126-1
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0