Vulnerability in Linux
CVE-2024-57949
In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v3-its: Don't enable interrupts in its_irq_set_vcpu_affinity()
The following call-chain leads to enabling interrupts in a nested interrupt
disabled section:
irq_set_vcpu_affinity()
irq_get_desc_lock()
raw_spin_lock_irqsave() <--- Disable interrupts
its_irq_set_vcpu_affinity()
guard(raw_spinlock_irq) <--- Enables interrupts when leaving the guard()
irq_put_desc_unlock() <--- Warns because interrupts are enabled
This was broken in commit b97e8a2f7130, which replaced the original
raw_spin_[un]lock() pair with guard(raw_spinlock_irq).
Fix the issue by using guard(raw_spinlock).
[ tglx: Massaged change log ]
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 8.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 6.1.95, c11039edbabdbccf0728844f1002d750d06f9eff, 0
- Linux Kernel — versions 6.13
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/d7b0e89610dd45ac6cf0d6f99bfa9ccc787db344 (Patch)
- git.kernel.org/stable/c/6c84ff2e788fce0099ee3e71a3ed258b1ca1a223 (Patch)
- git.kernel.org/stable/c/93955a7788121ab5a0f7f27e988b2ed1135a4866 (Patch)
- git.kernel.org/stable/c/35cb2c6ce7da545f3b5cb1e6473ad7c3a6f08310 (Patch)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html