CVE-2024-57949
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
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 ]

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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 *
CVE List
linux linux_kernelfrom 6.1.95 before 6.1.127, from 6.6.35 before 6.6.74, from 6.9.6 before 6.12.11, 6.13NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-667

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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 ]

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: irqchip/gic-v3-its: No habilitar interrupciones en its_irq_set_vcpu_affinity() La siguiente cadena de llamadas lleva a habilitar interrupciones en una sección de interrupción deshabilitada anidada: irq_set_vcpu_affinity() irq_get_desc_lock() raw_spin_lock_irqsave() &lt;--- Deshabilitar interrupciones its_irq_set_vcpu_affinity() guard(raw_spinlock_irq) &lt;--- Habilita interrupciones al salir de guard() irq_put_desc_unlock() &lt;--- Advierte porque las interrupciones están habilitadas Esto se rompió en el commit b97e8a2f7130, que reemplazó el par original raw_spin_[un]lock() con guard(raw_spinlock_irq). Solucione el problema usando guard(raw_spinlock). [ tglx: Registro de cambios modificado ]

References

Sources

SourceRecordLicence
CVE ListCVE-2024-57949 changed 2026-05-23CVE Terms of Use
NVDCVE-2024-57949 changed 2026-06-17Public domain