Improper Initialization in Linux kernel - CVE-2025-21712
Published: February 27, 2025 / Updated: May 11, 2025
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
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
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
- https://git.kernel.org/stable/c/237e19519c8ff6949f0ef57c4a0243f5b2b0fa18
- https://git.kernel.org/stable/c/4e9316eee3885bfb311b4759513f2ccf37891c09
- https://git.kernel.org/stable/c/8d28d0ddb986f56920ac97ae704cc3340a699a30
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.130
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.13
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.13.2
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.14
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.80
Related Security Bulletins
- Improper Initialization in Linux kernel md driver
- Debian update for linux
- openEuler 24.03 LTS update for kernel
- openEuler 24.03 LTS SP1 update for kernel
- Ubuntu update for linux
- Ubuntu update for linux-aws
- Ubuntu update for linux-lowlatency
- Ubuntu update for linux
- Ubuntu update for linux-aws-6.8
- Ubuntu update for linux-oracle
- Ubuntu update for linux-raspi-realtime
- Ubuntu update for linux-gke
- Ubuntu update for linux-azure
- Ubuntu update for linux-nvidia-tegra-5.15
- Ubuntu update for linux
- Ubuntu update for linux-ibm-5.15
- Ubuntu update for linux-nvidia-tegra
- Ubuntu update for linux-aws
- Ubuntu update for linux-azure-fde
- Ubuntu update for linux-azure
- Ubuntu update for linux-azure-5.15
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-intel-iot-realtime
- Ubuntu update for linux-intel-iotg