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").
References (5)
Scores
CVSS v3
5.5
EPSS
0.0002
EPSS Percentile
4.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-824
Status
published
Products (4)
linux/Kernel
< 6.1.114linux
linux/Kernel
6.2.0 - 6.11.5linux
linux/linux_kernel
6.12 rc1 (3 CPE variants)
linux/linux_kernel
6.1.57 - 6.1.114
Published
Oct 29, 2024
Tracked Since
Feb 18, 2026