Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-44957

xen: privcmd: Switch from mutex to spinlock for irqfds

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 to < c2775ae4d9227729f8ca9ee2a068f62a00d5ea9caffected
  • f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 to < 49f2a5da6785b2dbde93e291cae037662440346eaffected
  • f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 to < 1c682593096a487fd9aebc079a307ff7a6d054a3affected

Linux Linux

Default version status: affected

  • 6.6affected
  • 0 to < 6.6unaffected
  • 6.6.46 to ≤ 6.6.*unaffected
  • 6.10.5 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References