aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2022-08-22 11:48:32 +0000
committerTheodore Ts'o <[email protected]>2022-09-30 03:01:40 +0000
commit61a1d87a324ad5e3ed27c6699dfc93218fcf3201 (patch)
tree9023d9cdc8222778859141d2a750c6d7d652376b /fs/fs-writeback.c
parentfs/buffer: make submit_bh & submit_bh_wbc return type as void (diff)
downloadkernel-61a1d87a324ad5e3ed27c6699dfc93218fcf3201.tar.gz
kernel-61a1d87a324ad5e3ed27c6699dfc93218fcf3201.zip
ext4: fix check for block being out of directory size
The check in __ext4_read_dirblock() for block being outside of directory size was wrong because it compared block number against directory size in bytes. Fix it. Fixes: 65f8ea4cd57d ("ext4: check if directory block is within i_size") CVE: CVE-2022-1184 CC: [email protected] Signed-off-by: Jan Kara <[email protected]> Reviewed-by: Lukas Czerner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions