# CVE-2024-44957: xen: privcmd: Switch from mutex to spinlock for irqfds

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 8% of CVEs (2026-11-30)
- Published: 2024-09-04T18:35:55.939Z
- Modified: 2026-06-17T07:53:18.287Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 before c2775ae4d9227729f8ca9ee2a068f62a00d5ea9c; from f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 before 49f2a5da6785b2dbde93e291cae037662440346e; from f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6 before 1c682593096a487fd9aebc079a307ff7a6d054a3; 6.6 (not affected: before 6.6; from 6.6.46 up to 6.6.*; from 6.10.5 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 6.6.46; from 6.7 before 6.10.5

## References

- <https://git.kernel.org/stable/c/c2775ae4d9227729f8ca9ee2a068f62a00d5ea9c> (patch)
- <https://git.kernel.org/stable/c/49f2a5da6785b2dbde93e291cae037662440346e> (patch)
- <https://git.kernel.org/stable/c/1c682593096a487fd9aebc079a307ff7a6d054a3> (patch)

## Sources

- CVE List: [CVE-2024-44957](https://www.cve.org/CVERecord?id=CVE-2024-44957), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-44957](https://nvd.nist.gov/vuln/detail/CVE-2024-44957), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-44957 · Whole record: https://cve.day/CVE-2024-44957.json · Rebuilt by cve.day 2026-11-25T22:58:45.075Z
