Commit c2140068 authored by Arnaud Lecomte's avatar Arnaud Lecomte Committed by Dave Kleikamp
Browse files

jfs: upper bound check of tree index in dbAllocAG



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>
parent bc9ff192
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment