What’s Vulnerable › Vulnerabilities
CVE-2024-44957: xen: privcmd: Switch from mutex to spinlock for irqfds
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-04 · updated 2026-06-17
- Weakness: CWE-667
Description
In the Linux kernel, the following vulnerability has been resolved: xen: privcmd: Switch from mutex to spinlock for irqfds irqfd_wakeup() gets EPOLLHUP, when it is called by eventfd_release() by way of wake_up_poll(&ctx->wqh, EPOLLHUP), which gets called under spin_lock_irqsave(). We can't use a mutex here as it will lead to a deadlock. Fix it by switching over to a spin lock.
Affected products
- Linux kernel: before 6.6.46; from 6.7 before 6.10.5 — fixed in 6.10.5, 6.6.46
How to fix
Upgrade to a fixed version: Linux kernel 6.10.5, 6.6.46. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1c682593096a487fd9aebc079a307ff7a6d054a3
- https://git.kernel.org/stable/c/49f2a5da6785b2dbde93e291cae037662440346e
- https://git.kernel.org/stable/c/c2775ae4d9227729f8ca9ee2a068f62a00d5ea9c
Get alerted when CVE-2024-44957 or the next vulnerability affects your stack