CVE-2024-56585: Linux kernel · LoongArch: Fix sleeping in atomic context for PREEMPT_RT
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 19 Nov 2026, 02:28 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 18 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-realtimepkg:deb/ubuntu/linux-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.5pkg:deb/ubuntu/linux-aws-6.5?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available that disables NUMA optimization for PREEMPT_RT kernels, resolving the sleeping in atomic context error. Users should apply the updated Linux kernel versions that include this fix. No additional mitigation is required beyond applying the official patch.
Description
CVE-2024-56585 addresses a vulnerability in the Linux kernel on LoongArch architecture related to sleeping in atomic context under PREEMPT_RT. The issue arises because normal spinlocks are replaced by rt spinlocks in PREEMPT_RT kernels, causing sleeping in atomic context errors during memory allocation with alloc_pages_node(). The fix involves disabling NUMA optimization completely for PREEMPT_RT kernels to prevent this error.
References
- ubuntu.com/security/CVE-2024-56585 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-56585 (opens in a new tab)
- git.kernel.org/linus/88fd2b70120d52c1010257d36776876941375490 (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)