CVE-2024-50088: btrfs: fix uninitialized pointer free in add_inode_ref()
Vulnerability summary
CVE-2024-50088 is a high (CVSS 7.8) Access of Uninitialized Pointer vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 12.5% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 23 · Related 24Timeline
- 29-10-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu103 products
- linux< 6.8.0-56.58
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1025.27
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e, < 12cf028381aa19bc38465341512c280256e8d82d | ≥ e43eec81c5167b655b72c781b0e75e62a05e415e, < e11ce03b58743bf1e096c48fcaa7e6f08eb75dfa | ≥ e43eec81c5167b655b72c781b0e75e62a05e415e, < a941f3d5b1469c60a7e70e775584f110b47e0d16 | ≥ e43eec81c5167b655b72c781b0e75e62a05e415e, < 66691c6e2f18d2aa4b22ffb624b9bdc97e9979e4 | ≥ 6.1.57, < 6.1.114 | 6.2
- linux_kernel≥ 6.1.57, < 6.1.114 | ≥ 6.2, < 6.6.58 | ≥ 6.7, < 6.11.5 | 6.12:rc1 | 6.12:rc2 | 6.12:rc3
Debian1 product
- linux< 6.1.115-1 | < 6.11.5-1
3 vendors · 106 products