CVE-2024-57949
kernel: irqchip/gic-v3-its: Don't enable interrupts in its_irq_set_vcpu_affinity()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 9, 2025
Updated · October 30, 2026
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 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 ]
Statement
This vulnerability is classified as Moderate severity because it requires local access on ARM64 systems with GICv3 ITS virtualization, restricting the potential impact to system instability or denial of service rather than privilege escalation. Red Hat Enterprise Linux kernels are not affected by this flaw as the regression was not backported into supported releases.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-667 · Improper Locking