Menu

Star on GitHub · 3.2k

CVE-2024-53052

4.4 · MEDIUM

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…

Published Nov 19, 2024CWE-667EPSS 0.18%

Overview

CVE-2024-53052 is a medium-severity vulnerability. It was published on November 19, 2024 and has a CVSS 3.1 base score of 4.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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

__sche

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-53052?

CVE-2024-53052 is a medium-severity vulnerability. It was published on November 19, 2024 and has a CVSS 3.1 base score of 4.4 (MEDIUM).

How severe is CVE-2024-53052?

This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-53052?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-53052?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-53052 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all