summaryrefslogtreecommitdiff
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorManas Ghandat <ghandatmanas@gmail.com>2023-10-04 11:17:18 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-28 16:46:32 +0000
commit86df90f3fea7c5591f05c8a0010871d435e83046 (patch)
tree26e6bb0ab70cf474e798edadde74ab50007ddc75 /net/tipc/socket.c
parentce15b0f1a431168f07b1cc6c9f71206a2db5c809 (diff)
jfs: fix array-index-out-of-bounds in dbFindLeaf
[ Upstream commit 22cad8bc1d36547cdae0eef316c47d917ce3147c ] Currently while searching for dmtree_t for sufficient free blocks there is an array out of bounds while getting element in tp->dm_stree. To add the required check for out of bound we first need to determine the type of dmtree. Thus added an extra parameter to dbFindLeaf so that the type of tree can be determined and the required check can be applied. Reported-by: syzbot+aea1ad91e854d0a83e04@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=aea1ad91e854d0a83e04 Signed-off-by: Manas Ghandat <ghandatmanas@gmail.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions