U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2024-50087

Change History

New CVE Received from kernel.org 10/28/2024 9:15:05 PM

Action Type Old Value New Value
Added 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").
Added Reference

								
							
							
						
kernel.org https://git.kernel.org/stable/c/1ec28de5e476913ae51f909660b4447eddb28838 [No types assigned]
Added Reference

								
							
							
						
kernel.org https://git.kernel.org/stable/c/2ab5e243c2266c841e0f6904fad1514b18eaf510 [No types assigned]
Added Reference

								
							
							
						
kernel.org https://git.kernel.org/stable/c/7fc7c47b9ba0cf2d192f2117a64b24881b0b577f [No types assigned]
Added Reference

								
							
							
						
kernel.org https://git.kernel.org/stable/c/b37de9491f140a0ff125c27dd1050185c3accbc1 [No types assigned]