CVE-2024-41080

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-41080
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41080.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-41080
Downstream
Related
Published
2024-07-29T15:04:17.642Z
Modified
2025-11-28T02:34:48.471812Z
Summary
io_uring: fix possible deadlock in io_register_iowq_max_workers()
Details

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

iouring: fix possible deadlock in ioregisteriowqmax_workers()

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

To resolve this issue, the uringlock is released before calling ioputsqdata(), 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41080.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2b188cc1bb857a9d4701ae59aa7768b5124e262e
Fixed
b17397a0a5c56e111f61cb5b77d162664dc00de9
Fixed
97ed7ff58de66c544692b3c2b988f3f594348de0
Fixed
fdacd09f2ddf7a00787291f08ee48c0421e5b709
Fixed
950ac86cff338ab56e2eaf611f4936ee34893b63
Fixed
b571a367502c7ef94c688ef9c7f7d69a2ce3bcca
Fixed
73254a297c2dd094abec7c9efee32455ae875bdf

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.1.0
Fixed
5.10.230
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.173
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.118
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.62
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.11