7.8

CVE-2024-50087: btrfs: fix uninitialized pointer free on read_alloc_one_name() error

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

Vulnerability summary

CVE-2024-50087 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 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").

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, < b37de9491f140a0ff125c27dd1050185c3accbc1 | ≥ e43eec81c5167b655b72c781b0e75e62a05e415e, < 7fc7c47b9ba0cf2d192f2117a64b24881b0b577f | ≥ e43eec81c5167b655b72c781b0e75e62a05e415e, < 1ec28de5e476913ae51f909660b4447eddb28838 | ≥ e43eec81c5167b655b72c781b0e75e62a05e415e, < 2ab5e243c2266c841e0f6904fad1514b18eaf510 | ≥ 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