./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1720791759 <...> Warning: Permanently added '10.128.1.87' (ED25519) to the list of known hosts. execve("./syz-executor1720791759", ["./syz-executor1720791759"], 0x7ffc245a5470 /* 10 vars */) = 0 brk(NULL) = 0x555555ade000 brk(0x555555aded00) = 0x555555aded00 arch_prctl(ARCH_SET_FS, 0x555555ade380) = 0 set_tid_address(0x555555ade650) = 5040 set_robust_list(0x555555ade660, 24) = 0 rseq(0x555555adeca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1720791759", 4096) = 28 getrandom("\xf0\x61\xdf\xe2\x5a\x4f\xe6\x33", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555555aded00 brk(0x555555affd00) = 0x555555affd00 brk(0x555555b00000) = 0x555555b00000 mprotect(0x7fcbba38c000, 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) = 0x7fcbb1ed6000 [ 50.914993][ T5040] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5040 'syz-executor172' 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(0x7fcbb1ed6000, 16777216) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 mount("/dev/loop0", "./file0", "jfs", 0, "quota,discard,discard,iocharset=koi8-ru,discard,") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 openat(AT_FDCWD, "hugetlb.2MB.usage_in_bytes", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [ 51.035142][ T5040] loop0: detected capacity change from 0 to 32768 [ 51.188018][ T5040] ================================================================================ [ 51.197332][ T5040] UBSAN: shift-out-of-bounds in fs/jfs/jfs_extent.c:314:16 [ 51.204513][ T5040] shift exponent -1 is negative [ 51.209467][ T5040] CPU: 1 PID: 5040 Comm: syz-executor172 Not tainted 6.5.0-rc4-next-20230803-syzkaller #0 [ 51.219342][ T5040] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 51.229397][ T5040] Call Trace: [ 51.232665][ T5040] [ 51.235582][ T5040] dump_stack_lvl+0x125/0x1b0 [ 51.240257][ T5040] __ubsan_handle_shift_out_of_bounds+0x27a/0x600 [ 51.246662][ T5040] extAlloc.cold+0x8b/0xc5 [ 51.251099][ T5040] ? jfs_ioc_trim+0x5c0/0x5c0 [ 51.255764][ T5040] ? down_write_nested+0x153/0x200 [ 51.260861][ T5040] ? lock_acquire+0x464/0x510 [ 51.265616][ T5040] ? lock_sync+0x190/0x190 [ 51.270019][ T5040] jfs_get_block+0x428/0xb20 [ 51.274614][ T5040] ? jfs_read_folio+0x20/0x20 [ 51.279286][ T5040] ? folio_flags.constprop.0+0x56/0x150 [ 51.284816][ T5040] ? do_raw_spin_unlock+0x173/0x230 [ 51.290006][ T5040] ? _raw_spin_unlock+0x28/0x40 [ 51.294843][ T5040] ? jfs_read_folio+0x20/0x20 [ 51.299511][ T5040] __block_write_begin_int+0x3c0/0x1470 [ 51.305047][ T5040] ? jfs_read_folio+0x20/0x20 [ 51.309717][ T5040] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 51.315251][ T5040] block_write_begin+0xb1/0x490 [ 51.320086][ T5040] ? jfs_read_folio+0x20/0x20 [ 51.324755][ T5040] jfs_write_begin+0x31/0xd0 [ 51.329337][ T5040] generic_perform_write+0x278/0x600 [ 51.334614][ T5040] ? folio_add_wait_queue+0x1c0/0x1c0 [ 51.340059][ T5040] ? new_inode+0x270/0x270 [ 51.344464][ T5040] ? generic_write_checks_count+0x2d0/0x2d0 [ 51.350365][ T5040] __generic_file_write_iter+0x1f9/0x240 [ 51.355986][ T5040] generic_file_write_iter+0xe3/0x350 [ 51.361348][ T5040] vfs_write+0x650/0xe40 [ 51.365577][ T5040] ? kernel_write+0x6c0/0x6c0 [ 51.370235][ T5040] ? rcu_is_watching+0x12/0xb0 [ 51.374984][ T5040] ksys_write+0x12f/0x250 [ 51.379295][ T5040] ? __ia32_sys_read+0xb0/0xb0 [ 51.384043][ T5040] ? _raw_spin_unlock_irq+0x2e/0x50 [ 51.389234][ T5040] ? ptrace_notify+0xf4/0x130 [ 51.393894][ T5040] do_syscall_64+0x38/0xb0 [ 51.398300][ T5040] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 51.404186][ T5040] RIP: 0033:0x7fcbba313679 [ 51.408583][ T5040] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 51.428179][ T5040] RSP: 002b:00007ffd026e1758 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 51.436575][ T5040] RAX: ffffffffffffffda RBX: 00007ffd026e1928 RCX: 00007fcbba313679 [ 51.444536][ T5040] RDX: 000000000208e24b RSI: 0000000020000040 RDI: 0000000000000004 [ 51.452508][ T5040] RBP: 00007fcbba38c610 R08: 0000000000000000 R09: 00007ffd026e1928 [ 51.460463][ T5040] R10: 0000000000005dbb R11: 0000000000000246 R12: 0000000000000001 [ 51.468416][ T5040] R13: 00007ffd026e1918 R14: 0000000000000001 R15: 0000000000000001 [ 51.476376][ T5040] [ 51.479819][ T5040] ================================================================================ [ 51.489141][ T5040] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 51.496338][ T5040] CPU: 1 PID: 5040 Comm: syz-executor172 Not tainted 6.5.0-rc4-next-20230803-syzkaller #0 [ 51.506210][ T5040] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 51.516250][ T5040] Call Trace: [ 51.519511][ T5040] [ 51.522425][ T5040] dump_stack_lvl+0xd9/0x1b0 [ 51.527006][ T5040] panic+0x6a4/0x750 [ 51.530887][ T5040] ? panic_smp_self_stop+0xa0/0xa0 [ 51.535981][ T5040] ? syslog_print_all+0x3f0/0x3f0 [ 51.540999][ T5040] check_panic_on_warn+0xab/0xb0 [ 51.545925][ T5040] __ubsan_handle_shift_out_of_bounds+0x2a2/0x600 [ 51.552331][ T5040] extAlloc.cold+0x8b/0xc5 [ 51.556743][ T5040] ? jfs_ioc_trim+0x5c0/0x5c0 [ 51.561404][ T5040] ? down_write_nested+0x153/0x200 [ 51.566521][ T5040] ? lock_acquire+0x464/0x510 [ 51.571185][ T5040] ? lock_sync+0x190/0x190 [ 51.575589][ T5040] jfs_get_block+0x428/0xb20 [ 51.580172][ T5040] ? jfs_read_folio+0x20/0x20 [ 51.584839][ T5040] ? folio_flags.constprop.0+0x56/0x150 [ 51.590370][ T5040] ? do_raw_spin_unlock+0x173/0x230 [ 51.595583][ T5040] ? _raw_spin_unlock+0x28/0x40 [ 51.600476][ T5040] ? jfs_read_folio+0x20/0x20 [ 51.605157][ T5040] __block_write_begin_int+0x3c0/0x1470 [ 51.610705][ T5040] ? jfs_read_folio+0x20/0x20 [ 51.615459][ T5040] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 51.620994][ T5040] block_write_begin+0xb1/0x490 [ 51.625839][ T5040] ? jfs_read_folio+0x20/0x20 [ 51.630522][ T5040] jfs_write_begin+0x31/0xd0 [ 51.635109][ T5040] generic_perform_write+0x278/0x600 [ 51.640386][ T5040] ? folio_add_wait_queue+0x1c0/0x1c0 [ 51.645745][ T5040] ? new_inode+0x270/0x270 [ 51.650152][ T5040] ? generic_write_checks_count+0x2d0/0x2d0 [ 51.656034][ T5040] __generic_file_write_iter+0x1f9/0x240 [ 51.661655][ T5040] generic_file_write_iter+0xe3/0x350 [ 51.667027][ T5040] vfs_write+0x650/0xe40 [ 51.671252][ T5040] ? kernel_write+0x6c0/0x6c0 [ 51.675913][ T5040] ? rcu_is_watching+0x12/0xb0 [ 51.680667][ T5040] ksys_write+0x12f/0x250 [ 51.684982][ T5040] ? __ia32_sys_read+0xb0/0xb0 [ 51.689816][ T5040] ? _raw_spin_unlock_irq+0x2e/0x50 [ 51.695003][ T5040] ? ptrace_notify+0xf4/0x130 [ 51.699677][ T5040] do_syscall_64+0x38/0xb0 [ 51.704082][ T5040] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 51.709964][ T5040] RIP: 0033:0x7fcbba313679 [ 51.714362][ T5040] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 51.733953][ T5040] RSP: 002b:00007ffd026e1758 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 51.742348][ T5040] RAX: ffffffffffffffda RBX: 00007ffd026e1928 RCX: 00007fcbba313679 [ 51.750301][ T5040] RDX: 000000000208e24b RSI: 0000000020000040 RDI: 0000000000000004 [ 51.758256][ T5040] RBP: 00007fcbba38c610 R08: 0000000000000000 R09: 00007ffd026e1928 [ 51.766210][ T5040] R10: 0000000000005dbb R11: 0000000000000246 R12: 0000000000000001 [ 51.774163][ T5040] R13: 00007ffd026e1918 R14: 0000000000000001 R15: 0000000000000001 [ 51.782118][ T5040] [ 51.785328][ T5040] Kernel Offset: disabled [ 51.789652][ T5040] Rebooting in 86400 seconds..