Linux Kernel padata Use-After-Free Vulnerability

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's padata subsystem. This issue arises in version 6.6.0 and can be reproduced using the LTP test 'pcrypt_aead01'. The vulnerability occurs when the padata_reorder function processes a parallel decryption task. If the associated cryptographic algorithm is deleted, the reference count of the padata descriptor can drop to zero, leading to a use-after-free condition when the function attempts to access the descriptor again.

Impact

Exploitation of this vulnerability leads to a use-after-free condition, which can potentially be exploited to execute arbitrary code or cause a denial-of-service by crashing the system.

Reproduction

The vulnerability can be reproduced by adding a delay before calling the 'padata_find_next' function within the 'padata_reorder' function. This can be done while running the LTP test 'pcrypt_aead01', which triggers the vulnerability by causing the padata descriptor to be freed while still in use, creating a use-after-free condition.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.