CVE-2024-50088
Last modified
CVE-2024-50088 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.1.57, < 6.1.114 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.58 | — |
| Linux | Linux Kernel | >= 6.7, < 6.11.5 | — |
| Linux | Linux Kernel | 6.12 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-50088?
How severe is CVE-2024-50088?
How do I fix CVE-2024-50088?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-50082In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-50083In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2024-50084In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50085In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50086In the Linux kernel, the following vulnerability has been re…7
- CVE-2024-50087In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50089Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-5009In WhatsUp Gold versions released before 2023.1.3, an Improp…8.4
- CVE-2024-50090In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50091In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50092In the Linux kernel, the following vulnerability has been re…3.3
- CVE-2024-50093In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-50088?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
