CVE-2024-44957

xen: privcmd: Switch from mutex to spinlock for irqfds

State
Published
Severity
Not scored
Published
Sep 4, 2024
Updated
May 11, 2026
Reserved
Aug 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 to before c2775ae4d9227729f8ca9ee2a068f62a00d5ea9cAffected
  • f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 to before 49f2a5da6785b2dbde93e291cae037662440346eAffected
  • f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 to before 1c682593096a487fd9aebc079a307ff7a6d054a3Affected
LinuxLinux
  • 6.6Affected
  • before 6.6Not affected
  • 6.6.46 through 6.6.*Not affected
  • 6.10.5 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.