cve/2024/CVE-2024-57949.md
2025-09-29 21:09:30 +02:00

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.

Github