PT-2025-16766 · Linux+9 · Linux Kernel+9
Published
2025-03-04
·
Updated
2026-04-20
·
CVE-2025-22126
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A use-after-free vulnerability has been identified in the Linux kernel. The issue occurs while iterating the all mddevs list from md notify reboot() and md exit(), where list for each entry safe is used. This can lead to a race condition with deleting the next mddev, causing a use-after-free error. The problem arises because the old helper for each mddev() grabbed the reference of the next mddev while holding the lock to prevent it from being freed. To fix this issue, the code has been modified to use list for each entry, and a helper function mddev put locked() has been factored out.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
DoS
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu