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
The following references provide additional information about CVE-2024-50088 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/12cf028381aa19bc38465341512c280256e8d82d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/66691c6e2f18d2aa4b22ffb624b9bdc97e9979e4
-
PatchKernel patch commithttps://git.kernel.org/stable/c/a941f3d5b1469c60a7e70e775584f110b47e0d16
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.
-
What is Access of Uninitialized Pointer (CWE-824)?
The product accesses or uses a pointer that has not been initialised, leading to undefined behaviour. View CWE-824 on MITRE CWE →