CVE-2024-50087

Severity CVSS v4.0:
Pending analysis
Type:
CWE-824 Access of Uninitialized Pointer
Publication date:
29/10/2024
Last modified:
03/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> btrfs: fix uninitialized pointer free on read_alloc_one_name() error<br /> <br /> The function read_alloc_one_name() does not initialize the name field of<br /> the passed fscrypt_str struct if kmalloc fails to allocate the<br /> corresponding buffer. Thus, it is not guaranteed that<br /> fscrypt_str.name is initialized when freeing it.<br /> <br /> This is a follow-up to the linked patch that fixes the remaining<br /> instances of the bug introduced by commit e43eec81c516 ("btrfs: use<br /> struct qstr instead of name and namelen pairs").

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.57 (including) 6.1.114 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.58 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.11.5 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*