Improper Initialization in Linux kernel - CVE-2025-21712

 

Improper Initialization in Linux kernel - CVE-2025-21712

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


Vulnerability identifier: #VU105061
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-21712
CWE-ID: CWE-665
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 improper initialization within the md_seq_show() function in drivers/md/md.c, within the bitmap_get_stats() function in drivers/md/md-bitmap.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel
Debian Linux
Ubuntu
openEuler
linux (Ubuntu package)
linux-aws (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-nvidia-tegra-5.15 (Ubuntu package)
linux-intel-iot-realtime (Ubuntu package)
linux-ibm-5.15 (Ubuntu package)
linux-intel-iotg (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-5.15 (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux (Debian package)
kernel
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
linux-gke (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-oracle (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-lowlatency (Ubuntu package)

How to mitigate CVE-2025-21712

Install update from vendor's website.

Linux kernel - addressed in versions 6.1.130, 6.6.80, 6.12.13, 6.13.2, 6.14
linux (Ubuntu package) - addressed in versions 5.15.0.184.155, 5.15.0-184.194, 5.15.0-184.194~20.04.1, 5.15.0.186.166, 5.15.0-186.196, 5.15.0-186.196~20.04.1, 5.15.0.1075.78, 5.15.0-1075.79, 5.15.0.1095.94, 5.15.0-1095.103, 5.15.0.1104.100, 5.15.0-1104.109, 5.15.0.1108.107, 5.15.0-1108.114, 5.15.0.1111.115, 5.15.0-1111.120+fips1, 5.15.0.1112.102, 5.15.0.1112.109, 5.15.0-1112.122, 5.15.0-1112.122+fips1, 6.8.0-78.78, 6.8.0-78.78.1, 6.8.0-78.78.1~22.04.1, 6.8.0-1035.37, 6.8.1-1030.31, 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-aws (Ubuntu package) - addressed in versions 5.15.0.186.109, 5.15.0-186.196+fips1, 5.15.0.1106.103, 5.15.0-1106.110, 5.15.0.1107.107, 5.15.0-1107.108, 5.15.0.1112.108, 5.15.0.1112.115, 5.15.0-1112.119, 5.15.0-1112.119+fips1, 5.15.0-1112.119~20.04.1, 6.11.0-1014.15
linux-nvidia-tegra (Ubuntu package) - addressed in versions 5.15.0-1053.53, 5.15.0.1053.55, 5.15.0.1064.64, 5.15.0-1064.66
linux-nvidia-tegra-5.15 (Ubuntu package) - update to 5.15.0-1064.66~20.04.1
linux-intel-iot-realtime (Ubuntu package) - addressed in versions 5.15.0-1104.106, 5.15.0.1104.108, 5.15.0-1107.113~20.04.1
linux-ibm-5.15 (Ubuntu package) - update to 5.15.0-1106.110~20.04.1
linux-intel-iotg (Ubuntu package) - addressed in versions 5.15.0.1107.106, 5.15.0-1107.113
linux-azure (Ubuntu package) - addressed in versions 5.15.0.1109.105, 5.15.0-1109.115, 5.15.0.1117.115, 5.15.0-1117.126, 6.8.0-1022.23, 6.8.0-1034.39, 6.8.0-1034.39~22.04.1
linux-azure-5.15 (Ubuntu package) - addressed in versions 5.15.0-1109.115~20.04.1, 5.15.0-1117.126~20.04.1, 5.15.0-1117.126~20.04.2
linux-azure-fips (Ubuntu package) - addressed in versions 5.15.0.1117.102, 5.15.0-1117.126+fips1
linux-azure-fde (Ubuntu package) - update to 5.15.0-1117.126
linux (Debian package) - update to 6.1.133-1
kernel - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
bpftool - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
python3-perf-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
python3-perf - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
perf-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
perf - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-tools-devel - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-tools-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-tools - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-source - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-headers - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-devel - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-debugsource - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
kernel-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
bpftool-debuginfo - addressed in versions 6.6.0-87.0.0.82, 6.6.0-87.0.0.93
linux-gke (Ubuntu package) - addressed in versions 6.8.0-78.78~22.04.1, 6.8.0-1032.36, 6.8.0-1035.38, 6.8.0-1035.38.1, 6.8.0-1035.38~22.04.1, 6.8.0-1035.39
linux-aws-6.8 (Ubuntu package) - addressed in versions 6.8.0-1019.21~22.04.1, 6.8.0-1033.33, 6.8.0-1033.33~22.04.1, 6.8.0-1035.37~22.04.1, 6.8.0-1036.38, 6.8.0-1036.38~22.04.1
linux-oracle (Ubuntu package) - update to 6.8.0-1032.33~22.04.1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2028.29
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