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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-02-09T11:37:23.906Z
- Modified: 2026-06-17T08:14:18.007Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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 ]

(As written by CVE List.)

## Affected

- Linux Linux: from 2458f2362f695584bd824c922caa07ffc4fe0d5c before d7b0e89610dd45ac6cf0d6f99bfa9ccc787db344; from 5c0fb9cb404a2efbbc319ff9d1b877cf4e47e950 before 6c84ff2e788fce0099ee3e71a3ed258b1ca1a223; from b97e8a2f7130a4b30d1502003095833d16c028b3 before 93955a7788121ab5a0f7f27e988b2ed1135a4866; from b97e8a2f7130a4b30d1502003095833d16c028b3 before 35cb2c6ce7da545f3b5cb1e6473ad7c3a6f08310; c11039edbabdbccf0728844f1002d750d06f9eff; from 6.1.95 before 6.1.127; from 6.6.35 before 6.6.74; from 6.9.6 before 6.10; 6.10 (not affected: before 6.10; from 6.1.127 up to 6.1.*; from 6.6.74 up to 6.6.*; from 6.12.11 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.1.95 before 6.1.127; from 6.6.35 before 6.6.74; from 6.9.6 before 6.12.11; 6.13

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d7b0e89610dd45ac6cf0d6f99bfa9ccc787db344> (patch)
- <https://git.kernel.org/stable/c/6c84ff2e788fce0099ee3e71a3ed258b1ca1a223> (patch)
- <https://git.kernel.org/stable/c/93955a7788121ab5a0f7f27e988b2ed1135a4866> (patch)
- <https://git.kernel.org/stable/c/35cb2c6ce7da545f3b5cb1e6473ad7c3a6f08310> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

- CVE List: [CVE-2024-57949](https://www.cve.org/CVERecord?id=CVE-2024-57949), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-57949](https://nvd.nist.gov/vuln/detail/CVE-2024-57949), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-57949 · Whole record: https://cve.day/CVE-2024-57949.json · Rebuilt by cve.day 2026-11-25T22:58:51.450Z
