Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 25f1e673 authored by Ghanshyam Agrawal's avatar Ghanshyam Agrawal Committed by Greg Kroah-Hartman
Browse files

jfs: array-index-out-of-bounds fix in dtReadFirst



[ Upstream commit ca84a2c9be482836b86d780244f0357e5a778c46 ]

The value of stbl can be sometimes out of bounds due
to a bad filesystem. Added a check with appopriate return
of error code in that case.

Reported-by: default avatar <syzbot+65fa06e29859e41a83f3@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=65fa06e29859e41a83f3


Signed-off-by: default avatarGhanshyam Agrawal <ghanshyam1898@gmail.com>
Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 685ee050
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment