summaryrefslogtreecommitdiff
path: root/drivers/acpi/video_detect.c
diff options
context:
space:
mode:
authorYe Bin <yebin10@huawei.com>2022-09-24 15:52:33 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-10-29 10:08:36 +0200
commitf234294812c9b68d603650d28743eafb718e7ad5 (patch)
tree3c4fb773e738955b7bb7c58326ed51a10fd28b0b /drivers/acpi/video_detect.c
parent3d6873c4a695867964ee04c4cf7f1d1f2ce8cfed (diff)
ext4: fix potential out of bound read in ext4_fc_replay_scan()
[ Upstream commit 1b45cc5c7b920fd8bf72e5a888ec7abeadf41e09 ] For scan loop must ensure that at least EXT4_FC_TAG_BASE_LEN space. If remain space less than EXT4_FC_TAG_BASE_LEN which will lead to out of bound read when mounting corrupt file system image. ADD_RANGE/HEAD/TAIL is needed to add extra check when do journal scan, as this three tags will read data during scan, tag length couldn't less than data length which will read. Cc: stable@kernel.org Signed-off-by: Ye Bin <yebin10@huawei.com> Link: https://lore.kernel.org/r/20220924075233.2315259-4-yebin10@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/acpi/video_detect.c')
0 files changed, 0 insertions, 0 deletions