Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/fs/quota
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2022-09-14 18:29:33 +0300
committerJan Kara <jack@suse.cz>2022-09-26 15:59:52 +0300
commite7c7fbb9a8574ebd89cc05db49d806c7476863ad (patch)
tree4582c4938acecbde182cba9d1a403620b3546402 /fs/quota
parentd766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2 (diff)
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>
Diffstat (limited to 'fs/quota')
0 files changed, 0 insertions, 0 deletions