CVE-2024-56585: Linux kernel · LoongArch: Fix sleeping in atomic context for PREEMPT_RT
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:48 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented that disables NUMA optimization for PREEMPT_RT kernels, preventing sleeping in atomic context errors. Users should update to kernel versions including this fix.
Description
CVE-2024-56585 addresses a Linux kernel vulnerability specific to the LoongArch architecture with PREEMPT_RT enabled. The issue involves a 'sleeping in atomic context' error caused by the use of rt_spin_lock() in PREEMPT_RT kernels, which replaces normal spinlocks with real-time spinlocks that may sleep. This can lead to kernel BUGs during early CPU initialization. The fix disables NUMA optimization for PREEMPT_RT kernels to prevent sleeping in atomic context.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56585 (opens in a new tab)
- git.kernel.org/stable/c/08715b741f9b2a925d6485491e4907f3b29bac70 (opens in a new tab)
- git.kernel.org/stable/c/6575e0867bd478a5d7ef1783ca1e73160807d238 (opens in a new tab)
- git.kernel.org/stable/c/88fd2b70120d52c1010257d36776876941375490 (opens in a new tab)
- git.kernel.org/stable/c/c5f89458a2ea0800866b9fc690d3fa8367dc8f8d (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)