CVE-2024-50087 Details
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").
A vulnerability in the Linux kernel's Btrfs file system has been identified, where the function 'read_alloc_one_name()' fails to properly initialize a pointer in the 'fscrypt_str' structure if memory allocation is unsuccessful. This oversight can lead to the deallocation of an uninitialized pointer, potentially causing memory corruption. This issue is a follow-up to a previous patch that addressed similar problems introduced by an earlier commit.
Users can upgrade to the latest Linux kernel version to address this vulnerability. For Debian 11, the updated kernel version 6.1.119-1~deb11u1 is available. Instructions for installing this update can be found on the Debian LTS website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-824 | Access of Uninitialized Pointer | [email protected] |
| CWE-824 | Access of Uninitialized Pointer | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux 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 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | CVE |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Oct 30, 2024 | Initial Analysis | [email protected] |
| Oct 29, 2024 | New CVE Received | kernel.org |