CVE-2024-41080

io_uring: fix possible deadlock in io_register_iowq_max_workers()

No CVSS score yet EPSS 0.20%

Published 29 Jul 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-41080

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-41080 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

io_uring: fix possible deadlock in io_register_iowq_max_workers()

The io_register_iowq_max_workers() function calls io_put_sq_data(), which acquires the sqd->lock without releasing the uring_lock. Similar to the commit 009ad9f0c6ee ("io_uring: drop ctx->uring_lock before acquiring sqd->lock"), this can lead to a potential deadlock situation.

To resolve this issue, the uring_lock is released before calling io_put_sq_data(), and then it is re-acquired after the function call.

This change ensures that the locks are acquired in the correct order, preventing the possibility of a deadlock.

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.0% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 2b188cc1bb857a9d4701ae59aa7768b5124e262e, before b17397a0a5c56e111f61cb5b77d162664dc00de9
affected from 2b188cc1bb857a9d4701ae59aa7768b5124e262e, before 97ed7ff58de66c544692b3c2b988f3f594348de0
affected from 2b188cc1bb857a9d4701ae59aa7768b5124e262e, before fdacd09f2ddf7a00787291f08ee48c0421e5b709
affected from 2b188cc1bb857a9d4701ae59aa7768b5124e262e, before 950ac86cff338ab56e2eaf611f4936ee34893b63
affected from 2b188cc1bb857a9d4701ae59aa7768b5124e262e, before b571a367502c7ef94c688ef9c7f7d69a2ce3bcca
affected from 2b188cc1bb857a9d4701ae59aa7768b5124e262e, before 73254a297c2dd094abec7c9efee32455ae875bdf
Other versions: unaffected
Linux
affected 5.1
unaffected before 5.1
unaffected from 5.10.230 up to and including 5.10.*
unaffected from 5.15.173 up to and including 5.15.*
unaffected from 6.1.118 up to and including 6.1.*
unaffected from 6.6.62 up to and including 6.6.*
unaffected from 6.9.11 up to and including 6.9.*
unaffected 6.10 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-41080 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-41080

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-41080
trivy image --scanners vuln IMAGE | grep CVE-2024-41080

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-41080 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.