CVE-2024-57949

irqchip/gic-v3-its: Don't enable interrupts in its_irq_set_vcpu_affinity()

Medium · published February 9, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
8.3
In the wild
Unconfirmed
What it is

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 ]

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00191 · 8.3th percentile
Published
2025-02-09T11:37Z
EPSS history
Timeline
  • 09 FEB 11:37Z
    irqchip/gic-v3-its: Don't enable interrupts in its_irq_set_vcpu_affinity()
    cvelistv5