kernel-hacking-2024-linux-s.../fs/ext2
Jan Kara e7c7fbb9a8 ext2: Use kvmalloc() for group descriptor array
Array of group descriptor block buffers can get rather large. In theory
in can reach 1MB for perfectly valid filesystem and even more for
maliciously crafted ones. Use kvmalloc() to allocate the array to avoid
straining memory allocator with large order allocations unnecessarily.

Reported-by: syzbot+0f2f7e65a3007d39539f@syzkaller.appspotmail.com
Signed-off-by: Jan Kara <jack@suse.cz>
2022-09-26 14:59:52 +02:00
..
acl.c
acl.h
balloc.c
dir.c ext2: Use a folio in ext2_get_page() 2022-08-02 12:34:03 -04:00
ext2.h ext2: remove nobh support 2022-08-02 12:34:04 -04:00
file.c
ialloc.c
inode.c Folio changes for 6.0 2022-08-03 10:35:43 -07:00
ioctl.c
Kconfig
Makefile
namei.c ext2: remove nobh support 2022-08-02 12:34:04 -04:00
super.c ext2: Use kvmalloc() for group descriptor array 2022-09-26 14:59:52 +02:00
symlink.c
xattr.c ext2: avoid deleting xattr block that is being reused 2022-08-02 23:56:25 -04:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c