VULNERABILITY INTELLIGENCE

CVE-2024-50087

CVSS score7.8 HIGH
EPSS probability0.21%
CISA KEVNot currently listed
Published2024-10-29
Last modified2026-08-04
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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").

Weakness classification

  • nvd@nist.gov: CWE-824
  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-824

Primary references