CVE-2024-44957

Source
https://cve.org/CVERecord?id=CVE-2024-44957
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-44957.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-44957
Downstream
Related
Published
2024-09-04T18:35:55.939Z
Modified
2026-03-09T23:58:08.061630Z
Summary
xen: privcmd: Switch from mutex to spinlock for irqfds
Details

In the Linux kernel, the following vulnerability has been resolved:

xen: privcmd: Switch from mutex to spinlock for irqfds

irqfdwakeup() gets EPOLLHUP, when it is called by eventfdrelease() by way of wakeuppoll(&ctx->wqh, EPOLLHUP), which gets called under spinlockirqsave(). We can't use a mutex here as it will lead to a deadlock.

Fix it by switching over to a spin lock.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/44xxx/CVE-2024-44957.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6
Fixed
c2775ae4d9227729f8ca9ee2a068f62a00d5ea9c
Fixed
49f2a5da6785b2dbde93e291cae037662440346e
Fixed
1c682593096a487fd9aebc079a307ff7a6d054a3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-44957.json"