syzbot


UBSAN: shift-out-of-bounds in dbUpdatePMap

Status: upstream: reported C repro on 2022/10/01 13:36
Reported-by: syzbot+9a9e47d79d7201c7b73e@syzkaller.appspotmail.com
First crash: 61d, last: 8d03h

Cause bisection: failed (bisect log)

Sample crash report:
================================================================================
UBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:454:12
shift exponent 1601862003 is too large for 64-bit type 'long long int'
CPU: 1 PID: 120 Comm: jfsCommit Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
 <TASK>
 __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
 dbUpdatePMap.cold+0x6b/0x70 fs/jfs/jfs_dmap.c:454
 txAllocPMap.isra.0+0x550/0x690 fs/jfs/jfs_txnmgr.c:2420
 txUpdateMap+0xaa8/0xc50 fs/jfs/jfs_txnmgr.c:2358
 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
 </TASK>
================================================================================
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 120 Comm: jfsCommit Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
 <TASK>
 __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
 dbUpdatePMap.cold+0x6b/0x70 fs/jfs/jfs_dmap.c:454
 txAllocPMap.isra.0+0x550/0x690 fs/jfs/jfs_txnmgr.c:2420
 txUpdateMap+0xaa8/0xc50 fs/jfs/jfs_txnmgr.c:2358
 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
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (149):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/10/19 19:09 upstream 55be6084c8e0 b31320fc .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-kasan-gce-root 2022/10/10 13:06 upstream 4899a36f91a9 aea5da89 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-kasan-gce-root 2022/10/10 02:00 upstream a6afa4199d3d aea5da89 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/09 19:13 upstream a6afa4199d3d aea5da89 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/09 16:10 upstream a6afa4199d3d aea5da89 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-kasan-gce-root 2022/10/09 07:03 upstream a6afa4199d3d aea5da89 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/08 20:53 upstream 62e6e5940c0c aea5da89 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-kasan-gce-root 2022/10/07 23:03 upstream 4c86114194e6 0de35f24 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-kasan-gce-root 2022/10/07 14:18 upstream ffb39098bf87 8a212197 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/04 16:45 upstream 4fe89d07dcc2 eab8f949 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/03 10:19 upstream a962b54e162c feb56351 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/02 07:37 upstream ffb4d94b4314 feb56351 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-kasan-gce-root 2022/10/01 13:52 upstream ffb4d94b4314 feb56351 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/09/28 22:34 upstream 49c13ed0316d a41a2080 .config log report syz C UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/21 07:55 upstream eb7081409f94 5bb70014 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/21 03:39 upstream 77c51ba552a1 5bb70014 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/20 21:50 upstream 77c51ba552a1 5bb70014 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/19 22:12 upstream fe24a97cf254 5bb70014 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/19 11:06 upstream ab290eaddc4c 5bb70014 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/19 08:39 upstream ab290eaddc4c 5bb70014 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/19 04:44 upstream ab290eaddc4c 5bb70014 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/18 02:44 upstream 81ac25651a62 4ba8ab94 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/16 19:43 upstream 59d0d52c30d4 3a127a31 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/15 21:46 upstream e01d50cbd6ee 97de9cfc .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/15 19:21 upstream e01d50cbd6ee 97de9cfc .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/15 14:39 upstream e01d50cbd6ee 97de9cfc .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/15 05:46 upstream e01d50cbd6ee 97de9cfc .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/15 04:29 upstream e01d50cbd6ee 97de9cfc .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/15 02:06 upstream e01d50cbd6ee 97de9cfc .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/14 17:10 upstream 094226ad94f4 943f4cb8 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/14 14:25 upstream 094226ad94f4 943f4cb8 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/14 11:39 upstream 094226ad94f4 943f4cb8 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/14 07:45 upstream af7a05689189 7ba4d859 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/13 19:01 upstream af7a05689189 7ba4d859 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/13 14:09 upstream fef7fd48922d f42ee5d8 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/12 22:45 upstream 8f2975c2bb4c f42ee5d8 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/12 16:45 upstream 8f2975c2bb4c f42ee5d8 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/12 12:50 upstream 8f2975c2bb4c f42ee5d8 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/09 23:23 upstream f67dd6ce0723 bebca8b7 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/09 20:21 upstream f141df371335 bebca8b7 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/08 07:51 upstream 59f2f4b8a757 6feb842b .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/06 08:06 upstream b208b9fbbcba 6d752409 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/06 02:44 upstream b208b9fbbcba 6d752409 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/05 11:02 upstream 64c3dd0b98f5 6d752409 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/03 17:34 upstream b229b6ca5abb 7a2ebf95 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/03 14:39 upstream b229b6ca5abb 7a2ebf95 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/03 06:23 upstream b229b6ca5abb 7a2ebf95 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/03 01:37 upstream b229b6ca5abb 08977f5d .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/02 23:27 upstream b229b6ca5abb 08977f5d .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/02 17:56 upstream b229b6ca5abb 08977f5d .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/02 13:14 upstream b229b6ca5abb 08977f5d .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/01 12:05 upstream b229b6ca5abb a1d8560a .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/11/01 09:39 upstream b229b6ca5abb a1d8560a .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/31 21:31 upstream b229b6ca5abb 2a71366b .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-kasan-gce-smack-root 2022/10/30 17:32 upstream b229b6ca5abb 2a71366b .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-kasan-gce-root 2022/10/30 07:09 upstream b229b6ca5abb 2a71366b .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/30 05:35 upstream b229b6ca5abb 2a71366b .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/30 01:07 upstream b229b6ca5abb 2a71366b .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-kasan-gce-smack-root 2022/10/29 12:09 upstream b229b6ca5abb 899d812a .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/28 20:10 upstream b229b6ca5abb 8168b69e .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-kasan-gce-root 2022/10/28 06:17 upstream b229b6ca5abb 86777b7f .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/27 18:24 upstream b229b6ca5abb 5c716ff6 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/27 10:47 upstream 4dc12f37a8e9 86777b7f .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-kasan-gce-selinux-root 2022/10/27 09:27 upstream 98555239e4c3 86777b7f .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/27 07:47 upstream 4dc12f37a8e9 86777b7f .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci2-upstream-fs 2022/10/27 06:18 upstream 4dc12f37a8e9 86777b7f .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-kasan-gce-smack-root 2022/10/25 05:16 upstream 247f34f7b803 ff2fe65d .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-qemu-upstream-386 2022/10/06 14:41 upstream 833477fce7a1 131b38ac .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
ci-upstream-linux-next-kasan-gce-root 2022/10/14 18:39 linux-next aaa11ce2ffc8 4954e4b2 .config log report info UBSAN: shift-out-of-bounds in dbUpdatePMap
* Struck through repros no longer work on HEAD.