./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor373887579 <...> Warning: Permanently added '10.128.10.32' (ED25519) to the list of known hosts. execve("./syz-executor373887579", ["./syz-executor373887579"], 0x7ffcbf6daec0 /* 10 vars */) = 0 brk(NULL) = 0x5555558bd000 brk(0x5555558bdd00) = 0x5555558bdd00 arch_prctl(ARCH_SET_FS, 0x5555558bd380) = 0 set_tid_address(0x5555558bd650) = 5041 set_robust_list(0x5555558bd660, 24) = 0 rseq(0x5555558bdca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor373887579", 4096) = 27 getrandom("\xa4\x9d\x13\xfe\xf8\x27\x8a\x88", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555558bdd00 brk(0x5555558ded00) = 0x5555558ded00 brk(0x5555558df000) = 0x5555558df000 mprotect(0x7ffbb23ae000, 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) = 0x7ffba9ef8000 [ 71.998009][ T5041] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5041 'syz-executor373' 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(0x7ffba9ef8000, 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", MS_SYNCHRONOUS|MS_NODIRATIME|MS_RELATIME|MS_LAZYTIME, "") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 open("./bus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_SYNC|O_LARGEFILE|O_NOATIME|0x3c, 000) = 4 [ 72.145832][ T5041] loop0: detected capacity change from 0 to 32768 [ 72.371682][ T5041] ================================================================================ [ 72.381025][ T5041] UBSAN: shift-out-of-bounds in fs/jfs/jfs_extent.c:314:16 [ 72.388242][ T5041] shift exponent -1 is negative [ 72.393201][ T5041] CPU: 1 PID: 5041 Comm: syz-executor373 Not tainted 6.5.0-rc5-next-20230809-syzkaller #0 [ 72.403251][ T5041] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 [ 72.413376][ T5041] Call Trace: [ 72.416658][ T5041] [ 72.419578][ T5041] dump_stack_lvl+0x125/0x1b0 [ 72.424256][ T5041] __ubsan_handle_shift_out_of_bounds+0x27a/0x600 [ 72.430676][ T5041] extAlloc.cold+0x8b/0xc5 [ 72.435084][ T5041] ? jfs_ioc_trim+0x5c0/0x5c0 [ 72.439844][ T5041] ? down_write_nested+0x153/0x200 [ 72.444953][ T5041] ? lock_acquire+0x464/0x510 [ 72.449651][ T5041] ? lock_sync+0x190/0x190 [ 72.454170][ T5041] jfs_get_block+0x428/0xb20 [ 72.458785][ T5041] ? jfs_read_folio+0x20/0x20 [ 72.463482][ T5041] ? folio_flags.constprop.0+0x56/0x150 [ 72.469034][ T5041] ? do_raw_spin_unlock+0x173/0x230 [ 72.474348][ T5041] ? _raw_spin_unlock+0x28/0x40 [ 72.479218][ T5041] ? jfs_read_folio+0x20/0x20 [ 72.484085][ T5041] __block_write_begin_int+0x3c0/0x1470 [ 72.489939][ T5041] ? jfs_read_folio+0x20/0x20 [ 72.494730][ T5041] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 72.500393][ T5041] block_write_begin+0xb1/0x490 [ 72.505346][ T5041] ? jfs_read_folio+0x20/0x20 [ 72.510225][ T5041] jfs_write_begin+0x31/0xd0 [ 72.516397][ T5041] generic_perform_write+0x278/0x600 [ 72.521787][ T5041] ? folio_add_wait_queue+0x1c0/0x1c0 [ 72.527614][ T5041] ? new_inode+0x270/0x270 [ 72.532311][ T5041] ? generic_write_checks_count+0x2d0/0x2d0 [ 72.538221][ T5041] __generic_file_write_iter+0x1f9/0x240 [ 72.543868][ T5041] generic_file_write_iter+0xe3/0x350 [ 72.549439][ T5041] vfs_write+0x650/0xe40 [ 72.553806][ T5041] ? kernel_write+0x6c0/0x6c0 [ 72.558515][ T5041] ? rcu_is_watching+0x12/0xb0 [ 72.563300][ T5041] ? reacquire_held_locks+0x4b0/0x4b0 [ 72.569045][ T5041] ? __fget_light+0x1fc/0x260 [ 72.573845][ T5041] ksys_write+0x12f/0x250 [ 72.578275][ T5041] ? __ia32_sys_read+0xb0/0xb0 [ 72.583048][ T5041] ? _raw_spin_unlock_irq+0x2e/0x50 [ 72.588276][ T5041] ? ptrace_notify+0xf4/0x130 [ 72.592975][ T5041] do_syscall_64+0x38/0xb0 [ 72.597428][ T5041] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 72.603442][ T5041] RIP: 0033:0x7ffbb2335679 [ 72.607968][ T5041] 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 [ 72.628026][ T5041] RSP: 002b:00007ffc018f0da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 72.636621][ T5041] RAX: ffffffffffffffda RBX: 00007ffc018f0f78 RCX: 00007ffbb2335679 [ 72.644592][ T5041] RDX: 00000000200000c7 RSI: 00000000200000c0 RDI: 0000000000000004 [ 72.653084][ T5041] RBP: 00007ffbb23ae610 R08: 0000000000000000 R09: 00007ffc018f0f78 [ 72.661068][ T5041] R10: 0000000000005eac R11: 0000000000000246 R12: 0000000000000001 [ 72.669037][ T5041] R13: 00007ffc018f0f68 R14: 0000000000000001 R15: 0000000000000001 [ 72.677016][ T5041] [ 72.680311][ T5041] ================================================================================ [ 72.690010][ T5041] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 72.697211][ T5041] CPU: 1 PID: 5041 Comm: syz-executor373 Not tainted 6.5.0-rc5-next-20230809-syzkaller #0 [ 72.707122][ T5041] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 [ 72.717184][ T5041] Call Trace: [ 72.720466][ T5041] [ 72.723411][ T5041] dump_stack_lvl+0xd9/0x1b0 [ 72.728129][ T5041] panic+0x6a6/0x750 [ 72.732048][ T5041] ? panic_smp_self_stop+0xa0/0xa0 [ 72.737446][ T5041] ? syslog_print_all+0x3f0/0x3f0 [ 72.742500][ T5041] check_panic_on_warn+0xab/0xb0 [ 72.747470][ T5041] __ubsan_handle_shift_out_of_bounds+0x2a2/0x600 [ 72.753932][ T5041] extAlloc.cold+0x8b/0xc5 [ 72.758542][ T5041] ? jfs_ioc_trim+0x5c0/0x5c0 [ 72.763238][ T5041] ? down_write_nested+0x153/0x200 [ 72.768377][ T5041] ? lock_acquire+0x464/0x510 [ 72.773070][ T5041] ? lock_sync+0x190/0x190 [ 72.777513][ T5041] jfs_get_block+0x428/0xb20 [ 72.782124][ T5041] ? jfs_read_folio+0x20/0x20 [ 72.786817][ T5041] ? folio_flags.constprop.0+0x56/0x150 [ 72.792367][ T5041] ? do_raw_spin_unlock+0x173/0x230 [ 72.797611][ T5041] ? _raw_spin_unlock+0x28/0x40 [ 72.802489][ T5041] ? jfs_read_folio+0x20/0x20 [ 72.807357][ T5041] __block_write_begin_int+0x3c0/0x1470 [ 72.813002][ T5041] ? jfs_read_folio+0x20/0x20 [ 72.818233][ T5041] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 72.823814][ T5041] block_write_begin+0xb1/0x490 [ 72.828696][ T5041] ? jfs_read_folio+0x20/0x20 [ 72.833394][ T5041] jfs_write_begin+0x31/0xd0 [ 72.837989][ T5041] generic_perform_write+0x278/0x600 [ 72.843290][ T5041] ? folio_add_wait_queue+0x1c0/0x1c0 [ 72.848671][ T5041] ? new_inode+0x270/0x270 [ 72.853113][ T5041] ? generic_write_checks_count+0x2d0/0x2d0 [ 72.859020][ T5041] __generic_file_write_iter+0x1f9/0x240 [ 72.864664][ T5041] generic_file_write_iter+0xe3/0x350 [ 72.870047][ T5041] vfs_write+0x650/0xe40 [ 72.874297][ T5041] ? kernel_write+0x6c0/0x6c0 [ 72.878978][ T5041] ? rcu_is_watching+0x12/0xb0 [ 72.883751][ T5041] ? reacquire_held_locks+0x4b0/0x4b0 [ 72.889136][ T5041] ? __fget_light+0x1fc/0x260 [ 72.893820][ T5041] ksys_write+0x12f/0x250 [ 72.898154][ T5041] ? __ia32_sys_read+0xb0/0xb0 [ 72.902929][ T5041] ? _raw_spin_unlock_irq+0x2e/0x50 [ 72.908139][ T5041] ? ptrace_notify+0xf4/0x130 [ 72.912850][ T5041] do_syscall_64+0x38/0xb0 [ 72.917386][ T5041] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 72.923477][ T5041] RIP: 0033:0x7ffbb2335679 [ 72.927895][ T5041] 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 [ 72.947508][ T5041] RSP: 002b:00007ffc018f0da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 72.956020][ T5041] RAX: ffffffffffffffda RBX: 00007ffc018f0f78 RCX: 00007ffbb2335679 [ 72.963994][ T5041] RDX: 00000000200000c7 RSI: 00000000200000c0 RDI: 0000000000000004 [ 72.971974][ T5041] RBP: 00007ffbb23ae610 R08: 0000000000000000 R09: 00007ffc018f0f78 [ 72.979946][ T5041] R10: 0000000000005eac R11: 0000000000000246 R12: 0000000000000001 [ 72.987926][ T5041] R13: 00007ffc018f0f68 R14: 0000000000000001 R15: 0000000000000001 [ 72.995906][ T5041] [ 72.999111][ T5041] Kernel Offset: disabled [ 73.003430][ T5041] Rebooting in 86400 seconds..