linux-stable/fs/ntfs3
Tetsuo Handa 664dbb356f fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list()
commit ea303f72d7 upstream.

syzbot is reporting too large allocation at ntfs_load_attr_list(), for
a crafted filesystem can have huge data_size.

Reported-by: syzbot <syzbot+89dbb3a789a5b9711793@syzkaller.appspotmail.com>
Link: https://syzkaller.appspot.com/bug?extid=89dbb3a789a5b9711793
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-11 12:14:24 +02:00
..
lib fs/ntfs3: Add missing header and guards to lib/ headers 2021-09-13 19:41:44 +03:00
attrib.c fs/ntfs3: Code formatting and refactoring 2023-03-27 17:44:35 +04:00
attrlist.c fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list() 2023-08-11 12:14:24 +02:00
bitfunc.c fs/ntfs3: Add ntfs_bitmap_weight_le function and refactoring 2022-11-14 19:50:42 +03:00
bitmap.c fs/ntfs3: Code formatting and refactoring 2023-03-27 17:44:35 +04:00
debug.h fs/ntfs3. Add forward declarations for structs to debug.h 2021-09-13 19:41:43 +03:00
dir.c fs/ntfs3: Fix sparse problems 2022-11-14 19:50:42 +03:00
file.c fs/ntfs3: Code formatting and refactoring 2023-03-27 17:44:35 +04:00
frecord.c fs/ntfs3: Print details about mount fails 2023-03-27 17:44:36 +04:00
fslog.c fs/ntfs3: Code formatting and refactoring 2023-03-27 17:44:35 +04:00
fsntfs.c fs/ntfs3: Print details about mount fails 2023-03-27 17:44:36 +04:00
index.c fs/ntfs3: Code formatting and refactoring 2023-03-27 17:44:35 +04:00
inode.c fs/ntfs3: Code formatting and refactoring 2023-03-27 17:44:35 +04:00
Kconfig fs: build the legacy direct I/O code conditionally 2023-01-26 10:30:56 -07:00
lznt.c fs/ntfs3: Code formatting and refactoring 2023-03-27 17:44:35 +04:00
Makefile
namei.c fs/ntfs3: Code formatting and refactoring 2023-03-27 17:44:35 +04:00
ntfs.h fs/ntfs3: Refactoring of various minor issues 2023-03-27 16:59:16 +04:00
ntfs_fs.h fs/ntfs3: Code formatting and refactoring 2023-03-27 17:44:35 +04:00
record.c fs/ntfs3: Code formatting and refactoring 2023-03-27 17:44:35 +04:00
run.c fs/ntfs3: Code formatting and refactoring 2023-03-27 17:44:35 +04:00
super.c fs/ntfs3: Fix root inode checking 2023-03-27 17:44:37 +04:00
upcase.c fs/ntfs3: Add option "nocase" 2022-09-30 17:39:47 +03:00
xattr.c ntfs: Fix panic about slab-out-of-bounds caused by ntfs_listxattr() 2023-07-19 16:36:46 +02:00