PT-2024-31325 · Linux+4 · Linux Kernel+4
Al Viro
·
Published
2024-06-18
·
Updated
2026-03-14
·
CVE-2024-44957
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.6.50
Description
The issue is related to a deadlock that occurs when
irqfd wakeup() gets EPOLLHUP and is called by eventfd release() through wake up poll(&ctx->wqh, EPOLLHUP), which is called under spin lock irqsave(). This happens because a mutex cannot be used in this context, as it would lead to a deadlock. The fix involves switching from a mutex to a spinlock for irqfds. The vulnerability can be exploited through a local network attack vector.Recommendations
To resolve the issue, update the Linux kernel to version 6.6.50 or later. As a temporary workaround, consider restricting access to the vulnerable
irqfd wakeup() function until a patch is available.Exploit
Fix
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Debian
Linuxmint
Linux Kernel
Ubuntu