linux-stable/fs/ntfs3
Edward Adam Davis a585faf059 fs/ntfs3: Fix oob in ntfs_listxattr
[ Upstream commit 731ab1f982 ]

The length of name cannot exceed the space occupied by ea.

Reported-and-tested-by: syzbot+65e940cfb8f99a97aca7@syzkaller.appspotmail.com
Signed-off-by: Edward Adam Davis <eadavis@qq.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-01 13:21:47 +01:00
..
lib
Kconfig
Makefile
attrib.c fs/ntfs3: Add NULL ptr dereference checking at the end of attr_allocate_frame() 2024-03-01 13:21:46 +01:00
attrlist.c fs/ntfs3: Disable ATTR_LIST_ENTRY size check 2024-03-01 13:21:46 +01:00
bitfunc.c
bitmap.c fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN) 2023-11-08 17:26:46 +01:00
debug.h
dir.c fs/ntfs3: Improve ntfs_dir_count 2024-03-01 13:21:46 +01:00
file.c fs/ntfs3: Update inode->i_size after success write into compressed file 2024-03-01 13:21:47 +01:00
frecord.c fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr() 2023-11-08 17:26:46 +01:00
fslog.c fs/ntfs3: Correct function is_rst_area_valid 2024-03-01 13:21:47 +01:00
fsntfs.c fs/ntfs3: Prevent generic message "attempt to access beyond end of device" 2024-03-01 13:21:46 +01:00
index.c fs/ntfs3: Add null pointer checks 2024-02-23 08:55:15 +01:00
inode.c fs/ntfs3: Print warning while fixing hard links count 2024-03-01 13:21:46 +01:00
lznt.c
namei.c fs/ntfs3: Refactoring of various minor issues 2023-05-17 11:50:26 +02:00
ntfs.h fs/ntfs3: Disable ATTR_LIST_ENTRY size check 2024-03-01 13:21:46 +01:00
ntfs_fs.h fs/ntfs3: Prevent generic message "attempt to access beyond end of device" 2024-03-01 13:21:46 +01:00
record.c fs/ntfs3: Correct hard links updating when dealing with DOS names 2024-03-01 13:21:46 +01:00
run.c fs/ntfs3: Check fields while reading 2023-07-23 13:47:46 +02:00
super.c fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN) 2023-11-08 17:26:46 +01:00
upcase.c
xattr.c fs/ntfs3: Fix oob in ntfs_listxattr 2024-03-01 13:21:47 +01:00