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

Skip to content
Commit 5bdb9553 authored by Arnaud Lecomte's avatar Arnaud Lecomte Committed by Greg Kroah-Hartman
Browse files

jfs: upper bound check of tree index in dbAllocAG



[ Upstream commit c214006856ff52a8ff17ed8da52d50601d54f9ce ]

When computing the tree index in dbAllocAG, we never check if we are
out of bounds realative to the size of the stree.
This could happen in a scenario where the filesystem metadata are
corrupted.

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


Tested-by: default avatar <syzbot+cffd18309153948f3c3e@syzkaller.appspotmail.com>
Signed-off-by: default avatarArnaud Lecomte <contact@arnaud-lcm.com>
Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9f896c3d
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