CVE-2024-50087CWE-824

CVE-2024-50087

High · published October 29, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
11.2
In the wild
Unconfirmed
What it is

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").

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00214 · 11.2th percentile
Weakness
CWE-824 · Access of Uninitialized Pointer
Published
2024-10-29T05:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 6.1.57, < 6.1.1146.1.114
linux/linux_kernel≥ 6.2, < 6.6.586.6.58
linux/linux_kernel≥ 6.7, < 6.11.56.11.5
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 29 OCT 00:50Z
    btrfs: fix uninitialized pointer free on read_alloc_one_name() error
    cvelistv5