Re: [syzbot] [bcachefs?] UBSAN: shift-out-of-bounds in __bch2_bkey_invalid

From: syzbot
Date: Mon May 06 2024 - 05:36:31 EST


syzbot has bisected this issue to:

commit d789e9a7d5e2799f4d5425b0b620210d2fcad529
Author: Kent Overstreet <kent.overstreet@xxxxxxxxx>
Date: Sun Apr 14 03:59:28 2024 +0000

bcachefs: Interior known are required to have known key types

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1070e9df180000
start commit: b9158815de52 Merge tag 'char-misc-6.9-rc7' of git://git.ke..
git tree: upstream
final oops: https://syzkaller.appspot.com/x/report.txt?x=1270e9df180000
console output: https://syzkaller.appspot.com/x/log.txt?x=1470e9df180000
kernel config: https://syzkaller.appspot.com/x/.config?x=d2f00edef461175
dashboard link: https://syzkaller.appspot.com/bug?extid=ae4dc916da3ce51f284f
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11a910c4980000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15490b54980000

Reported-by: syzbot+ae4dc916da3ce51f284f@xxxxxxxxxxxxxxxxxxxxxxxxx
Fixes: d789e9a7d5e2 ("bcachefs: Interior known are required to have known key types")

For information about bisection process see: https://goo.gl/tpsmEJ#bisection