Resource management error in Linux kernel - CVE-2025-21816

 

Resource management error in Linux kernel - CVE-2025-21816

Published: February 28, 2025 / Updated: May 11, 2025


Vulnerability identifier: #VU105157
CSH Severity: Low
CVSS v4 BT: 4.3 [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/E:U/U:Clear]
CVE-ID: CVE-2025-21816
CWE-ID: CWE-399
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 resource management error within the HRTIMER_ACTIVE_SOFT(), DEFINE_PER_CPU(), hrtimer_base_is_online(), lock_hrtimer_base(), raw_spin_unlock(), WRITE_ONCE(), hrtimer_is_hres_enabled() and __hrtimer_start_range_ns() functions in kernel/time/hrtimer.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel
Debian Linux
openEuler
Ubuntu
Anolis OS
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-debuginfo
bpftool
linux (Debian package)
kernel-64k-devel
kernel-debug
kernel-debug-devel
kernel-tools-libs
kernel-tools-libs-devel
kernel-64k
kernel-64k-debug
kernel-64k-debug-devel
linux (Ubuntu package)
linux-ibm (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-gcp (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime (Ubuntu package)
linux-aws (Ubuntu package)
linux-lowlatency (Ubuntu package)

How to mitigate CVE-2025-21816

Install update from vendor's website.

Linux kernel - update to 6.12.14
python3-perf-debuginfo - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
python3-perf - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
perf-debuginfo - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
perf - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
kernel-tools-devel - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
kernel-tools-debuginfo - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
kernel-tools - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
kernel-source - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
kernel-headers - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
kernel-devel - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
kernel-debugsource - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
kernel-debuginfo - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
kernel - addressed in versions 5.10.0-259.0.0.161, 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
bpftool-debuginfo - addressed in versions 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
bpftool - addressed in versions 5.10.0-259.0.0.162, 6.6.0-85.0.0.79, 6.6.0-85.0.0.90
linux (Debian package) - update to 6.1.147-1
kernel-64k-devel - update to 6.6.102-5
bpftool - update to 6.6.102-5
kernel - update to 6.6.102-5
kernel-debug - update to 6.6.102-5
kernel-debug-devel - update to 6.6.102-5
kernel-devel - update to 6.6.102-5
kernel-headers - update to 6.6.102-5
kernel-tools - update to 6.6.102-5
kernel-tools-libs - update to 6.6.102-5
kernel-tools-libs-devel - update to 6.6.102-5
perf - update to 6.6.102-5
python3-perf - update to 6.6.102-5
kernel-64k - update to 6.6.102-5
kernel-64k-debug - update to 6.6.102-5
kernel-64k-debug-devel - update to 6.6.102-5
linux (Ubuntu package) - addressed in versions 6.8.0-64.67, 6.8.0-1031.31, 6.8.0-1032.34~22.04.1, 6.11.0-26.26, 6.11.0-26.26~24.04.1, 6.11.0-1010.10, 6.11.0-1013.13, 6.11.0-1015.15, 6.11.0-1015.15~24.04.1, 6.11.0-1022.22
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-64.67.1, 6.8.0-64.67.1~22.04.1, 6.8.0-1029.29, 6.8.0-1029.29~22.04.1
linux-hwe-6.8 (Ubuntu package) - update to 6.8.0-64.67~22.04.1
linux-aws-6.8 (Ubuntu package) - addressed in versions 6.8.0-1015.17, 6.8.0-1028.32, 6.8.0-1029.30, 6.8.0-1029.30~22.04.1, 6.8.0-1031.34, 6.8.0-1031.34.1, 6.8.0-1031.34~22.04.1, 6.8.0-1032.34~22.04.1
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1022.23, 6.8.0-1034.39, 6.8.0-1034.39~22.04.1
linux-raspi (Ubuntu package) - update to 6.8.0-1031.35
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1033.35, 6.8.0-1033.35~22.04.1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2026.27
linux-realtime (Ubuntu package) - update to 6.8.1-1025.26
linux-aws (Ubuntu package) - update to 6.11.0-1014.15
linux-lowlatency (Ubuntu package) - addressed in versions 6.11.0-1014.15, 6.11.0-1014.15~24.04.1, 6.11.0-1016.17

External References

Related Security Bulletins