CVE-2024-50088
HighIn 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.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-824CVE-2024-50088 is a Access of Uninitialized Pointer vulnerability
What is Access of Uninitialized Pointer?
The product accesses or uses a pointer that has not been initialised, leading to undefined behaviour. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.1.57,
6.2
and later are affected. Fixed in
6.1.114,
6.6.58,
6.11.5,
6.12
and their respective stable series.
References
5 total-
Patch
-
Patch
-
Patch
-
Patch
-
Frequently asked questions
-
What is CVE-2024-50088?
CVE-2024-50088 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Access of Uninitialized Pointer flaw (CWE-824) . It affects Linux kernel versions from 6.1.57 onward and has been patched in 6.1.114, 6.6.58, 6.11.5 and others. CVE-2024-50088 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-50088?
CVE-2024-50088 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2024-50088?
Yes. CVE-2024-50088 has been patched. Fixed versions include 6.1.114, 6.6.58, 6.11.5 and others. If you are running Linux kernel 6.1.57 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-50088 actively exploited?
No. CVE-2024-50088 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.