aboutsummaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_dmap.c
diff options
context:
space:
mode:
authorGravatar Manas Ghandat <ghandatmanas@gmail.com> 2023-10-25 11:39:07 +0530
committerGravatar Dave Kleikamp <dave.kleikamp@oracle.com> 2023-11-21 15:26:33 -0600
commitfa5492ee89463a7590a1449358002ff7ef63529f (patch)
treea28d2b719915c1629e668ceb98de07048578a4c3 /fs/jfs/jfs_dmap.c
parentUBSAN: array-index-out-of-bounds in dtSplitRoot (diff)
downloadlinux-fa5492ee89463a7590a1449358002ff7ef63529f.tar.gz
linux-fa5492ee89463a7590a1449358002ff7ef63529f.tar.bz2
linux-fa5492ee89463a7590a1449358002ff7ef63529f.zip
jfs: fix slab-out-of-bounds Read in dtSearch
Currently while searching for current page in the sorted entry table of the page there is a out of bound access. Added a bound check to fix the error. Dave: Set return code to -EIO Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/r/202310241724.Ed02yUz9-lkp@intel.com/ Signed-off-by: Manas Ghandat <ghandatmanas@gmail.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs/jfs/jfs_dmap.c')
0 files changed, 0 insertions, 0 deletions