CVE-2024-40914: Linux kernel · mm/huge_memory: don't unpoison huge_zero_folio
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 02:38 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 12 Jul 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 for this issue is available in the Linux kernel source code. Users should apply the official kernel patch that prevents unpoisoning of huge_zero_folio. Until patched, systems may experience kernel panics under specific memory failure conditions involving huge pages.
Description
CVE-2024-40914 is a medium-severity vulnerability in the Linux kernel's memory management subsystem related to huge pages. The flaw involves improper handling of the huge_zero_folio during unpoisoning, which can lead to a kernel panic due to a reference count underflow. This occurs when the hardware poison flag is set without increasing the reference count, causing a bug when the system attempts to unpoison the folio. The issue has been fixed by skipping the unpoisoning of huge_zero_folio in the affected function.
References
- nvd.nist.gov/vuln/detail/CVE-2024-40914 (opens in a new tab)
- git.kernel.org/stable/c/0d73477af964dbd7396163a13817baf13940bca9 (opens in a new tab)
- git.kernel.org/stable/c/688bb46ad339497b5b7f527b6636d2afe04b46af (opens in a new tab)
- git.kernel.org/stable/c/b2494506f30675245a3e6787281f79601af087bf (opens in a new tab)
- git.kernel.org/stable/c/d72b7711919de49d92a67dfc844a6cf4c23dd794 (opens in a new tab)
- git.kernel.org/stable/c/fe6f86f4b40855a130a19aa589f9ba7f650423f4 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)