================================================================================ UBSAN: shift-out-of-bounds in fs/jfs/jfs_imap.c:881:9 shift exponent -1 is negative CPU: 1 PID: 122 Comm: jfsCommit Not tainted 6.0.0-rc6-next-20220923-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 ubsan_epilogue+0xb/0x50 lib/ubsan.c:151 __ubsan_handle_shift_out_of_bounds.cold+0xb1/0x187 lib/ubsan.c:322 diFree.cold+0x17/0x68 fs/jfs/jfs_imap.c:881 jfs_evict_inode+0x3c1/0x4a0 fs/jfs/inode.c:156 evict+0x2ed/0x6b0 fs/inode.c:664 iput_final fs/inode.c:1747 [inline] iput.part.0+0x59b/0x880 fs/inode.c:1773 iput+0x58/0x70 fs/inode.c:1763 txUpdateMap+0x97c/0xc50 fs/jfs/jfs_txnmgr.c:2362 txLazyCommit fs/jfs/jfs_txnmgr.c:2659 [inline] jfs_lazycommit+0x5bb/0xaa0 fs/jfs/jfs_txnmgr.c:2727 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 ================================================================================ Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 122 Comm: jfsCommit Not tainted 6.0.0-rc6-next-20220923-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 panic+0x2c8/0x622 kernel/panic.c:274 ubsan_epilogue+0x4a/0x50 lib/ubsan.c:158 __ubsan_handle_shift_out_of_bounds.cold+0xb1/0x187 lib/ubsan.c:322 diFree.cold+0x17/0x68 fs/jfs/jfs_imap.c:881 jfs_evict_inode+0x3c1/0x4a0 fs/jfs/inode.c:156 evict+0x2ed/0x6b0 fs/inode.c:664 iput_final fs/inode.c:1747 [inline] iput.part.0+0x59b/0x880 fs/inode.c:1773 iput+0x58/0x70 fs/inode.c:1763 txUpdateMap+0x97c/0xc50 fs/jfs/jfs_txnmgr.c:2362 txLazyCommit fs/jfs/jfs_txnmgr.c:2659 [inline] jfs_lazycommit+0x5bb/0xaa0 fs/jfs/jfs_txnmgr.c:2727 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Kernel Offset: disabled Rebooting in 86400 seconds..