CVE-2024-44957

xen: privcmd: Switch from mutex to spinlock for irqfds

published September 4, 2024

CVSS
—
EPSS
0%
Percentile
5.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00164 · 5.3th percentile
Published
2024-09-04T18:35Z
EPSS history
Timeline
  • 04 SEP 18:35Z
    xen: privcmd: Switch from mutex to spinlock for irqfds
    cvelistv5