CVE-2024-57949

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-57949
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-57949.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-57949
Downstream
Published
2025-02-09T11:37:23.906Z
Modified
2025-11-28T02:34:35.204348Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
irqchip/gic-v3-its: Don't enable interrupts in its_irq_set_vcpu_affinity()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

The following call-chain leads to enabling interrupts in a nested interrupt disabled section:

irqsetvcpuaffinity() irqgetdesclock() rawspinlockirqsave() <--- Disable interrupts itsirqsetvcpuaffinity() guard(rawspinlockirq) <--- Enables interrupts when leaving the guard() irqputdescunlock() <--- Warns because interrupts are enabled

This was broken in commit b97e8a2f7130, which replaced the original rawspin[un]lock() pair with guard(rawspinlockirq).

Fix the issue by using guard(raw_spinlock).

[ tglx: Massaged change log ]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57949.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2458f2362f695584bd824c922caa07ffc4fe0d5c
Fixed
d7b0e89610dd45ac6cf0d6f99bfa9ccc787db344
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5c0fb9cb404a2efbbc319ff9d1b877cf4e47e950
Fixed
6c84ff2e788fce0099ee3e71a3ed258b1ca1a223
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b97e8a2f7130a4b30d1502003095833d16c028b3
Fixed
93955a7788121ab5a0f7f27e988b2ed1135a4866
Fixed
35cb2c6ce7da545f3b5cb1e6473ad7c3a6f08310
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
c11039edbabdbccf0728844f1002d750d06f9eff

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.1.127
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.74
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.11