CVE-2024-50087: Linux Kernel
Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.
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").
Affected products
- Linux Linux Kernel: from 6.1.57, before 6.1.114 (fixed in 6.1.114); from 6.2, before 6.6.58 (fixed in 6.6.58); from 6.7, before 6.11.5 (fixed in 6.11.5); version 6.12 only
Published 2024-10-29. Last modified 2026-08-04.