CVE-2024-49934: Linux kernel · fs/inode: Prevent dump_mapping() accessing invalid dentry.d_name.name
Source GCVE Database
Not known to be exploited · CVSS 4.6 Medium.
Data as of 30 Oct 2026, 00:40 UTC
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Oct 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 vulnerability is available as it has been resolved in the Linux kernel source. Users should update to a kernel version that includes this fix. Since no vendor advisory or patch links are provided, check the official Linux kernel repositories or distributions for the fixed version. No additional mitigation is indicated.
Description
CVE-2024-49934 is a vulnerability in the Linux kernel's fs/inode subsystem where the dump_mapping() function may access an invalid dentry.d_name.name, leading to a kernel crash. This occurs during hot-removal of a memory device when the user is accessing hugetlb. The issue arises because dump_mapping() attempts to print a filename using '%pd' or strncpy_from_kernel_nofault(), which can be unreliable and cause a page fault. The vulnerability has been resolved by changing dump_mapping() to retrieve the filename in a safer manner to prevent crashes.
References
- nvd.nist.gov/vuln/detail/CVE-2024-49934 (opens in a new tab)
- git.kernel.org/stable/c/1a4159138e718db6199f0abf376ad52f726dcc5c (opens in a new tab)
- git.kernel.org/stable/c/7f7b850689ac06a62befe26e1fd1806799e7f152 (opens in a new tab)
- git.kernel.org/stable/c/e0f6ee75f50476607ca82fc7c3711c795ce09b52 (opens in a new tab)
- git.kernel.org/stable/c/ef921bc72328b577cb45772ff7921cba4773b74a (opens in a new tab)
- git.kernel.org/stable/c/f92b8829c6e75632de4e2b9f70e7a7e6c5c2ba98 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)