PT-2024-35518 · Linux+10 · Linux Kernel+10

Peter Mann

·

Published

2024-10-31

·

Updated

2025-11-12

·

CVE-2024-53052

CVSS v2.0

4.6

Medium

VectorAV:L/AC:L/Au:S/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.12.0-rc5
Description The issue arises when io uring starts a write, calling kiocb start write() to bump the super block rwsem, which can cause a deadlock if someone is attempting to freeze the mount point. This results in a stuck trace, showing the dependency with the write blocked from starting a new write. The freeze side grabs the rwsem for writing, excluding new writers and waiting for existing writes to finish. However, io uring unconditionally uses kiocb start write(), which will block if someone is currently attempting to freeze the mount point. This can be triggered when IOCB NOWAIT is not set, causing io uring to attempt a blocking grab of the super block rwsem. The fix involves having the io uring side honor IOCB NOWAIT, returning -EAGAIN and allowing io uring core to issue a blocking attempt of the write, ensuring forward progress.
Recommendations To resolve the issue, update the Linux kernel to a version that includes the fix for the missing NOWAIT check for O DIRECT start write. As a temporary workaround, consider restricting the use of io uring to minimize the risk of exploitation. Additionally, ensure that only authorized users with CAP SYS ADMIN privileges can trigger the freezing mechanism, as regular users cannot exploit this issue.

Exploit

Fix

Improper Locking

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025:20518
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALSA-2025_18281
ALSA-2025_19102
ALSA-2025_19103
ALSA-2025_19409
ALSA-2025_20518
ALT-PU-2024-16040
ALT-PU-2024-17099
ALT-PU-2024-17211
ALT-PU-2024-17254
ALT-PU-2024-17891
ALT-PU-2025-12647
AZL-53864
AZL-53957
BDU:2025-03329
CVE-2024-53052
DLA-4008-1
DLA-4075-1
DSA-5818-1
INFSA-2025_20518
OESA-2024-2491
OESA-2024-2492
OESA-2024-2493
OESA-2024-2494
OESA-2024-2520
OPENSUSE-SU-2024_4314-1
OPENSUSE-SU-2024_4315-1
OPENSUSE-SU-2024_4316-1
OPENSUSE-SU-2024_4376-1
RHSA-2025:20518
RHSA-2025_20518
SUSE-SU-2024:4314-1
SUSE-SU-2024:4315-1
SUSE-SU-2024:4316-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4364-1
SUSE-SU-2024:4376-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-7276-1
USN-7277-1
USN-7288-1
USN-7288-2
USN-7289-1
USN-7289-2
USN-7289-3
USN-7289-4
USN-7291-1
USN-7305-1
USN-7308-1
USN-7310-1
USN-7331-1
USN-7388-1
USN-7389-1
USN-7390-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7458-1
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu