Out-of-bounds read in Linux kernel - CVE-2025-38502
Published: August 18, 2025
Vulnerability identifier: #VU114138
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-38502
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to an out-of-bounds read error within the __bpf_prog_map_compatible() function in kernel/bpf/core.c. A local user can perform a denial of service (DoS) attack.
Affected software
Linux kernel
Debian Linux
Anolis OS
Ubuntu
openEuler
linux (Ubuntu package)
linux-kvm (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-oracle (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-gke (Ubuntu package)
linux-aws-5.15 (Ubuntu package)
linux-lowlatency-hwe-5.15 (Ubuntu package)
linux-hwe-5.15 (Ubuntu package)
linux-fips (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-realtime (Ubuntu package)
linux-ibm-5.15 (Ubuntu package)
linux-intel-iotg (Ubuntu package)
linux-nvidia-tegra-igx (Ubuntu package)
linux-ibm (Ubuntu package)
linux-intel-iotg-5.15 (Ubuntu package)
linux-oracle-5.15 (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-nvidia-tegra-5.15 (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
kernel-debuginfo
kernel
bpftool
bpftool-debuginfo
kernel-tools-libs
kernel-core
kernel-debug
kernel-debug-core
kernel-debug-devel
kernel-debug-modules
kernel-debug-modules-extra
kernel-debug-modules-internal
kernel-tools-libs-devel
kernel-modules-internal
kernel-modules-extra
kernel-modules
kernel-extra-modules
linux (Debian package)
linux-xilinx (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
Debian Linux
Anolis OS
Ubuntu
openEuler
linux (Ubuntu package)
linux-kvm (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-oracle (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-gke (Ubuntu package)
linux-aws-5.15 (Ubuntu package)
linux-lowlatency-hwe-5.15 (Ubuntu package)
linux-hwe-5.15 (Ubuntu package)
linux-fips (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-realtime (Ubuntu package)
linux-ibm-5.15 (Ubuntu package)
linux-intel-iotg (Ubuntu package)
linux-nvidia-tegra-igx (Ubuntu package)
linux-ibm (Ubuntu package)
linux-intel-iotg-5.15 (Ubuntu package)
linux-oracle-5.15 (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-nvidia-tegra-5.15 (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-azure-fips (Ubuntu package)
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
kernel-debuginfo
kernel
bpftool
bpftool-debuginfo
kernel-tools-libs
kernel-core
kernel-debug
kernel-debug-core
kernel-debug-devel
kernel-debug-modules
kernel-debug-modules-extra
kernel-debug-modules-internal
kernel-tools-libs-devel
kernel-modules-internal
kernel-modules-extra
kernel-modules
kernel-extra-modules
linux (Debian package)
linux-xilinx (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
How to mitigate CVE-2025-38502
Install update from vendor's repository.
linux (Ubuntu package) - addressed in versions 5.15.0-163.173, 6.8.0-106.106~22.04.1, 6.8.0-106.106, 6.8.0-106.106.1~22.04.1, 6.8.0-106.106.1, 6.8.0-1035.38, 6.8.0-1047.48~22.04.1, 6.8.0-1047.48, 6.8.0-1048.53, 6.8.0-1049.49~22.04.1, 6.8.0-1049.49, 6.8.0-1050.53, 6.8.0-1052.55~22.04.1, 6.8.0-1052.55
linux-kvm (Ubuntu package) - update to 5.15.0-1089.94
linux-aws (Ubuntu package) - update to 5.15.0-1097.104
linux-gcp (Ubuntu package) - update to 5.15.0-1097.106
linux-azure (Ubuntu package) - addressed in versions 5.15.0-1101.110, 6.8.0-1051.57
linux-raspi (Ubuntu package) - addressed in versions 5.15.0-1091.94, 6.8.0-1050.54, 6.8.0-2040.41
linux-oracle (Ubuntu package) - update to 5.15.0-1094.100
linux-lowlatency (Ubuntu package) - update to 5.15.0-163.173
linux-gke (Ubuntu package) - update to 5.15.0-1093.99
linux-aws-5.15 (Ubuntu package) - update to 5.15.0-1097.104~20.04.1
linux-lowlatency-hwe-5.15 (Ubuntu package) - update to 5.15.0-163.173~20.04.1
linux-hwe-5.15 (Ubuntu package) - update to 5.15.0-163.173~20.04.1
linux-fips (Ubuntu package) - update to 5.15.0-163.173+fips1
linux-azure-5.15 (Ubuntu package) - update to 5.15.0-1102.111~20.04.1
linux-nvidia (Ubuntu package) - addressed in versions 5.15.0-1092.93, 6.8.0-1049.52~22.04.1, 6.8.0-1049.52, 6.8.0-1049.52.1
linux-gkeop (Ubuntu package) - update to 5.15.0-1080.88
linux-nvidia-tegra (Ubuntu package) - update to 5.15.0-1049.49
linux-realtime (Ubuntu package) - addressed in versions 5.15.0-1096.105, 6.8.1-1045.46~22.04.1, 6.8.1-1045.46
linux-ibm-5.15 (Ubuntu package) - update to 5.15.0-1091.94~20.04.1
linux-intel-iotg (Ubuntu package) - update to 5.15.0-1092.98
linux-nvidia-tegra-igx (Ubuntu package) - update to 5.15.0-1038.38
linux-ibm (Ubuntu package) - update to 5.15.0-1091.94
linux-intel-iotg-5.15 (Ubuntu package) - update to 5.15.0-1092.98~20.04.1
linux-oracle-5.15 (Ubuntu package) - update to 5.15.0-1094.100~20.04.1
linux-gcp-5.15 (Ubuntu package) - update to 5.15.0-1097.106~20.04.1
linux-nvidia-tegra-5.15 (Ubuntu package) - update to 5.15.0-1049.49~20.04.1
linux-xilinx-zynqmp (Ubuntu package) - update to 5.15.0-1061.65
linux-intel-iot-realtime (Ubuntu package) - update to 5.15.0-1089.91
linux-gcp-fips (Ubuntu package) - update to 5.15.0-1097.106+fips1
linux-aws-fips (Ubuntu package) - addressed in versions 5.15.0-1097.104+fips1, 6.8.0-106.106+fips1, 6.8.0-1050.53+fips1, 6.8.0-1052.55+fips1
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0-1101.110+fips1, 6.8.0-1052.58+fips1
python3-perf-debuginfo - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
python3-perf - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
perf-debuginfo - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
perf - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-tools-devel - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-tools-debuginfo - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-tools - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-source - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-headers - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-devel - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-debugsource - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-debuginfo - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
bpftool - addressed in versions 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
bpftool-debuginfo - addressed in versions 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-tools-libs - addressed in versions 5.10.134-19.3, 6.6.102-6
bpftool - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-core - update to 5.10.134-19.3
kernel-debug - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-debug-core - update to 5.10.134-19.3
kernel-debug-devel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-debug-modules - update to 5.10.134-19.3
kernel-debug-modules-extra - update to 5.10.134-19.3
kernel-debug-modules-internal - update to 5.10.134-19.3
kernel-headers - addressed in versions 5.10.134-19.3, 6.6.102-6
python3-perf - addressed in versions 5.10.134-19.3, 6.6.102-6
perf - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-tools-libs-devel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-devel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-tools - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-modules-internal - update to 5.10.134-19.3
kernel-modules-extra - update to 5.10.134-19.3
kernel-modules - update to 5.10.134-19.3
kernel-extra-modules - update to 6.6.0-109.0.0.115
linux (Debian package) - addressed in versions 6.1.153-1, 6.12.48-1
linux-xilinx (Ubuntu package) - update to 6.8.0-1029.30
linux-aws-6.8 (Ubuntu package) - update to 6.8.0-1050.53~22.04.1
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1051.57~22.04.1
linux-kvm (Ubuntu package) - update to 5.15.0-1089.94
linux-aws (Ubuntu package) - update to 5.15.0-1097.104
linux-gcp (Ubuntu package) - update to 5.15.0-1097.106
linux-azure (Ubuntu package) - addressed in versions 5.15.0-1101.110, 6.8.0-1051.57
linux-raspi (Ubuntu package) - addressed in versions 5.15.0-1091.94, 6.8.0-1050.54, 6.8.0-2040.41
linux-oracle (Ubuntu package) - update to 5.15.0-1094.100
linux-lowlatency (Ubuntu package) - update to 5.15.0-163.173
linux-gke (Ubuntu package) - update to 5.15.0-1093.99
linux-aws-5.15 (Ubuntu package) - update to 5.15.0-1097.104~20.04.1
linux-lowlatency-hwe-5.15 (Ubuntu package) - update to 5.15.0-163.173~20.04.1
linux-hwe-5.15 (Ubuntu package) - update to 5.15.0-163.173~20.04.1
linux-fips (Ubuntu package) - update to 5.15.0-163.173+fips1
linux-azure-5.15 (Ubuntu package) - update to 5.15.0-1102.111~20.04.1
linux-nvidia (Ubuntu package) - addressed in versions 5.15.0-1092.93, 6.8.0-1049.52~22.04.1, 6.8.0-1049.52, 6.8.0-1049.52.1
linux-gkeop (Ubuntu package) - update to 5.15.0-1080.88
linux-nvidia-tegra (Ubuntu package) - update to 5.15.0-1049.49
linux-realtime (Ubuntu package) - addressed in versions 5.15.0-1096.105, 6.8.1-1045.46~22.04.1, 6.8.1-1045.46
linux-ibm-5.15 (Ubuntu package) - update to 5.15.0-1091.94~20.04.1
linux-intel-iotg (Ubuntu package) - update to 5.15.0-1092.98
linux-nvidia-tegra-igx (Ubuntu package) - update to 5.15.0-1038.38
linux-ibm (Ubuntu package) - update to 5.15.0-1091.94
linux-intel-iotg-5.15 (Ubuntu package) - update to 5.15.0-1092.98~20.04.1
linux-oracle-5.15 (Ubuntu package) - update to 5.15.0-1094.100~20.04.1
linux-gcp-5.15 (Ubuntu package) - update to 5.15.0-1097.106~20.04.1
linux-nvidia-tegra-5.15 (Ubuntu package) - update to 5.15.0-1049.49~20.04.1
linux-xilinx-zynqmp (Ubuntu package) - update to 5.15.0-1061.65
linux-intel-iot-realtime (Ubuntu package) - update to 5.15.0-1089.91
linux-gcp-fips (Ubuntu package) - update to 5.15.0-1097.106+fips1
linux-aws-fips (Ubuntu package) - addressed in versions 5.15.0-1097.104+fips1, 6.8.0-106.106+fips1, 6.8.0-1050.53+fips1, 6.8.0-1052.55+fips1
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0-1101.110+fips1, 6.8.0-1052.58+fips1
python3-perf-debuginfo - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
python3-perf - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
perf-debuginfo - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
perf - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-tools-devel - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-tools-debuginfo - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-tools - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-source - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-headers - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-devel - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-debugsource - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-debuginfo - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel - addressed in versions 5.10.0-281.0.0.183, 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
bpftool - addressed in versions 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
bpftool-debuginfo - addressed in versions 5.10.0-281.0.0.184, 6.6.0-109.0.0.101, 6.6.0-109.0.0.112, 6.6.0-109.0.0.115
kernel-tools-libs - addressed in versions 5.10.134-19.3, 6.6.102-6
bpftool - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-core - update to 5.10.134-19.3
kernel-debug - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-debug-core - update to 5.10.134-19.3
kernel-debug-devel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-debug-modules - update to 5.10.134-19.3
kernel-debug-modules-extra - update to 5.10.134-19.3
kernel-debug-modules-internal - update to 5.10.134-19.3
kernel-headers - addressed in versions 5.10.134-19.3, 6.6.102-6
python3-perf - addressed in versions 5.10.134-19.3, 6.6.102-6
perf - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-tools-libs-devel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-devel - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-tools - addressed in versions 5.10.134-19.3, 6.6.102-6
kernel-modules-internal - update to 5.10.134-19.3
kernel-modules-extra - update to 5.10.134-19.3
kernel-modules - update to 5.10.134-19.3
kernel-extra-modules - update to 6.6.0-109.0.0.115
linux (Debian package) - addressed in versions 6.1.153-1, 6.12.48-1
linux-xilinx (Ubuntu package) - update to 6.8.0-1029.30
linux-aws-6.8 (Ubuntu package) - update to 6.8.0-1050.53~22.04.1
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1051.57~22.04.1
External References
Related Security Bulletins
- Out-of-bounds read in Linux kernel
- openEuler 22.03 LTS SP4 update for kernel
- openEuler 22.03 LTS SP3 update for kernel
- openEuler 24.03 LTS SP2 update for kernel
- openEuler 24.03 LTS SP1 update for kernel
- openEuler 24.03 LTS update for kernel
- Debian update for linux
- Debian update for linux
- Ubuntu update for linux
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-intel-iot-realtime
- Ubuntu update for linux-azure
- Ubuntu update for linux-gcp
- Ubuntu update for linux-raspi
- Ubuntu update for linux-kvm
- Ubuntu update for linux-azure-5.15
- Anolis OS update for kernel:5.10
- Ubuntu update for linux
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-nvidia
- Ubuntu update for linux-realtime
- Ubuntu update for linux-aws-6.8
- Ubuntu update for linux-azure-6.8
- Ubuntu update for linux-azure
- Ubuntu update for linux-raspi
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-xilinx
- Anolis OS update for kernel:6.6