CVE-2024-50182: Linux kernel · secretmem: disable memfd_secret() if arch cannot set direct map
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:16 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
A fix is available that disables memfd_secret() on systems where the architecture cannot set the direct map, causing the syscall to return an error instead of silently failing. Users should update their Linux kernel to a version that includes this patch. Since most arm64 systems have the default configuration enabling direct map support, they are not affected. No additional mitigation is required beyond applying the official kernel update.
Description
CVE-2024-50182 addresses a Linux kernel vulnerability related to the memfd_secret() syscall on certain arm64 configurations. The issue arises when the architecture cannot set a direct map, causing memfd_secret() to appear to succeed but fail to remove memory from the direct map as intended. The fix disables memfd_secret() by returning an error (-ENOSYS) on systems where direct map setup is not possible, preventing silent failures. Most arm64 systems are unaffected due to default kernel configurations enabling direct map support.
References
- nvd.nist.gov/vuln/detail/CVE-2024-50182 (opens in a new tab)
- git.kernel.org/stable/c/532b53cebe58f34ce1c0f34d866f5c0e335c53c6 (opens in a new tab)
- git.kernel.org/stable/c/5ea0b7af38754d2b45ead9257bca47e84662e926 (opens in a new tab)
- git.kernel.org/stable/c/757786abe4547eb3d9d0e8350a63bdb0f9824af2 (opens in a new tab)
- git.kernel.org/stable/c/7caf966390e6e4ebf42775df54e7ee1f280ce677 (opens in a new tab)
- git.kernel.org/stable/c/d0ae6ffa1aeb297aef89f49cfb894a83c329ebad (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)