CVE-2024-50088btrfs: fix uninitialized pointer free in add_inode_ref()
- 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 in add_inode_ref() The add_inode_ref() function does not initialize the "name" struct when it is declared. If any of the following calls to "read_one_inode() returns NULL, dir = read_one_inode(root, parent_objectid); if (!dir) { ret = -ENOENT; goto out; } inode = read_one_inode(root, inode_objectid); if (!inode) { ret = -EIO; goto out; } then "name.name" would be freed on "out" before being initialized. out: ... kfree(name.name); This issue was reported by Coverity with CID 1526744.
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 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.21% · top 88% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e – < 12cf028381aa19bc38465341512c280256e8d82d
- affected e43eec81c5167b655b72c781b0e75e62a05e415e – < e11ce03b58743bf1e096c48fcaa7e6f08eb75dfa
- affected e43eec81c5167b655b72c781b0e75e62a05e415e – < a941f3d5b1469c60a7e70e775584f110b47e0d16
- affected e43eec81c5167b655b72c781b0e75e62a05e415e – < 66691c6e2f18d2aa4b22ffb624b9bdc97e9979e4
- 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/12cf028381aa19bc38465341512c280256e8d82d (opens in a new tab)
- https://git.kernel.org/stable/c/e11ce03b58743bf1e096c48fcaa7e6f08eb75dfa (opens in a new tab)
- https://git.kernel.org/stable/c/a941f3d5b1469c60a7e70e775584f110b47e0d16 (opens in a new tab)
- https://git.kernel.org/stable/c/66691c6e2f18d2aa4b22ffb624b9bdc97e9979e4 (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-44730 (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-50088)Record last updated .