Vulnerability in Linux
CVE-2024-50087
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: 0.002 (10.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions 6.11.5, 6.6.58, 6.12
- Linux Linux_kernel — versions 6.12
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-50087?
- CVE-2024-50087 is a high-severity vulnerability in Linux, classified under Access of Uninitialized Pointer. CVSS score: 7.8/10. Published 2024-10-29.
- How severe is CVE-2024-50087?
- High severity. CVSS v3 base score is 7.8 out of 10.