CVE-2024-50199: Linux kernel · mm/swapfile: skip HugeTLB pages for unuse_vma
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:29 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 8 Nov 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
The vulnerability has been resolved in the Linux kernel by modifying the unuse_vma function to skip HugeTLB pages, preventing the bad pud error and ensuring proper freeing of these pages. Users should apply the official kernel update containing this fix once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory for current remediation guidance.
Description
CVE-2024-50199 is a vulnerability in the Linux kernel's memory management subsystem related to handling HugeTLB pages during swapoff operations. Specifically, a bad pud (Page Upper Directory) error occurs when swapoff is called after allocating and swapping out anonymous HugeTLB memory, causing these HugeTLB pages to not be freed properly. This results in a loss of 1GB HugeTLB memory. The issue is fixed by skipping HugeTLB pages in the unuse_vma function to prevent the bad pud error.
References
- nvd.nist.gov/vuln/detail/CVE-2024-50199 (opens in a new tab)
- git.kernel.org/stable/c/417d5838ca73c6331ae2fe692fab6c25c00d9a0b (opens in a new tab)
- git.kernel.org/stable/c/6ec0fe3756f941f42f8c57156b8bdf2877b2ebaf (opens in a new tab)
- git.kernel.org/stable/c/7528c4fb1237512ee18049f852f014eba80bbe8d (opens in a new tab)
- git.kernel.org/stable/c/ba7f982cdb37ff5a7739dec85d7325ea66fc1496 (opens in a new tab)
- git.kernel.org/stable/c/bed2b9037806c62166a0ef9a559a1e7e3e1275b8 (opens in a new tab)
- git.kernel.org/stable/c/e41710f5a61aca9d6baaa8f53908a927dd9e7aa7 (opens in a new tab)
- git.kernel.org/stable/c/eb66a833cdd2f7302ee05d05e0fa12a2ca32eb87 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)