CVE-2024-50088 Details
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix uninitialized pointer free in add_inode_ref() The add_inode_ref() function does not initialize the "name" struct when it is declared. If any of the following calls to "read_one_inode() returns NULL, dir = read_one_inode(root, parent_objectid); if (!dir) { ret = -ENOENT; goto out; } inode = read_one_inode(root, inode_objectid); if (!inode) { ret = -EIO; goto out; } then "name.name" would be freed on "out" before being initialized. out: ... kfree(name.name); This issue was reported by Coverity with CID 1526744.
A vulnerability exists in the Linux kernel's Btrfs file system implementation, specifically within the 'add_inode_ref()' function. The issue arises because the function does not properly initialize a pointer structure before it is used. If certain conditions are met, this can lead to a situation where an uninitialized pointer is freed, potentially causing memory corruption. This vulnerability affects Linux kernel versions 6.6 and later.
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 version are included in the Debian LTS advisory DLA-4008-1.
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
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Nov 1, 2024 | Initial Analysis | [email protected] |
| Oct 29, 2024 | New CVE Received | kernel.org |