Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reiserfs: add check for an invalid ih_entry_count
when directory item has an invalid value set for ih_entry_count it might trigger use-after-free or out-of-bounds read in bin_search_in_dir_item() ih_entry_count * IH_SIZE for directory item should not be larger than ih_item_len Link: https://lore.kernel.org/r/[email protected] Reported-and-tested-by: [email protected] Link: https://syzkaller.appspot.com/bug?extid=83b6f7cf9922cae5c4d7 Signed-off-by: Rustam Kovhaev <[email protected]> Signed-off-by: Jan Kara <[email protected]>
- Loading branch information