5.5medium
xen: privcmd: Switch from mutex to spinlock for irqfds
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.23% (higher than 8% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 before c2775ae4d9227729f8ca9ee2a068f62a00d5ea9c, from f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 before 49f2a5da6785b2dbde93e291cae037662440346e, from f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 before 1c682593096a487fd9aebc079a307ff7a6d054a3, 6.6 Not affected: before 6.6, from 6.6.46 up to 6.6.*, from 6.10.5 up to 6.10.*, from 6.11 up to * | CVE List |
| linux linux_kernel | before 6.6.46, from 6.7 before 6.10.5 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: xen: privcmd: Cambiar de mutex a spinlock para irqfds irqfd_wakeup() obtiene EPOLLHUP, cuando es llamado por eventfd_release() por medio de wake_up_poll(&ctx->wqh, EPOLLHUP), que se llama bajo spin_lock_irqsave(). No podemos usar un mutex aquí ya que conduciría a un interbloqueo. Arréglelo cambiando a un spinlock.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-44957 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-44957 changed 2026-06-17 | Public domain |