Re: [syzbot] [jfs?] UBSAN: shift-out-of-bounds in dbAllocBits

From: Aleksandr Nogikh
Date: Wed Mar 22 2023 - 17:31:15 EST


On Wed, Mar 22, 2023 at 5:29 PM syzbot
<syzbot+b9ba793adebb63e56dba@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> syzbot suspects this issue was fixed by commit:
>
> commit fad376fce0af58deebc5075b8539dc05bf639af3
> Author: Liu Shixin via Jfs-discussion <jfs-discussion@xxxxxxxxxxxxxxxxxxxxx>
> Date: Thu Nov 3 03:01:59 2022 +0000
>
> fs/jfs: fix shift exponent db_agl2size negative
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=12d90bf6c80000
> start commit: a6afa4199d3d Merge tag 'mailbox-v6.1' of git://git.linaro...
> git tree: upstream
> kernel config: https://syzkaller.appspot.com/x/.config?x=d19f5d16783f901
> dashboard link: https://syzkaller.appspot.com/bug?extid=b9ba793adebb63e56dba
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1322ae34880000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10403c94880000
>
> If the result looks correct, please mark the issue as fixed by replying with:
>
> #syz fix: fs/jfs: fix shift exponent db_agl2size negative
>


Looks reasonable.

#syz fix: fs/jfs: fix shift exponent db_agl2size negative