mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-28 18:48:49 +00:00
1.7 KiB
1.7 KiB
CVE-2024-57949
Description
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 interruptdisabled 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 enabledThis was broken in commit b97e8a2f7130, which replaced the originalraw_spin_[un]lock() pair with guard(raw_spinlock_irq).Fix the issue by using guard(raw_spinlock).[ tglx: Massaged change log ]
POC
Reference
No PoCs from references.