CVE-2024-57949
MediumIn 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 ]
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-667CVE-2024-57949 is a Improper Locking vulnerability
What is Improper Locking?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.1.95,
6.6.35,
6.9.6,
6.10
and later are affected. Fixed in
6.1.127,
6.6.74,
6.12.11,
6.13
and their respective stable series.
References
The following references provide additional information about CVE-2024-57949 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/35cb2c6ce7da545f3b5cb1e6473ad7c3a6f08310
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6c84ff2e788fce0099ee3e71a3ed258b1ca1a223
-
PatchKernel patch commithttps://git.kernel.org/stable/c/93955a7788121ab5a0f7f27e988b2ed1135a4866
Frequently asked questions
-
What is CVE-2024-57949?
CVE-2024-57949 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Improper Locking flaw (CWE-667) . It affects Linux kernel versions from 6.1.95 onward and has been patched in 6.1.127, 6.6.74, 6.12.11 and others. CVE-2024-57949 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-57949?
CVE-2024-57949 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-57949?
Yes — CVE-2024-57949 has been patched. Fixed versions include 6.1.127, 6.6.74, 6.12.11 and others. If you are running Linux kernel 6.1.95 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-57949 actively exploited?
No — CVE-2024-57949 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Improper Locking (CWE-667)?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. View CWE-667 on MITRE CWE →