{"id":"CVE-2024-44957","state":"PUBLISHED","title":"xen: privcmd: Switch from mutex to spinlock for irqfds","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxen: privcmd: Switch from mutex to spinlock for irqfds\n\nirqfd_wakeup() gets EPOLLHUP, when it is called by\neventfd_release() by way of wake_up_poll(&ctx->wqh, EPOLLHUP), which\ngets called under spin_lock_irqsave(). We can't use a mutex here as it\nwill lead to a deadlock.\n\nFix it by switching over to a spin lock.","publishedAt":"2024-09-04T18:35:55.939Z","updatedAt":"2026-05-11T20:32:42.411Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6","status":"affected","lessThan":"c2775ae4d9227729f8ca9ee2a068f62a00d5ea9c","versionType":"git"},{"version":"f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6","status":"affected","lessThan":"49f2a5da6785b2dbde93e291cae037662440346e","versionType":"git"},{"version":"f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6","status":"affected","lessThan":"1c682593096a487fd9aebc079a307ff7a6d054a3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/xen/privcmd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.46","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.5","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/xen/privcmd.c"]}],"references":["https://git.kernel.org/stable/c/c2775ae4d9227729f8ca9ee2a068f62a00d5ea9c","https://git.kernel.org/stable/c/49f2a5da6785b2dbde93e291cae037662440346e","https://git.kernel.org/stable/c/1c682593096a487fd9aebc079a307ff7a6d054a3"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/44xxx/CVE-2024-44957.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-44957","state":"PUBLISHED","datePublished":"2024-09-04T18:35:55.939Z","dateUpdated":"2026-05-11T20:32:42.411Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-21T05:34:56.666Z"},"containers":{"cna":{"title":"xen: privcmd: Switch from mutex to spinlock for irqfds","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxen: privcmd: Switch from mutex to spinlock for irqfds\n\nirqfd_wakeup() gets EPOLLHUP, when it is called by\neventfd_release() by way of wake_up_poll(&ctx->wqh, EPOLLHUP), which\ngets called under spin_lock_irqsave(). We can't use a mutex here as it\nwill lead to a deadlock.\n\nFix it by switching over to a spin lock."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6","status":"affected","lessThan":"c2775ae4d9227729f8ca9ee2a068f62a00d5ea9c","versionType":"git"},{"version":"f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6","status":"affected","lessThan":"49f2a5da6785b2dbde93e291cae037662440346e","versionType":"git"},{"version":"f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6","status":"affected","lessThan":"1c682593096a487fd9aebc079a307ff7a6d054a3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/xen/privcmd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.46","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.5","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/xen/privcmd.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c2775ae4d9227729f8ca9ee2a068f62a00d5ea9c"},{"url":"https://git.kernel.org/stable/c/49f2a5da6785b2dbde93e291cae037662440346e"},{"url":"https://git.kernel.org/stable/c/1c682593096a487fd9aebc079a307ff7a6d054a3"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:32:42.411Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.46"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.10.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-44957","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T17:40:00.406164Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-12T17:33:36.345Z"}}]}}}