./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1294990148 <...> Warning: Permanently added '10.128.1.93' (ED25519) to the list of known hosts. execve("./syz-executor1294990148", ["./syz-executor1294990148"], 0x7ffd691b3f40 /* 10 vars */) = 0 brk(NULL) = 0x5555567c4000 brk(0x5555567c4d00) = 0x5555567c4d00 arch_prctl(ARCH_SET_FS, 0x5555567c4380) = 0 set_tid_address(0x5555567c4650) = 5042 set_robust_list(0x5555567c4660, 24) = 0 rseq(0x5555567c4ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1294990148", 4096) = 28 getrandom("\xda\x06\x9a\xa5\x6e\x7b\x82\x58", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555567c4d00 brk(0x5555567e5d00) = 0x5555567e5d00 brk(0x5555567e6000) = 0x5555567e6000 mprotect(0x7f92a45c9000, 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) = 0x7f929c113000 [ 90.043339][ T5042] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5042 'syz-executor129' 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(0x7f929c113000, 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_NOFOLLOW|O_NOATIME|FASYNC|0x3c, 000) = 4 [ 90.250718][ T5042] loop0: detected capacity change from 0 to 32768 [ 90.583894][ T5042] ================================================================================ [ 90.593273][ T5042] UBSAN: shift-out-of-bounds in fs/jfs/jfs_extent.c:314:16 [ 90.600570][ T5042] shift exponent -1 is negative [ 90.605489][ T5042] CPU: 1 PID: 5042 Comm: syz-executor129 Not tainted 6.5.0-rc5-next-20230809-syzkaller #0 [ 90.615438][ T5042] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 [ 90.625611][ T5042] Call Trace: [ 90.628897][ T5042] [ 90.631844][ T5042] dump_stack_lvl+0x125/0x1b0 [ 90.636587][ T5042] __ubsan_handle_shift_out_of_bounds+0x27a/0x600 [ 90.643033][ T5042] extAlloc.cold+0x8b/0xc5 [ 90.647472][ T5042] ? jfs_ioc_trim+0x5c0/0x5c0 [ 90.652339][ T5042] ? down_write_nested+0x153/0x200 [ 90.657476][ T5042] ? lock_acquire+0x464/0x510 [ 90.662173][ T5042] ? lock_sync+0x190/0x190 [ 90.666622][ T5042] jfs_get_block+0x428/0xb20 [ 90.671236][ T5042] ? jfs_read_folio+0x20/0x20 [ 90.675949][ T5042] ? folio_flags.constprop.0+0x56/0x150 [ 90.681524][ T5042] ? do_raw_spin_unlock+0x173/0x230 [ 90.686758][ T5042] ? _raw_spin_unlock+0x28/0x40 [ 90.691642][ T5042] ? jfs_read_folio+0x20/0x20 [ 90.696357][ T5042] __block_write_begin_int+0x3c0/0x1470 [ 90.701932][ T5042] ? jfs_read_folio+0x20/0x20 [ 90.706648][ T5042] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 90.712239][ T5042] block_write_begin+0xb1/0x490 [ 90.717128][ T5042] ? jfs_read_folio+0x20/0x20 [ 90.721841][ T5042] jfs_write_begin+0x31/0xd0 [ 90.726452][ T5042] generic_perform_write+0x278/0x600 [ 90.731775][ T5042] ? folio_add_wait_queue+0x1c0/0x1c0 [ 90.737167][ T5042] ? new_inode+0x270/0x270 [ 90.741615][ T5042] ? generic_write_checks_count+0x2d0/0x2d0 [ 90.747540][ T5042] __generic_file_write_iter+0x1f9/0x240 [ 90.753202][ T5042] generic_file_write_iter+0xe3/0x350 [ 90.758607][ T5042] vfs_write+0x650/0xe40 [ 90.762887][ T5042] ? kernel_write+0x6c0/0x6c0 [ 90.767586][ T5042] ? rcu_is_watching+0x12/0xb0 [ 90.772371][ T5042] ? reacquire_held_locks+0x4b0/0x4b0 [ 90.777781][ T5042] ? __fget_light+0x1fc/0x260 [ 90.782482][ T5042] ksys_write+0x12f/0x250 [ 90.786831][ T5042] ? __ia32_sys_read+0xb0/0xb0 [ 90.791619][ T5042] ? _raw_spin_unlock_irq+0x2e/0x50 [ 90.796851][ T5042] ? ptrace_notify+0xf4/0x130 [ 90.801553][ T5042] do_syscall_64+0x38/0xb0 [ 90.806007][ T5042] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 90.812045][ T5042] RIP: 0033:0x7f92a4550679 [ 90.816825][ T5042] 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 [ 90.836452][ T5042] RSP: 002b:00007ffe5179d7f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 90.844887][ T5042] RAX: ffffffffffffffda RBX: 00007ffe5179d9c8 RCX: 00007f92a4550679 [ 90.852876][ T5042] RDX: 00000000200000c7 RSI: 00000000200000c0 RDI: 0000000000000004 [ 90.860864][ T5042] RBP: 00007f92a45c9610 R08: 0000000000000000 R09: 00007ffe5179d9c8 [ 90.868854][ T5042] R10: 0000000000005eac R11: 0000000000000246 R12: 0000000000000001 [ 90.876955][ T5042] R13: 00007ffe5179d9b8 R14: 0000000000000001 R15: 0000000000000001 [ 90.884964][ T5042] [ 90.888146][ T5042] ================================================================================ [ 90.897568][ T5042] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 90.904777][ T5042] CPU: 1 PID: 5042 Comm: syz-executor129 Not tainted 6.5.0-rc5-next-20230809-syzkaller #0 [ 90.914686][ T5042] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 [ 90.924756][ T5042] Call Trace: [ 90.928050][ T5042] [ 90.930993][ T5042] dump_stack_lvl+0xd9/0x1b0 [ 90.935628][ T5042] panic+0x6a6/0x750 [ 90.939548][ T5042] ? panic_smp_self_stop+0xa0/0xa0 [ 90.944691][ T5042] ? syslog_print_all+0x3f0/0x3f0 [ 90.949761][ T5042] check_panic_on_warn+0xab/0xb0 [ 90.954726][ T5042] __ubsan_handle_shift_out_of_bounds+0x2a2/0x600 [ 90.961353][ T5042] extAlloc.cold+0x8b/0xc5 [ 90.965799][ T5042] ? jfs_ioc_trim+0x5c0/0x5c0 [ 90.970502][ T5042] ? down_write_nested+0x153/0x200 [ 90.975641][ T5042] ? lock_acquire+0x464/0x510 [ 90.980368][ T5042] ? lock_sync+0x190/0x190 [ 90.984812][ T5042] jfs_get_block+0x428/0xb20 [ 90.989441][ T5042] ? jfs_read_folio+0x20/0x20 [ 90.994155][ T5042] ? folio_flags.constprop.0+0x56/0x150 [ 90.999721][ T5042] ? do_raw_spin_unlock+0x173/0x230 [ 91.004965][ T5042] ? _raw_spin_unlock+0x28/0x40 [ 91.009847][ T5042] ? jfs_read_folio+0x20/0x20 [ 91.014564][ T5042] __block_write_begin_int+0x3c0/0x1470 [ 91.020231][ T5042] ? jfs_read_folio+0x20/0x20 [ 91.024948][ T5042] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 91.030545][ T5042] block_write_begin+0xb1/0x490 [ 91.035420][ T5042] ? jfs_read_folio+0x20/0x20 [ 91.040143][ T5042] jfs_write_begin+0x31/0xd0 [ 91.044837][ T5042] generic_perform_write+0x278/0x600 [ 91.050150][ T5042] ? folio_add_wait_queue+0x1c0/0x1c0 [ 91.055546][ T5042] ? new_inode+0x270/0x270 [ 91.059996][ T5042] ? generic_write_checks_count+0x2d0/0x2d0 [ 91.065924][ T5042] __generic_file_write_iter+0x1f9/0x240 [ 91.071584][ T5042] generic_file_write_iter+0xe3/0x350 [ 91.077020][ T5042] vfs_write+0x650/0xe40 [ 91.081287][ T5042] ? kernel_write+0x6c0/0x6c0 [ 91.085997][ T5042] ? rcu_is_watching+0x12/0xb0 [ 91.090784][ T5042] ? reacquire_held_locks+0x4b0/0x4b0 [ 91.096190][ T5042] ? __fget_light+0x1fc/0x260 [ 91.100896][ T5042] ksys_write+0x12f/0x250 [ 91.105338][ T5042] ? __ia32_sys_read+0xb0/0xb0 [ 91.110139][ T5042] ? _raw_spin_unlock_irq+0x2e/0x50 [ 91.115368][ T5042] ? ptrace_notify+0xf4/0x130 [ 91.120071][ T5042] do_syscall_64+0x38/0xb0 [ 91.124523][ T5042] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 91.130474][ T5042] RIP: 0033:0x7f92a4550679 [ 91.135011][ T5042] 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 [ 91.154657][ T5042] RSP: 002b:00007ffe5179d7f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 91.163118][ T5042] RAX: ffffffffffffffda RBX: 00007ffe5179d9c8 RCX: 00007f92a4550679 [ 91.171129][ T5042] RDX: 00000000200000c7 RSI: 00000000200000c0 RDI: 0000000000000004 [ 91.179118][ T5042] RBP: 00007f92a45c9610 R08: 0000000000000000 R09: 00007ffe5179d9c8 [ 91.187281][ T5042] R10: 0000000000005eac R11: 0000000000000246 R12: 0000000000000001 [ 91.195613][ T5042] R13: 00007ffe5179d9b8 R14: 0000000000000001 R15: 0000000000000001 [ 91.203627][ T5042] [ 91.206958][ T5042] Kernel Offset: disabled [ 91.211290][ T5042] Rebooting in 86400 seconds..