./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1006355951
<...>
Warning: Permanently added '10.128.0.210' (ED25519) to the list of known hosts.
execve("./syz-executor1006355951", ["./syz-executor1006355951"], 0x7ffe1ab6d820 /* 10 vars */) = 0
brk(NULL) = 0x55558ab7e000
brk(0x55558ab7ed00) = 0x55558ab7ed00
arch_prctl(ARCH_SET_FS, 0x55558ab7e380) = 0
set_tid_address(0x55558ab7e650) = 5095
set_robust_list(0x55558ab7e660, 24) = 0
rseq(0x55558ab7eca0, 0x20, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlink("/proc/self/exe", "/root/syz-executor1006355951", 4096) = 28
getrandom("\x7d\x28\x89\xb9\x7b\x74\xae\xee", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x55558ab7ed00
brk(0x55558ab9fd00) = 0x55558ab9fd00
brk(0x55558aba0000) = 0x55558aba0000
mprotect(0x7f5628fbb000, 16384, PROT_READ) = 0
mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000
mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000
mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000
memfd_create("syzkaller", 0) = 3
mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5620a00000
write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216) = 16777216
munmap(0x7f5620a00000, 138412032) = 0
openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4
ioctl(4, LOOP_SET_FD, 3) = 0
close(3) = 0
close(4) = 0
mkdir("./file0", 0777) = 0
[ 79.308661][ T5095] loop0: detected capacity change from 0 to 32768
[ 79.357822][ T5095] ------------[ cut here ]------------
[ 79.366591][ T5095] UBSAN: shift-out-of-bounds in fs/bcachefs/replicas.c:1012:20
[ 79.374664][ T5095] shift exponent 155 is too large for 32-bit type 'int'
[ 79.382757][ T5095] CPU: 1 PID: 5095 Comm: syz-executor100 Not tainted 6.9.0-rc7-next-20240510-syzkaller #0
[ 79.392794][ T5095] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
[ 79.402879][ T5095] Call Trace:
[ 79.406231][ T5095]
[ 79.409201][ T5095] dump_stack_lvl+0x241/0x360
[ 79.414025][ T5095] ? __pfx_dump_stack_lvl+0x10/0x10
[ 79.419284][ T5095] ? __pfx__printk+0x10/0x10
[ 79.423903][ T5095] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 79.430020][ T5095] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10
[ 79.436382][ T5095] __ubsan_handle_shift_out_of_bounds+0x3c8/0x420
[ 79.443033][ T5095] bch2_sb_dev_has_data+0x22a/0x5f0
[ 79.448271][ T5095] member_to_text+0xbd/0x9b0
[ 79.452981][ T5095] ? kfree+0x149/0x360
[ 79.457068][ T5095] ? krealloc_noprof+0xcf/0x120
[ 79.461925][ T5095] ? bch2_prt_printf+0x41e/0xa10
[ 79.467136][ T5095] ? bch2_sb_field_validate+0x1e7/0x2e0
[ 79.472785][ T5095] ? bch2_sb_validate+0x9a2/0xe00
[ 79.477849][ T5095] ? __bch2_read_super+0xc9a/0x1460
[ 79.483211][ T5095] ? put_dec_trunc8+0x1f1/0x330
[ 79.488084][ T5095] ? __pfx_member_to_text+0x10/0x10
[ 79.493394][ T5095] ? __pfx_format_decode+0x10/0x10
[ 79.498530][ T5095] ? vsnprintf+0x948/0x1da0
[ 79.503161][ T5095] ? __asan_memcpy+0x40/0x70
[ 79.507831][ T5095] ? vsnprintf+0x1ccd/0x1da0
[ 79.512705][ T5095] ? bch2_sb_members_v1_to_text+0x15b/0x2e0
[ 79.518659][ T5095] bch2_sb_members_v1_to_text+0x1a4/0x2e0
[ 79.524422][ T5095] ? bch2_prt_printf+0x840/0xa10
[ 79.529401][ T5095] ? __pfx_bch2_sb_members_v1_to_text+0x10/0x10
[ 79.535895][ T5095] ? bch2_printbuf_tabstop_push+0xc9/0x200
[ 79.541739][ T5095] ? bch2_sb_field_to_text+0x187/0x250
[ 79.547464][ T5095] bch2_sb_field_validate+0x201/0x2e0
[ 79.553231][ T5095] ? __pfx_bch2_sb_field_validate+0x10/0x10
[ 79.559221][ T5095] ? BCH_SB_BACKGROUND_COMPRESSION_TYPE+0x1b/0x80
[ 79.565722][ T5095] ? bch2_opt_validate+0x2ca/0x300
[ 79.570863][ T5095] bch2_sb_validate+0x9a2/0xe00
[ 79.575755][ T5095] ? blk_status_to_errno+0x22/0x80
[ 79.580917][ T5095] ? __pfx_bch2_sb_validate+0x10/0x10
[ 79.586531][ T5095] ? read_one_super+0xe77/0xfc0
[ 79.591412][ T5095] ? bch2_sb_realloc+0x424/0x660
[ 79.596436][ T5095] ? kfree+0x4e/0x360
[ 79.600472][ T5095] ? __pfx_read_one_super+0x10/0x10
[ 79.605708][ T5095] ? __pfx_bch2_sb_realloc+0x10/0x10
[ 79.611011][ T5095] ? bdev_file_open_by_path+0x385/0x480
[ 79.616704][ T5095] ? __pfx_bdev_file_open_by_path+0x10/0x10
[ 79.622807][ T5095] ? __bch2_read_super+0x29f/0x1460
[ 79.628021][ T5095] ? __asan_memcpy+0x40/0x70
[ 79.632631][ T5095] __bch2_read_super+0xc9a/0x1460
[ 79.637851][ T5095] ? stack_depot_save_flags+0x6e4/0x830
[ 79.643819][ T5095] ? __pfx___bch2_read_super+0x10/0x10
[ 79.649504][ T5095] ? __kasan_kmalloc+0x98/0xb0
[ 79.654379][ T5095] ? rcu_is_watching+0x15/0xb0
[ 79.659177][ T5095] ? rcu_is_watching+0x15/0xb0
[ 79.664043][ T5095] ? __bch2_darray_resize+0x13e/0x1e0
[ 79.669466][ T5095] ? __bch2_darray_resize+0x13e/0x1e0
[ 79.674865][ T5095] bch2_fs_open+0x246/0xdf0
[ 79.679562][ T5095] ? __pfx_bch2_test_super+0x10/0x10
[ 79.684862][ T5095] ? kasan_save_track+0x51/0x80
[ 79.689739][ T5095] ? kasan_save_track+0x3f/0x80
[ 79.694685][ T5095] ? kasan_save_free_info+0x40/0x50
[ 79.699894][ T5095] ? poison_slab_object+0xe0/0x150
[ 79.705034][ T5095] ? __kasan_slab_free+0x37/0x60
[ 79.710017][ T5095] ? kfree+0x149/0x360
[ 79.714211][ T5095] ? sget+0x2b8/0x620
[ 79.718211][ T5095] ? bch2_mount+0x652/0x1320
[ 79.722828][ T5095] ? legacy_get_tree+0xee/0x190
[ 79.727810][ T5095] ? vfs_get_tree+0x90/0x2a0
[ 79.732527][ T5095] ? do_new_mount+0x2be/0xb40
[ 79.737239][ T5095] ? __se_sys_mount+0x2d9/0x3c0
[ 79.742119][ T5095] ? do_syscall_64+0xf5/0x240
[ 79.747401][ T5095] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 79.753507][ T5095] ? __pfx_bch2_fs_open+0x10/0x10
[ 79.758633][ T5095] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10
[ 79.765011][ T5095] ? __pfx_bch2_test_super+0x10/0x10
[ 79.770333][ T5095] ? sget+0x2b8/0x620
[ 79.774357][ T5095] ? __pfx_bch2_noset_super+0x10/0x10
[ 79.779765][ T5095] bch2_mount+0x71d/0x1320
[ 79.784224][ T5095] ? __pfx_bch2_mount+0x10/0x10
[ 79.789130][ T5095] ? aa_get_newest_label+0xff/0x6f0
[ 79.794352][ T5095] ? vfs_parse_fs_string+0x190/0x230
[ 79.799738][ T5095] ? kfree+0x4e/0x360
[ 79.803736][ T5095] ? vfs_parse_fs_string+0x190/0x230
[ 79.809037][ T5095] legacy_get_tree+0xee/0x190
[ 79.813782][ T5095] ? __pfx_bch2_mount+0x10/0x10
[ 79.818665][ T5095] vfs_get_tree+0x90/0x2a0
[ 79.823151][ T5095] do_new_mount+0x2be/0xb40
[ 79.827677][ T5095] ? ns_capable+0x8a/0xf0
[ 79.832036][ T5095] ? __pfx_do_new_mount+0x10/0x10
[ 79.837082][ T5095] __se_sys_mount+0x2d9/0x3c0
[ 79.841800][ T5095] ? __pfx___se_sys_mount+0x10/0x10
[ 79.847010][ T5095] ? exc_page_fault+0x590/0x8c0
[ 79.852023][ T5095] ? __x64_sys_mount+0x20/0xc0
[ 79.856798][ T5095] do_syscall_64+0xf5/0x240
[ 79.861317][ T5095] ? clear_bhb_loop+0x35/0x90
[ 79.866001][ T5095] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 79.872104][ T5095] RIP: 0033:0x7f5628f378ba
[ 79.876526][ T5095] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
[ 79.901359][ T5095] RSP: 002b:00007fff770de738 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
[ 79.910003][ T5095] RAX: ffffffffffffffda RBX: 00007fff770de750 RCX: 00007f5628f378ba
[ 79.918027][ T5095] RDX: 0000000020011a00 RSI: 0000000020011a40 RDI: 00007fff770de750
[ 79.926190][ T5095] RBP: 0000000000000004 R08: 00007fff770de790 R09: 00000000000119f3
[ 79.934186][ T5095] R10: 0000000001200014 R11: 0000000000000282 R12: 0000000001200014
[ 79.942170][ T5095] R13: 00007fff770de790 R14: 0000000000000003 R15: 0000000001000000
[ 79.950268][ T5095]
[ 79.953747][ T5095] ---[ end trace ]---
[ 79.957940][ T5095] Kernel panic - not syncing: UBSAN: panic_on_warn set ...
[ 79.965158][ T5095] CPU: 1 PID: 5095 Comm: syz-executor100 Not tainted 6.9.0-rc7-next-20240510-syzkaller #0
[ 79.975179][ T5095] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
[ 79.985621][ T5095] Call Trace:
[ 79.988913][ T5095]
[ 79.991917][ T5095] dump_stack_lvl+0x241/0x360
[ 79.996625][ T5095] ? __pfx_dump_stack_lvl+0x10/0x10
[ 80.001851][ T5095] ? __pfx__printk+0x10/0x10
[ 80.006459][ T5095] ? vprintk_emit+0x631/0x770
[ 80.011252][ T5095] ? vscnprintf+0x5d/0x90
[ 80.015601][ T5095] panic+0x349/0x860
[ 80.019549][ T5095] ? check_panic_on_warn+0x21/0xb0
[ 80.024679][ T5095] ? __pfx_panic+0x10/0x10
[ 80.029112][ T5095] ? _printk+0xd5/0x120
[ 80.033315][ T5095] ? __pfx__printk+0x10/0x10
[ 80.037973][ T5095] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 80.043994][ T5095] check_panic_on_warn+0x86/0xb0
[ 80.049054][ T5095] __ubsan_handle_shift_out_of_bounds+0x3e7/0x420
[ 80.055594][ T5095] bch2_sb_dev_has_data+0x22a/0x5f0
[ 80.060850][ T5095] member_to_text+0xbd/0x9b0
[ 80.065541][ T5095] ? kfree+0x149/0x360
[ 80.069627][ T5095] ? krealloc_noprof+0xcf/0x120
[ 80.074674][ T5095] ? bch2_prt_printf+0x41e/0xa10
[ 80.079641][ T5095] ? bch2_sb_field_validate+0x1e7/0x2e0
[ 80.085231][ T5095] ? bch2_sb_validate+0x9a2/0xe00
[ 80.090276][ T5095] ? __bch2_read_super+0xc9a/0x1460
[ 80.095691][ T5095] ? put_dec_trunc8+0x1f1/0x330
[ 80.100576][ T5095] ? __pfx_member_to_text+0x10/0x10
[ 80.105905][ T5095] ? __pfx_format_decode+0x10/0x10
[ 80.111064][ T5095] ? vsnprintf+0x948/0x1da0
[ 80.115626][ T5095] ? __asan_memcpy+0x40/0x70
[ 80.120282][ T5095] ? vsnprintf+0x1ccd/0x1da0
[ 80.124885][ T5095] ? bch2_sb_members_v1_to_text+0x15b/0x2e0
[ 80.130975][ T5095] bch2_sb_members_v1_to_text+0x1a4/0x2e0
[ 80.136726][ T5095] ? bch2_prt_printf+0x840/0xa10
[ 80.141706][ T5095] ? __pfx_bch2_sb_members_v1_to_text+0x10/0x10
[ 80.148166][ T5095] ? bch2_printbuf_tabstop_push+0xc9/0x200
[ 80.154003][ T5095] ? bch2_sb_field_to_text+0x187/0x250
[ 80.159578][ T5095] bch2_sb_field_validate+0x201/0x2e0
[ 80.164976][ T5095] ? __pfx_bch2_sb_field_validate+0x10/0x10
[ 80.170902][ T5095] ? BCH_SB_BACKGROUND_COMPRESSION_TYPE+0x1b/0x80
[ 80.177346][ T5095] ? bch2_opt_validate+0x2ca/0x300
[ 80.182486][ T5095] bch2_sb_validate+0x9a2/0xe00
[ 80.187361][ T5095] ? blk_status_to_errno+0x22/0x80
[ 80.192510][ T5095] ? __pfx_bch2_sb_validate+0x10/0x10
[ 80.197997][ T5095] ? read_one_super+0xe77/0xfc0
[ 80.202864][ T5095] ? bch2_sb_realloc+0x424/0x660
[ 80.207831][ T5095] ? kfree+0x4e/0x360
[ 80.211845][ T5095] ? __pfx_read_one_super+0x10/0x10
[ 80.217067][ T5095] ? __pfx_bch2_sb_realloc+0x10/0x10
[ 80.222390][ T5095] ? bdev_file_open_by_path+0x385/0x480
[ 80.228219][ T5095] ? __pfx_bdev_file_open_by_path+0x10/0x10
[ 80.234236][ T5095] ? __bch2_read_super+0x29f/0x1460
[ 80.239545][ T5095] ? __asan_memcpy+0x40/0x70
[ 80.244192][ T5095] __bch2_read_super+0xc9a/0x1460
[ 80.249241][ T5095] ? stack_depot_save_flags+0x6e4/0x830
[ 80.254815][ T5095] ? __pfx___bch2_read_super+0x10/0x10
[ 80.260288][ T5095] ? __kasan_kmalloc+0x98/0xb0
[ 80.265104][ T5095] ? rcu_is_watching+0x15/0xb0
[ 80.269894][ T5095] ? rcu_is_watching+0x15/0xb0
[ 80.274807][ T5095] ? __bch2_darray_resize+0x13e/0x1e0
[ 80.280244][ T5095] ? __bch2_darray_resize+0x13e/0x1e0
[ 80.285653][ T5095] bch2_fs_open+0x246/0xdf0
[ 80.290177][ T5095] ? __pfx_bch2_test_super+0x10/0x10
[ 80.295518][ T5095] ? kasan_save_track+0x51/0x80
[ 80.300390][ T5095] ? kasan_save_track+0x3f/0x80
[ 80.307455][ T5095] ? kasan_save_free_info+0x40/0x50
[ 80.313038][ T5095] ? poison_slab_object+0xe0/0x150
[ 80.318351][ T5095] ? __kasan_slab_free+0x37/0x60
[ 80.323323][ T5095] ? kfree+0x149/0x360
[ 80.327413][ T5095] ? sget+0x2b8/0x620
[ 80.331405][ T5095] ? bch2_mount+0x652/0x1320
[ 80.336127][ T5095] ? legacy_get_tree+0xee/0x190
[ 80.341080][ T5095] ? vfs_get_tree+0x90/0x2a0
[ 80.345779][ T5095] ? do_new_mount+0x2be/0xb40
[ 80.350472][ T5095] ? __se_sys_mount+0x2d9/0x3c0
[ 80.355426][ T5095] ? do_syscall_64+0xf5/0x240
[ 80.360141][ T5095] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 80.366239][ T5095] ? __pfx_bch2_fs_open+0x10/0x10
[ 80.371295][ T5095] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10
[ 80.377654][ T5095] ? __pfx_bch2_test_super+0x10/0x10
[ 80.383049][ T5095] ? sget+0x2b8/0x620
[ 80.387043][ T5095] ? __pfx_bch2_noset_super+0x10/0x10
[ 80.392437][ T5095] bch2_mount+0x71d/0x1320
[ 80.396898][ T5095] ? __pfx_bch2_mount+0x10/0x10
[ 80.401780][ T5095] ? aa_get_newest_label+0xff/0x6f0
[ 80.409890][ T5095] ? vfs_parse_fs_string+0x190/0x230
[ 80.415566][ T5095] ? kfree+0x4e/0x360
[ 80.419607][ T5095] ? vfs_parse_fs_string+0x190/0x230
[ 80.424929][ T5095] legacy_get_tree+0xee/0x190
[ 80.429627][ T5095] ? __pfx_bch2_mount+0x10/0x10
[ 80.434502][ T5095] vfs_get_tree+0x90/0x2a0
[ 80.438937][ T5095] do_new_mount+0x2be/0xb40
[ 80.443460][ T5095] ? ns_capable+0x8a/0xf0
[ 80.447802][ T5095] ? __pfx_do_new_mount+0x10/0x10
[ 80.452956][ T5095] __se_sys_mount+0x2d9/0x3c0
[ 80.457747][ T5095] ? __pfx___se_sys_mount+0x10/0x10
[ 80.462975][ T5095] ? exc_page_fault+0x590/0x8c0
[ 80.467849][ T5095] ? __x64_sys_mount+0x20/0xc0
[ 80.472633][ T5095] do_syscall_64+0xf5/0x240
[ 80.477281][ T5095] ? clear_bhb_loop+0x35/0x90
[ 80.481983][ T5095] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 80.487896][ T5095] RIP: 0033:0x7f5628f378ba
[ 80.492322][ T5095] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
[ 80.512128][ T5095] RSP: 002b:00007fff770de738 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
[ 80.520745][ T5095] RAX: ffffffffffffffda RBX: 00007fff770de750 RCX: 00007f5628f378ba
[ 80.528746][ T5095] RDX: 0000000020011a00 RSI: 0000000020011a40 RDI: 00007fff770de750
[ 80.536740][ T5095] RBP: 0000000000000004 R08: 00007fff770de790 R09: 00000000000119f3
[ 80.545070][ T5095] R10: 0000000001200014 R11: 0000000000000282 R12: 0000000001200014
[ 80.553075][ T5095] R13: 00007fff770de790 R14: 0000000000000003 R15: 0000000001000000
[ 80.561094][ T5095]
[ 80.565315][ T5095] Kernel Offset: disabled
[ 80.569688][ T5095] Rebooting in 86400 seconds..