← CVE Intelligence

CVE-2024-44957

xen: privcmd: Switch from mutex to spinlock for irqfds PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 before c2775ae4d9227729f8ca9ee2a068f62a00d5ea9c; affected f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 before 49f2a5da6785b2dbde93e291cae037662440346e; affected f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 before 1c682593096a487fd9aebc079a307ff7a6d054a3
Linux / Linuxaffected 6.6; unaffected 0 before 6.6; unaffected 6.6.46 through 6.6.*; unaffected 6.10.5 through 6.10.*; unaffected 6.11 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.