CVE-2025-21727
kernel: padata: fix UAF in padata_reorder
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 27, 2025
Updated · June 30, 2026
Description
A use-after-free vulnerability was found in the Linux kernel's padata subsystem, in the padata_reorder() function. Caused by improper synchronization controls, this vulnerability can occur when a reference-counted data structure (pd) is decremented in one thread, freeing it, while another thread still holds a pointer to it and attempts to access it via padata_find_next(). This vulnerability can lead to system instability, denial of service, and potential privilege escalation.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-820 · Missing Synchronization