PT-2025-8851

CVE-2025-21739

·

Published

2025-01-24

·

Updated

2026-10-18

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 (affected versions not specified)
Description A use-after-free issue has been identified in the Linux kernel, specifically in the UFS core. The vulnerability occurs when the devm blk crypto profile init() function registers a cleanup handler to run when the associated platform device is being released. However, the struct ufs hba::crypto profile is released before the platform device, causing a use-after-free situation. This issue arises during driver release or error handling in ufshcd pltfrm init(). The estimated number of potentially affected devices worldwide is not available. There is no information about real-world incidents where this issue was exploited.
Recommendations To resolve this issue, it is recommended to update the Linux kernel to a version that includes the fix for this use-after-free issue. Specifically, the ufshcd alloc host() function should be modified to register a devres action to automatically cleanup the underlying SCSI device on ufshcd destruction, without requiring explicit calls to ufshcd dealloc host(). As a temporary workaround, consider disabling the devm blk crypto profile init() function until a patch is available. However, since the exact affected versions are not specified, it is crucial to apply the fix to all potentially vulnerable versions of the Linux kernel. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
ALSA-2025:20518
ALT-PU-2025-12647
AZL-59097
ECHO-8A49-7E6C-F8BA
INFSA-2025_20518
OESA-2025-1446
OESA-2025-1450
OPENSUSE-SU-2025_1177-1
OPENSUSE-SU-2025_1178-1
OPENSUSE-SU-2025_1180-1
RHSA-2025:20518
RHSA-2025_20518
SUSE-SU-2025:01919-1
SUSE-SU-2025:01951-1
SUSE-SU-2025_01951-1
SUSE-SU-2025:01967-1
SUSE-SU-2025_01967-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-7521-1
USN-7521-2
USN-7521-3
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-8575-1
USN-8575-2
USN-8575-3
USN-8576-1
USN-8576-2
USN-8610-1
USN-8620-1
USN-8620-2
USN-8620-3
USN-8620-4
USN-8668-1
USN-8668-2
Found an issue in the description? Have something to add? Feel free to write us 👾