PT-2025-16766
CVE-2025-22126
·
Published
2025-03-04
·
Updated
2026-11-06
Description by
CVSS 3.1
7.8
HighMetricsAV: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.
Found an issue in the description? Have something to add? Feel free to write us 👾