PT-2025-16670

CVE-2025-22030

·

Published

2025-02-26

·

Updated

2026-01-21

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A deadlock vulnerability has been identified in the Linux kernel, specifically in the zswap component. The issue arises from the zswap cpu comp dead() function calling crypto free acomp() while holding the per-CPU acomp ctx mutex, which can lead to a deadlock scenario. This occurs when crypto alloc acomp node() holds the scomp lock and attempts to allocate memory, potentially resulting in a reclaim operation that tries to hold the per-CPU acomp ctx mutex. The vulnerability can cause an ABBA deadlock in certain scenarios.
Recommendations To resolve this issue, the crypto free acomp() call in zswap cpu comp dead() should be moved after the mutex is unlocked. Additionally, the acomp request free() and kfree() calls should be moved for consistency and to avoid potential subtle locking dependencies in the future. It is also recommended to move the NULL check on acomp ctx to take place before the mutex dereference. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
SUSE-SU-2025:01919-1
SUSE-SU-2025:01951-1
SUSE-SU-2025_01951-1
SUSE-SU-2025:01964-1
SUSE-SU-2025_01964-1
SUSE-SU-2025:01965-1
SUSE-SU-2025_01965-1
SUSE-SU-2025:01967-1
SUSE-SU-2025_01967-1
SUSE-SU-2025:01972-1
SUSE-SU-2025_01972-1
SUSE-SU-2025:02000-1
SUSE-SU-2025_02000-1
SUSE-SU-2025:20408-1
SUSE-SU-2025:20413-1
SUSE-SU-2025:20419-1
SUSE-SU-2025:20421-1
USN-7594-1
USN-7594-2
USN-7594-3
USN-7605-1
USN-7605-2
USN-7606-1
USN-7628-1
Found an issue in the description? Have something to add? Feel free to write us 👾