CVE-2024-50087
Last modified
CVE-2024-50087 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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").. 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 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").
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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-50087?
How severe is CVE-2024-50087?
How do I fix CVE-2024-50087?
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-50081In the Linux kernel, the following vulnerability has been re…5.5
- 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-50088In the Linux kernel, the following vulnerability has been re…7.8
- 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
Are you affected by CVE-2024-50087?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
