PT-2025-8810

CVE-2025-21727

·

Published

2020-11-04

·

Updated

2026-10-19

Description by

CVSS 3.1
7.8
High
MetricsAV: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 versions prior to 6.6.0
Description A use-after-free bug was found in the Linux kernel, specifically in the padata reorder function. This issue can be triggered when the padata find next function is called after the pd object has been freed, leading to a slab-use-after-free error. The bug was identified when running the ltp test, which caused a KASAN error. The issue arises when the padata reorder function loops and the alg is deleted, causing the reference count to decrease to 0 before entering padata find next. To address this issue, it is necessary to ensure that the do serial function is called with BHs disabled and under RCU protection.
Recommendations For Linux kernel versions prior to 6.6.0, to resolve this issue, add synchronize rcu() in the padata free shell function to wait for all do serial calls to finish, ensuring that the pd object is not freed prematurely. As a temporary workaround, consider adding a delay, such as mdelay(10), before calling padata find next in the padata reorder function to reduce the likelihood of the issue occurring. However, this is not a permanent fix and should be replaced with the proper synchronization mechanism.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALSA-2025:12662
ALSA-2025:12746
ALSA-2025:13589
ALSA-2025:13590
ALT-PU-2025-12647
ALT-PU-2025-5012
ALT-PU-2025-5359
ALT-PU-2025-5437
CESA-2020_4431
CESA-2025_13589
CESA-2025_13590
CLSA-2025-1757961506
CLSA-2025-1757961864
CLSA-2025-1757962453
DLA-4102-1
DLA-4178-1
INFSA-2025_12746
INFSA-2025_13589
INFSA-2025_13590
LSN-0116-1
LSN-0122-1
OESA-2025-1339
OESA-2025-1340
OESA-2025-1409
OESA-2025-1410
OPENSUSE-SU-2025_1177-1
OPENSUSE-SU-2025_1178-1
OPENSUSE-SU-2025_1180-1
RHSA-2020:4431
RHSA-2020_4431
RHSA-2025:12662
RHSA-2025:12746
RHSA-2025_12746
RHSA-2025:13061
RHSA-2025:13135
RHSA-2025:13589
RHSA-2025_13589
RHSA-2025:13590
RHSA-2025_13590
RHSA-2025:13633
RHSA-2025:13776
RHSA-2025:13781
RHSA-2025:14054
RHSA-2025:14094
RHSA-2025:20095
RHSA-2025:20518
SUSE-SU-2025:01919-1
SUSE-SU-2025:1177-1
SUSE-SU-2025_1177-1
SUSE-SU-2025:1178-1
SUSE-SU-2025_1178-1
SUSE-SU-2025:1180-1
SUSE-SU-2025_1180-1
SUSE-SU-2025:20190-1
SUSE-SU-2025:20192-1
SUSE-SU-2025:20260-1
SUSE-SU-2025:20270-1
USN-7510-1
USN-7510-2
USN-7510-3
USN-7510-4
USN-7510-5
USN-7510-6
USN-7510-7
USN-7510-8
USN-7511-1
USN-7511-2
USN-7511-3
USN-7512-1
USN-7521-1
USN-7521-2
USN-7521-3
USN-7593-1
USN-7602-1
USN-7651-1
USN-7651-2
USN-7651-3
USN-7651-4
USN-7651-5
USN-7651-6
USN-7652-1
USN-7653-1
USN-7737-1
USN-7874-1
USN-7874-2
USN-7874-3
USN-7939-1
USN-7939-2
Found an issue in the description? Have something to add? Feel free to write us 👾