{"id":"CVE-2024-41080","state":"PUBLISHED","title":"io_uring: fix possible deadlock in io_register_iowq_max_workers()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: fix possible deadlock in io_register_iowq_max_workers()\n\nThe io_register_iowq_max_workers() function calls io_put_sq_data(),\nwhich acquires the sqd->lock without releasing the uring_lock.\nSimilar to the commit 009ad9f0c6ee (\"io_uring: drop ctx->uring_lock\nbefore acquiring sqd->lock\"), this can lead to a potential deadlock\nsituation.\n\nTo resolve this issue, the uring_lock is released before calling\nio_put_sq_data(), and then it is re-acquired after the function call.\n\nThis change ensures that the locks are acquired in the correct\norder, preventing the possibility of a deadlock.","publishedAt":"2024-07-29T15:04:17.642Z","updatedAt":"2026-05-11T20:25:48.375Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2b188cc1bb857a9d4701ae59aa7768b5124e262e","status":"affected","lessThan":"b17397a0a5c56e111f61cb5b77d162664dc00de9","versionType":"git"},{"version":"2b188cc1bb857a9d4701ae59aa7768b5124e262e","status":"affected","lessThan":"97ed7ff58de66c544692b3c2b988f3f594348de0","versionType":"git"},{"version":"2b188cc1bb857a9d4701ae59aa7768b5124e262e","status":"affected","lessThan":"fdacd09f2ddf7a00787291f08ee48c0421e5b709","versionType":"git"},{"version":"2b188cc1bb857a9d4701ae59aa7768b5124e262e","status":"affected","lessThan":"950ac86cff338ab56e2eaf611f4936ee34893b63","versionType":"git"},{"version":"2b188cc1bb857a9d4701ae59aa7768b5124e262e","status":"affected","lessThan":"b571a367502c7ef94c688ef9c7f7d69a2ce3bcca","versionType":"git"},{"version":"2b188cc1bb857a9d4701ae59aa7768b5124e262e","status":"affected","lessThan":"73254a297c2dd094abec7c9efee32455ae875bdf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["io_uring/register.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.1","versionType":"semver"},{"version":"5.10.230","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.173","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.118","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.62","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.11","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["io_uring/register.c"]}],"references":["https://git.kernel.org/stable/c/b17397a0a5c56e111f61cb5b77d162664dc00de9","https://git.kernel.org/stable/c/97ed7ff58de66c544692b3c2b988f3f594348de0","https://git.kernel.org/stable/c/fdacd09f2ddf7a00787291f08ee48c0421e5b709","https://git.kernel.org/stable/c/950ac86cff338ab56e2eaf611f4936ee34893b63","https://git.kernel.org/stable/c/b571a367502c7ef94c688ef9c7f7d69a2ce3bcca","https://git.kernel.org/stable/c/73254a297c2dd094abec7c9efee32455ae875bdf","https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/41xxx/CVE-2024-41080.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-41080","state":"PUBLISHED","datePublished":"2024-07-29T15:04:17.642Z","dateUpdated":"2026-05-11T20:25:48.375Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-07-12T12:17:45.633Z"},"containers":{"cna":{"title":"io_uring: fix possible deadlock in io_register_iowq_max_workers()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: fix possible deadlock in io_register_iowq_max_workers()\n\nThe io_register_iowq_max_workers() function calls io_put_sq_data(),\nwhich acquires the sqd->lock without releasing the uring_lock.\nSimilar to the commit 009ad9f0c6ee (\"io_uring: drop ctx->uring_lock\nbefore acquiring sqd->lock\"), this can lead to a potential deadlock\nsituation.\n\nTo resolve this issue, the uring_lock is released before calling\nio_put_sq_data(), and then it is re-acquired after the function call.\n\nThis change ensures that the locks are acquired in the correct\norder, preventing the possibility of a deadlock."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2b188cc1bb857a9d4701ae59aa7768b5124e262e","status":"affected","lessThan":"b17397a0a5c56e111f61cb5b77d162664dc00de9","versionType":"git"},{"version":"2b188cc1bb857a9d4701ae59aa7768b5124e262e","status":"affected","lessThan":"97ed7ff58de66c544692b3c2b988f3f594348de0","versionType":"git"},{"version":"2b188cc1bb857a9d4701ae59aa7768b5124e262e","status":"affected","lessThan":"fdacd09f2ddf7a00787291f08ee48c0421e5b709","versionType":"git"},{"version":"2b188cc1bb857a9d4701ae59aa7768b5124e262e","status":"affected","lessThan":"950ac86cff338ab56e2eaf611f4936ee34893b63","versionType":"git"},{"version":"2b188cc1bb857a9d4701ae59aa7768b5124e262e","status":"affected","lessThan":"b571a367502c7ef94c688ef9c7f7d69a2ce3bcca","versionType":"git"},{"version":"2b188cc1bb857a9d4701ae59aa7768b5124e262e","status":"affected","lessThan":"73254a297c2dd094abec7c9efee32455ae875bdf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["io_uring/register.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.1","versionType":"semver"},{"version":"5.10.230","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.173","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.118","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.62","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.11","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["io_uring/register.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b17397a0a5c56e111f61cb5b77d162664dc00de9"},{"url":"https://git.kernel.org/stable/c/97ed7ff58de66c544692b3c2b988f3f594348de0"},{"url":"https://git.kernel.org/stable/c/fdacd09f2ddf7a00787291f08ee48c0421e5b709"},{"url":"https://git.kernel.org/stable/c/950ac86cff338ab56e2eaf611f4936ee34893b63"},{"url":"https://git.kernel.org/stable/c/b571a367502c7ef94c688ef9c7f7d69a2ce3bcca"},{"url":"https://git.kernel.org/stable/c/73254a297c2dd094abec7c9efee32455ae875bdf"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:25:48.375Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"5.10.230"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"5.15.173"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.1.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.6.62"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.9.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1","versionEndExcluding":"6.10"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/b571a367502c7ef94c688ef9c7f7d69a2ce3bcca","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/73254a297c2dd094abec7c9efee32455ae875bdf","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:00:38.428Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-41080","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:21:08.458402Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:33:59.495Z"}}]}}}