Menu

Star on GitHub · 3.2k

CVE-2024-39508

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: io_uring/io-wq: Use set_bit() and test_bit() at worker->flags Utilize set_bit() and test_bit() on worker->flags within io_uring…

Published Jul 12, 2024CWE-362EPSS 0.22%

Overview

CVE-2024-39508 is a high-severity vulnerability. It was published on July 12, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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/io-wq: Use set_bit() and test_bit() at worker->flags

Utilize set_bit() and test_bit() on worker->flags within io_uring/io-wq

to address potential data races.

The structure io_worker->flags may be accessed through various data

paths, leading to concurrency issues. When KCSAN is enabled, it reveals

data races occurring in io_worker_handle_work and

io_wq_activate_free_worker functions.

BUG: KCSAN: data-race in io_worker_handle_work / io_wq_activate_free_worker

write to 0xffff8885c4246404 of 4 bytes by task 49071 on cpu 28:

io_worker_handle_work (io_uring/io-wq.c:434 io_uring/io-wq.c:569)

io_wq_worker (io_uring/io-wq.c:?)

<snip>

read to 0xffff8885c4246404 of 4 bytes by task 49024 on cpu 5:

io_wq_activate_free_worker (io_uring/io-wq.c:? io_uring/io-wq.c:285)

io_wq_enqueue (io_uring/io-wq.c:947)

io_queue_iowq (io_uring/io_uring.c:524)

io_req_task_submit (io_uring/io_uring.c:1511)

io_handle_t

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-39508?

CVE-2024-39508 is a high-severity vulnerability. It was published on July 12, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-39508?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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-39508?

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-39508?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-39508 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 HIGH CVEs from 2024

View all