# CVE-2024-53052: io\_uring/rw: fix missing NOWAIT check for O\_DIRECT start write

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.4
- **CVSS:** 4.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 8, 2026-11-28)
- **CWE:** CWE-667
- **Published:** 2024-11-19T17:19:37.067Z
- **Modified:** 2026-06-17T08:08:08.913Z

## Who should check

- Anyone running Linux \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 485d9232112b17f389b29497ff41b97b3189546b; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 4e24041ba86d50aaa4c792ae2c88ed01b3d96243; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 9e8debb8e51354b201db494689198078ec2c1e75; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 003d2996964c03dfd34860500428f4cdf1f5879e; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 26b8c48f369b7591f5679e0b90612f4862a32929; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 1d60d74e852647255bd8e76f5a22dc42531e4389
- Anyone running Linux 5.1

## 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.

## Affected and fixed versions

- Linux: \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 485d9232112b17f389b29497ff41b97b3189546b; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 4e24041ba86d50aaa4c792ae2c88ed01b3d96243; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 9e8debb8e51354b201db494689198078ec2c1e75; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 003d2996964c03dfd34860500428f4cdf1f5879e; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 26b8c48f369b7591f5679e0b90612f4862a32929; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 1d60d74e852647255bd8e76f5a22dc42531e4389 (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- Upgrade Linux to 1d60d74e852647255bd8e76f5a22dc42531e4389 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-53052. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53052.md
Affected: Linux >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 485d9232112b17f389b29497ff41b97b3189546b; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 4e24041ba86d50aaa4c792ae2c88ed01b3d96243; >= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, < 9e8debb8e51354b201db494689198078ec2c1e75; >= 2b188cc1bb857a9d4701ae5…
Fixed in: Linux 485d9232112b17f389b29497ff41b97b3189546b, Linux 4e24041ba86d50aaa4c792ae2c88ed01b3d96243, Linux 9e8debb8e51354b201db494689198078ec2c1e75, Linux 003d2996964c03dfd34860500428f4cdf1f5879e, Linux 26b8c48f369b7591f5679e0b90612f4862a32929, Linux 1d60d74e852647255bd8e76f5a22dc42531e4389

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-53052 being exploited?

There is no confirmed exploitation: CVE-2024-53052 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-53052?

Medium: CVSS 4.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-53052?

Linux \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 485d9232112b17f389b29497ff41b97b3189546b; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 4e24041ba86d50aaa4c792ae2c88ed01b3d96243; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 9e8debb8e51354b201db494689198078ec2c1e75; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 003d2996964c03dfd34860500428f4cdf1f5879e; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 26b8c48f369b7591f5679e0b90612f4862a32929; \>= 2b188cc1bb857a9d4701ae59aa7768b5124e262e, \< 1d60d74e852647255bd8e76f5a22dc42531e4389; Linux 5.1.

### Is there a fix for CVE-2024-53052?

Yes. Fixed in Linux 485d9232112b17f389b29497ff41b97b3189546b, Linux 4e24041ba86d50aaa4c792ae2c88ed01b3d96243, Linux 9e8debb8e51354b201db494689198078ec2c1e75, Linux 003d2996964c03dfd34860500428f4cdf1f5879e, Linux 26b8c48f369b7591f5679e0b90612f4862a32929, Linux 1d60d74e852647255bd8e76f5a22dc42531e4389. Upgrade Linux to 1d60d74e852647255bd8e76f5a22dc42531e4389 or later.

### How do I check if I'm affected by CVE-2024-53052?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/485d9232112b17f389b29497ff41b97b3189546b>
- patch: <https://git.kernel.org/stable/c/4e24041ba86d50aaa4c792ae2c88ed01b3d96243>
- patch: <https://git.kernel.org/stable/c/9e8debb8e51354b201db494689198078ec2c1e75>
- patch: <https://git.kernel.org/stable/c/003d2996964c03dfd34860500428f4cdf1f5879e>
- patch: <https://git.kernel.org/stable/c/26b8c48f369b7591f5679e0b90612f4862a32929>
- patch: <https://git.kernel.org/stable/c/1d60d74e852647255bd8e76f5a22dc42531e4389>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-53052>

HTML: <https://flawdb.com/CVE-2024-53052> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-53052>
