In the Linux kernel, the following vulnerability has been...
Moderate severity
Unreviewed
Published
Sep 4, 2024
to the GitHub Advisory Database
•
Updated Sep 6, 2024
Description
Published by the National Vulnerability Database
Sep 4, 2024
Published to the GitHub Advisory Database
Sep 4, 2024
Last updated
Sep 6, 2024
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.
References