aboutsummaryrefslogtreecommitdiff
path: root/fs/fs_struct.c
diff options
context:
space:
mode:
authorGravatar Manas Ghandat <ghandatmanas@gmail.com> 2023-10-17 17:33:56 +0530
committerGravatar Dave Kleikamp <dave.kleikamp@oracle.com> 2023-11-21 15:26:33 -0600
commit74ecdda68242b174920fe7c6133a856fb7d8559b (patch)
treecd2ffaf9e0701562cfc93f6ab43e910a09493714 /fs/fs_struct.c
parentjfs: fix slab-out-of-bounds Read in dtSearch (diff)
downloadlinux-74ecdda68242b174920fe7c6133a856fb7d8559b.tar.gz
linux-74ecdda68242b174920fe7c6133a856fb7d8559b.tar.bz2
linux-74ecdda68242b174920fe7c6133a856fb7d8559b.zip
jfs: fix array-index-out-of-bounds in dbAdjTree
Currently there is a bound check missing in the dbAdjTree while accessing the dmt_stree. To add the required check added the bool is_ctl which is required to determine the size as suggest in the following commit. https://lore.kernel.org/linux-kernel-mentees/f9475918-2186-49b8-b801-6f0f9e75f4fa@oracle.com/ Reported-by: syzbot+39ba34a099ac2e9bd3cb@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=39ba34a099ac2e9bd3cb Signed-off-by: Manas Ghandat <ghandatmanas@gmail.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions