summaryrefslogtreecommitdiff
path: root/kernel/module.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2020-11-02 16:32:10 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-09 13:34:15 +0100
commite1b7f1ab543bffc0d6af7d22e744af9b7acc10ac (patch)
tree6b12041a62b5929691b74edff742656d588a3e05 /kernel/module.c
parente656f46bdc55d13c06d2d6e46e4b4b7c0f832d6d (diff)
quota: Don't overflow quota file offsets
[ Upstream commit 10f04d40a9fa29785206c619f80d8beedb778837 ] The on-disk quota format supports quota files with upto 2^32 blocks. Be careful when computing quota file offsets in the quota files from block numbers as they can overflow 32-bit types. Since quota files larger than 4GB would require ~26 millions of quota users, this is mostly a theoretical concern now but better be careful, fuzzers would find the problem sooner or later anyway... Reviewed-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions