CVE-2024-44957 xen: privcmd: Switch from mutex to spinlock for irqfds
A race condition in the Linux kernel Xen privcmd driver can cause a deadlock, leading to a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-44957?
CVE-2024-44957 is a medium-severity vulnerability in Linux kernel, published on 4 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-667
Which versions are affected by CVE-2024-44957?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-44957?
Apply the vendor's patch.
Is CVE-2024-44957 being exploited?
There is no known exploitation of CVE-2024-44957 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-48789, BELL-CVE-2024-44957, DEBIAN-CVE-2024-44957, GHSA-m5q9-gx2f-vvf3, ROOT-OS-DEBIAN-11-CVE-2024-44957, ROOT-OS-DEBIAN-12-CVE-2024-44957 and 1 more.