CVE-2024-50087btrfs: fix uninitialized pointer free on read_alloc_one_name() error
- 7.8HighCVSS base score
- 0.21%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix uninitialized pointer free on read_alloc_one_name() error The function read_alloc_one_name() does not initialize the name field of the passed fscrypt_str struct if kmalloc fails to allocate the corresponding buffer. Thus, it is not guaranteed that fscrypt_str.name is initialized when freeing it. This is a follow-up to the linked patch that fixes the remaining instances of the bug introduced by commit e43eec81c516 ("btrfs: use struct qstr instead of name and namelen pairs").
Timeline
ID reserved
By Linux
- 8 days later
· 8 days later
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.21% · top 88% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e – < b37de9491f140a0ff125c27dd1050185c3accbc1
- affected e43eec81c5167b655b72c781b0e75e62a05e415e – < 7fc7c47b9ba0cf2d192f2117a64b24881b0b577f
- affected e43eec81c5167b655b72c781b0e75e62a05e415e – < 1ec28de5e476913ae51f909660b4447eddb28838
- affected e43eec81c5167b655b72c781b0e75e62a05e415e – < 2ab5e243c2266c841e0f6904fad1514b18eaf510
- affected 6.1.57 – < 6.1.114
- affected 6.2
- unaffected < 6.2
- unaffected 6.1.114 – ≤ 6.1.*
- unaffected 6.6.58 – ≤ 6.6.*
- unaffected 6.11.5 – ≤ 6.11.*
- unaffected 6.12 – ≤ *
References
References5
- https://git.kernel.org/stable/c/b37de9491f140a0ff125c27dd1050185c3accbc1 (opens in a new tab)
- https://git.kernel.org/stable/c/7fc7c47b9ba0cf2d192f2117a64b24881b0b577f (opens in a new tab)
- https://git.kernel.org/stable/c/1ec28de5e476913ae51f909660b4447eddb28838 (opens in a new tab)
- https://git.kernel.org/stable/c/2ab5e243c2266c841e0f6904fad1514b18eaf510 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-44728 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-50087)Record last updated .