7.8

CVE-2024-50088: btrfs: fix uninitialized pointer free in add_inode_ref()

Modified
AliasesUBUNTU-CVE-2024-50088DEBIAN-CVE-2024-50088
Published 29-10-2024Last modified 05-08-2026

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.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.21%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 23 · Related 24

Timeline

  1. 29-10-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

24 links
Show all 24 references