CVE-2024-50087
MEDIUM EPSS 10.7%
Published Oct 29, 20241y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Published Oct 29, 2024 1y ago
Last Modified Jun 17, 2026 2w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
EPSS Exploit Probability
10.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-824
Affected Products 6
References 5
- git.kernel.org https://git.kernel.org/stable/c/1ec28de5e476913ae51f909660b4447eddb28838
- git.kernel.org https://git.kernel.org/stable/c/2ab5e243c2266c841e0f6904fad1514b18eaf510
- git.kernel.org https://git.kernel.org/stable/c/7fc7c47b9ba0cf2d192f2117a64b24881b0b577f
- git.kernel.org https://git.kernel.org/stable/c/b37de9491f140a0ff125c27dd1050185c3accbc1
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Remediation
- git.kernel.org https://git.kernel.org/stable/c/1ec28de5e476913ae51f909660b4447eddb28838
- git.kernel.org https://git.kernel.org/stable/c/2ab5e243c2266c841e0f6904fad1514b18eaf510
- git.kernel.org https://git.kernel.org/stable/c/7fc7c47b9ba0cf2d192f2117a64b24881b0b577f
- git.kernel.org https://git.kernel.org/stable/c/b37de9491f140a0ff125c27dd1050185c3accbc1