Buffer overflow in Linux kernel - CVE-2025-37822

 

Buffer overflow in Linux kernel - CVE-2025-37822

Published: May 8, 2025 / Updated: May 10, 2025


Vulnerability identifier: #VU108824
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-37822
CWE-ID: CWE-119
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 memory corruption within the arch_uprobe_copy_ixol() function in arch/riscv/kernel/probes/uprobes.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel
Debian Linux
Ubuntu
openEuler
linux (Ubuntu package)
linux-xilinx-zynqmp (Ubuntu package)
linux-raspi (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-oracle-5.15 (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux (Debian package)
bpftool
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
bpftool-debuginfo
kernel
kernel-extra-modules
linux-aws-fips (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-xilinx (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-ibm (Ubuntu package)
linux-nvidia-lowlatency (Ubuntu package)
linux-azure (Ubuntu package)
linux-gcp-fips (Ubuntu package)
linux-gcp-6.8 (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime-6.8 (Ubuntu package)

How to mitigate CVE-2025-37822

Install update from vendor's website.

Linux kernel - update to 6.12.26
linux (Ubuntu package) - addressed in versions 5.15.0.183.154, 5.15.0-183.193, 5.15.0-183.193~20.04.1, 5.15.0.185.108, 5.15.0.185.166, 5.15.0-185.195+fips1, 5.15.0-185.195~20.04.1, 5.15.0-1052.52, 5.15.0.1052.54, 5.15.0-1063.63, 5.15.0-1063.63~20.04.1, 5.15.0.1094.93, 5.15.0-1094.102, 5.15.0.1103.99, 5.15.0-1103.105, 5.15.0.1103.107, 5.15.0-1103.108, 5.15.0.1105.102, 5.15.0.1105.109, 5.15.0-1105.109~20.04.1, 5.15.0.1106.105, 5.15.0.1106.106, 5.15.0-1106.107, 5.15.0-1106.112, 5.15.0.1107.106, 5.15.0-1107.113, 5.15.0.1108.104, 5.15.0-1108.114, 5.15.0.1110.114, 5.15.0-1110.119, 5.15.0.1111.101, 5.15.0.1111.107, 5.15.0.1111.108, 5.15.0.1111.114, 5.15.0-1111.118, 5.15.0-1111.118+fips1, 5.15.0-1111.118~20.04.1, 5.15.0-1111.121, 5.15.0-1111.121+fips1, 5.15.0.1116.114, 5.15.0-1116.125, 5.15.0-1116.125~20.04.1, 6.8.0-100.100, 6.8.0-1047.51, 6.14.0-22.22, 6.14.0-1004.4, 6.14.0-1007.7, 6.14.0-1008.8
linux-xilinx-zynqmp (Ubuntu package) - addressed in versions 5.15.0.1074.77, 5.15.0-1074.78
linux-raspi (Ubuntu package) - addressed in versions 5.15.0.1105.103, 5.15.0-1105.108
linux-gcp-5.15 (Ubuntu package) - addressed in versions 5.15.0-1106.112~20.04.1, 5.15.0-1111.121~20.04.1
linux-oracle-5.15 (Ubuntu package) - update to 5.15.0-1108.114~20.04.1
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0.1116.101, 5.15.0-1116.125+fips1, 6.8.0-1046.52+fips1
linux (Debian package) - update to 6.1.164-1
bpftool - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
python3-perf-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
python3-perf - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
perf-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
perf - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
kernel-tools-devel - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
kernel-tools-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
kernel-tools - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
kernel-source - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
kernel-headers - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
kernel-devel - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
kernel-debugsource - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
kernel-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
bpftool-debuginfo - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
kernel - addressed in versions 6.6.0-127.0.0.113, 6.6.0-127.0.0.125, 6.6.0-129.0.0.127
kernel-extra-modules - update to 6.6.0-129.0.0.127
linux-aws-fips (Ubuntu package) - addressed in versions 6.8.0-100.100+fips1, 6.8.0-1046.49+fips1
linux-lowlatency (Ubuntu package) - update to 6.8.0-100.100.1
linux-hwe-6.8 (Ubuntu package) - addressed in versions 6.8.0-100.100.1~22.04.1, 6.8.0-100.100~22.04.1
linux-xilinx (Ubuntu package) - addressed in versions 6.8.0-1023.24, 6.8.0.1023.24
linux-aws (Ubuntu package) - addressed in versions 6.8.0-1030.33, 6.8.0-1043.44, 6.8.0-1043.44~22.04.1, 6.8.0-1046.49~22.04.1, 6.14.0-1007.7, 6.14.0-1007.7+1
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1043.48, 6.8.0-1047.50~22.04.2
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-1044.44, 6.8.0-1044.44~22.04.1
linux-nvidia-lowlatency (Ubuntu package) - update to 6.8.0-1046.49.1
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1046.52, 6.14.0-1007.7
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1047.50+fips1
linux-gcp-6.8 (Ubuntu package) - update to 6.8.0-1047.50~22.04.2
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1051.57~22.04.1
linux-raspi-realtime (Ubuntu package) - addressed in versions 6.8.0-2037.38, 6.8.1-1041.42
linux-realtime-6.8 (Ubuntu package) - update to 6.8.1-1041.42~22.04.1

External References

Related Security Bulletins