CVE-2024-50087: Linux kernel · btrfs: fix uninitialized pointer free on read_alloc_one_name() error
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:31 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 29 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 has been implemented in the Linux kernel to properly initialize the pointer before freeing it in the read_alloc_one_name() function. Users should apply the official kernel updates that include this patch once available. Since this is a kernel-level issue, updating to a fixed kernel version is the recommended remediation. No other mitigation steps are indicated.
Description
CVE-2024-50087 is a medium severity vulnerability in the Linux kernel's btrfs filesystem code. It involves an uninitialized pointer being freed in the read_alloc_one_name() function when a memory allocation fails. This bug was introduced by a prior commit and has now been fixed. The vulnerability does not impact confidentiality or integrity but can cause availability issues such as kernel crashes.
References
- nvd.nist.gov/vuln/detail/CVE-2024-50087 (opens in a new tab)
- git.kernel.org/stable/c/1ec28de5e476913ae51f909660b4447eddb28838 (opens in a new tab)
- git.kernel.org/stable/c/2ab5e243c2266c841e0f6904fad1514b18eaf510 (opens in a new tab)
- git.kernel.org/stable/c/7fc7c47b9ba0cf2d192f2117a64b24881b0b577f (opens in a new tab)
- git.kernel.org/stable/c/b37de9491f140a0ff125c27dd1050185c3accbc1 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)