syzbot


UBSAN: shift-out-of-bounds in dbUpdatePMap

Status: auto-obsoleted due to no activity on 2023/03/01 17:05
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+9a9e47d79d7201c7b73e@syzkaller.appspotmail.com
First crash: 547d, last: 493d
Cause bisection: failed (error log, bisect log)
  
Fix bisection the fix commit could be any of (bisect log):
  1ea66d71b176 jfs: remove unused declarations for jfs
  dee874452409 jfs: remove redundant assignments to ipaimap and ipaimap2
  b0a35efa0ebc fs/jfs/jfs_xattr.h: Fix spelling typo in comment
  ebe060369f8d jfs: Fix fortify moan in symlink
  25e70c6162f2 fs: jfs: fix shift-out-of-bounds in dbDiscardAG
  4ef3405e82d2 MAINTAINERS: git://github -> https://github.com for kleikamp
  73c6da327ff1 fs/jfs: replace ternary operator with min_t()
  d0e482c45c50 jfs: Fix a typo in function jfs_umount
  898f70669568 fs: jfs: fix shift-out-of-bounds in dbAllocAG
  a60dca73a1a8 jfs: makes diUnmount/diMount in jfs_mount_rw atomic
  56c003e4db4a Merge tag 'jfs-6.2' of https://github.com/kleikamp/linux-shaggy
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] UBSAN: shift-out-of-bounds in dbUpdatePMap 0 (1) 2022/10/01 13:36
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 UBSAN: shift-out-of-bounds in dbUpdatePMap C error 2 256d 290d 0/3 auto-obsoleted due to no activity on 2023/10/24 09:05
upstream UBSAN: shift-out-of-bounds in dbUpdatePMap (2) jfs C error error 4 232d 287d 0/26 auto-obsoleted due to no activity on 2023/11/17 21:23
linux-6.1 UBSAN: shift-out-of-bounds in dbUpdatePMap origin:upstream C done 1 249d 290d 3/3 fixed on 2023/09/28 03:03
Last patch testing requests (10)
Created Duration User Patch Repo Result
2023/03/01 16:32 32m retest repro upstream OK log
2023/03/01 15:32 19m retest repro upstream OK log
2023/03/01 14:32 29m retest repro upstream OK log
2023/03/01 14:32 19m retest repro upstream OK log
2023/03/01 13:32 29m retest repro upstream OK log
2023/03/01 13:32 19m retest repro upstream OK log
2023/03/01 12:32 30m retest repro upstream OK log
2023/03/01 12:32 18m retest repro upstream OK log
2023/03/01 11:32 30m retest repro upstream OK log
2023/03/01 11:32 19m retest repro upstream OK 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/19 19:09 upstream 55be6084c8e0 b31320fc .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-kasan-gce-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/10 13:06 upstream 4899a36f91a9 aea5da89 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-kasan-gce-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/10 02:00 upstream a6afa4199d3d aea5da89 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-kasan-gce-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/09 19:13 upstream a6afa4199d3d aea5da89 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/09 16:10 upstream a6afa4199d3d aea5da89 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/09 07:03 upstream a6afa4199d3d aea5da89 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-kasan-gce-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/08 20:53 upstream 62e6e5940c0c aea5da89 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/07 23:03 upstream 4c86114194e6 0de35f24 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-kasan-gce-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/07 14:18 upstream ffb39098bf87 8a212197 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-kasan-gce-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/04 16:45 upstream 4fe89d07dcc2 eab8f949 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/03 10:19 upstream a962b54e162c feb56351 .config strace log report syz C [disk image] [vmlinux] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/02 07:37 upstream ffb4d94b4314 feb56351 .config strace log report syz C [disk image] [vmlinux] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/01 13:52 upstream ffb4d94b4314 feb56351 .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/09/28 22:34 upstream 49c13ed0316d a41a2080 .config strace log report syz C [disk image] [vmlinux] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/21 07:55 upstream eb7081409f94 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/21 03:39 upstream 77c51ba552a1 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/20 21:50 upstream 77c51ba552a1 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/19 22:12 upstream fe24a97cf254 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/19 11:06 upstream ab290eaddc4c 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/19 08:39 upstream ab290eaddc4c 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/19 04:44 upstream ab290eaddc4c 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/18 02:44 upstream 81ac25651a62 4ba8ab94 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/16 19:43 upstream 59d0d52c30d4 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/15 21:46 upstream e01d50cbd6ee 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/15 19:21 upstream e01d50cbd6ee 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/15 14:39 upstream e01d50cbd6ee 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/15 05:46 upstream e01d50cbd6ee 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/15 04:29 upstream e01d50cbd6ee 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/15 02:06 upstream e01d50cbd6ee 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/14 17:10 upstream 094226ad94f4 943f4cb8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/14 14:25 upstream 094226ad94f4 943f4cb8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/14 11:39 upstream 094226ad94f4 943f4cb8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/14 07:45 upstream af7a05689189 7ba4d859 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/13 19:01 upstream af7a05689189 7ba4d859 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/13 14:09 upstream fef7fd48922d f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/12 22:45 upstream 8f2975c2bb4c f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/12 16:45 upstream 8f2975c2bb4c f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/12 12:50 upstream 8f2975c2bb4c f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/09 23:23 upstream f67dd6ce0723 bebca8b7 .config console log report info ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/09 20:21 upstream f141df371335 bebca8b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/08 07:51 upstream 59f2f4b8a757 6feb842b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/06 08:06 upstream b208b9fbbcba 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/06 02:44 upstream b208b9fbbcba 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/05 11:02 upstream 64c3dd0b98f5 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/03 17:34 upstream b229b6ca5abb 7a2ebf95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/03 14:39 upstream b229b6ca5abb 7a2ebf95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/03 06:23 upstream b229b6ca5abb 7a2ebf95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/03 01:37 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/02 23:27 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/02 17:56 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/02 13:14 upstream b229b6ca5abb 08977f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/01 12:05 upstream b229b6ca5abb a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/11/01 09:39 upstream b229b6ca5abb a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/31 21:31 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/30 17:32 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/30 07:09 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/30 05:35 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/30 01:07 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/29 12:09 upstream b229b6ca5abb 899d812a .config console log report info ci-upstream-kasan-gce-smack-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/28 20:10 upstream b229b6ca5abb 8168b69e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/28 06:17 upstream b229b6ca5abb 86777b7f .config console log report info ci-upstream-kasan-gce-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/27 18:24 upstream b229b6ca5abb 5c716ff6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/27 10:47 upstream 4dc12f37a8e9 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/27 09:27 upstream 98555239e4c3 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/27 07:47 upstream 4dc12f37a8e9 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/27 06:18 upstream 4dc12f37a8e9 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/25 05:16 upstream 247f34f7b803 ff2fe65d .config console log report info ci-upstream-kasan-gce-smack-root UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/06 14:41 upstream 833477fce7a1 131b38ac .config console log report info ci-qemu-upstream-386 UBSAN: shift-out-of-bounds in dbUpdatePMap
2022/10/14 18:39 linux-next aaa11ce2ffc8 4954e4b2 .config console log report info [disk image] [vmlinux] ci-upstream-linux-next-kasan-gce-root UBSAN: shift-out-of-bounds in dbUpdatePMap
* Struck through repros no longer work on HEAD.