All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-44957

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-18

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.

A flaw was found in the Linux kernel's Xen privcmd module. An issue with the locking mechanism, specifically using a mutex where a spinlock was required, could lead to a system deadlock. A local attacker with low privileges could exploit this vulnerability to cause a Denial of Service (DoS), making the system unresponsive.