CVE-2024-44957
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelbefore 6.6.46, from 6.7 before 6.10.5NVD

Classification

CWE-667

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

SourceRecordLicence
CVE ListCVE-2024-44957 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-44957 changed 2026-06-17Public domain