Vulnerability 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").
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.1.57, < 6.1.114 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/1ec28de5e476913ae51f909660b4447eddb28838Patch
- https://git.kernel.org/stable/c/2ab5e243c2266c841e0f6904fad1514b18eaf510Patch
- https://git.kernel.org/stable/c/7fc7c47b9ba0cf2d192f2117a64b24881b0b577fPatch
- https://git.kernel.org/stable/c/b37de9491f140a0ff125c27dd1050185c3accbc1Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
FAQ
What is CVE-2024-50087?
CVE-2024-50087 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 na...
How severe is CVE-2024-50087?
CVE-2024-50087 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-50087?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.