CVE-2024-53052

medium
Published 2025-11-11 · Modified 2025-11-19
CVSS v3
CVSS v2
VIR risk
5.5

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring/rw: fix missing NOWAIT check for O_DIRECT start write When io_uring starts a write, it'll call kiocb_start_write() to bump the super block rwsem, preventing any freezes from happening while that write is in-flight. The freeze side will grab that rwsem for writing, excluding any new writers from happening and waiting for existing writes to finish. But io_uring unconditionally uses kiocb_start_write(), which will block if someone is currently attempting to freeze the mount point. This causes a deadlock where freeze is waiting for previous writes to complete, but the previous writes cannot complete, as the task that is supposed to complete them is blocked waiting on starting a new write. This results in the following stuck trace showing that dependency with the write blocked starting a new write: task:fio state:D stack:0 pid:886 tgid:886 ppid:876 Call trace: __switch_to+0x1d8/0x348 __schedule+0x8e8/0x2248 schedule+0x110/0x3f0 percpu_rwsem_wait+0x1e8/0x3f8 __percpu_down_read+0xe8/0x500 io_write+0xbb8/0xff8 io_issue_sqe+0x10c/0x1020 io_submit_sqes+0x614/0x2110 __arm64_sys_io_uring_enter+0x524/0x1038 invoke_syscall+0x74/0x268 el0_svc_common.constprop.0+0x160/0x238 do_el0_svc+0x44/0x60 el0_svc+0x44/0xb0 el0t_64_sync_handler+0x118/0x128 el0t_64_sync+0x168/0x170 INFO: task fsfreeze:7364 blocked for more than 15 seconds. Not tainted 6.12.0-rc5-00063-g76aaf945701c #7963 with the attempting freezer stuck trying to grab the rwsem: task:fsfreeze state:D stack:0 pid:7364 tgid:7364 ppid:995 Call trace: __switch_to+0x1d8/0x348 __schedule+0x8e8/0x2248 schedule+0x110/0x3f0 percpu_down_write+0x2b0/0x680 freeze_super+0x248/0x8a8 do_vfs_ioctl+0x149c/0x1b18 __arm64_sys_ioctl+0xd0/0x1a0 invoke_syscall+0x74/0x268 el0_svc_common.constprop.0+0x160/0x238 do_el0_svc+0x44/0x60 el0_svc+0x44/0xb0 el0t_64_sync_handler+0x118/0x128 el0t_64_sync+0x168/0x170 Fix this by having the io_uring side honor IOCB_NOWAIT, and only attempt a blocking grab of the super block rwsem if it isn't set. For normal issue where IOCB_NOWAIT would always be set, this returns -EAGAIN which will have io_uring core issue a blocking attempt of the write. That will in turn also get completions run, ensuring forward progress. Since freezing requires CAP_SYS_ADMIN in the first place, this isn't something that can be triggered by a regular user.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: alma — https://errata.almalinux.org/9/ALSA-2025-20518.html

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2383441

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2376076

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2369184

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2363380

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2360215

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2351633

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2351629

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2351625

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2351624

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2351620

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2351618

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2351616

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2351613

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2351612

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2351608

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2351606

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350726

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350725

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350589

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350585

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350400

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350397

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350396

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350392

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350388

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350386

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350375

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350374

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350367

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2350363

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348901

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348654

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348650

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348645

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348634

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348625

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348620

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348615

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348601

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348600

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348597

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348595

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348587

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348585

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348584

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348581

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348578

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348577

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348574

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348573

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348566

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348556

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348554

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348550

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348547

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348543

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348541

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348528

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348523

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348515

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348279

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348240

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348238

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348071

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2348022

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2347968

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2347919

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2347859

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2347807

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2347781

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2347759

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2347753

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2347707

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2346272

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2345240

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2344687

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2344684

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2343175

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2343172

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2338832

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2338828

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2338814

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2337124

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2337121

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2336541

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2334829

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2334795

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2334676

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2334560

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2334548

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2334547

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2334537

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2334439

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2334415

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2334396

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2334357

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2331326

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2330341

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2329918

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2327887

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2327374

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2327203

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2324549

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2320722

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2320616

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2320455

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2320259

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2320172

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2313092

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2312077

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2298169

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-53052

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2025:20518

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2024-53052.html

vendor Authored 2026-05-27

Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2025:20518

OS impact

OSVersionStatusFixed in
redhat rhel9fixed
suse slesaffected
rockylinux rocky9fixed
debian debianbookwormfixed6.1.119-1
debian debianbullseyefixed5.10.234-1
debian debianforkyfixed6.11.7-1
debian debiansidfixed6.11.7-1
debian debiantrixiefixed6.11.7-1
almalinux almalinux9fixedkernel-doc-5.14.0-611.5.1.el9_7.noarch.rpm

References

Verify integrity in audit chain (admin only). AS-IS.