./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3522192545 <...> Warning: Permanently added '10.128.1.42' (ED25519) to the list of known hosts. execve("./syz-executor3522192545", ["./syz-executor3522192545"], 0x7ffeedbc80a0 /* 10 vars */) = 0 brk(NULL) = 0x555555fc8000 brk(0x555555fc8d00) = 0x555555fc8d00 arch_prctl(ARCH_SET_FS, 0x555555fc8380) = 0 set_tid_address(0x555555fc8650) = 5030 set_robust_list(0x555555fc8660, 24) = 0 rseq(0x555555fc8ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3522192545", 4096) = 28 getrandom("\x3a\x8f\x28\x12\xca\x65\xe9\x4b", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555555fc8d00 brk(0x555555fe9d00) = 0x555555fe9d00 brk(0x555555fea000) = 0x555555fea000 mprotect(0x7f00e9191000, 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 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555fc8650) = 5031 ./strace-static-x86_64: Process 5031 attached [pid 5031] set_robust_list(0x555555fc8660, 24) = 0 [pid 5031] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5031] setpgid(0, 0) = 0 [pid 5031] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5031] write(3, "1000", 4) = 4 [pid 5031] close(3) = 0 [pid 5031] memfd_create("syzkaller", 0) = 3 [pid 5031] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f00e0cda000 [ 69.229136][ T5031] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5031 'syz-executor352' [pid 5031] 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 [pid 5031] munmap(0x7f00e0cda000, 16777216) = 0 [pid 5031] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5031] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5031] close(3) = 0 [pid 5031] mkdir("./file0", 0777) = 0 [pid 5031] mount("/dev/loop0", "./file0", "jfs", MS_NOSUID|MS_NODIRATIME|MS_STRICTATIME, "") = 0 [pid 5031] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5031] chdir("./file0") = 0 [pid 5031] ioctl(4, LOOP_CLR_FD) = 0 [pid 5031] close(4) = 0 [pid 5031] openat(AT_FDCWD, "blkio.bfq.io_service_time_recursive", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [ 69.394914][ T5031] loop0: detected capacity change from 0 to 32768 [ 69.626237][ T5031] ================================================================================ [ 69.635587][ T5031] UBSAN: shift-out-of-bounds in fs/jfs/jfs_extent.c:314:16 [ 69.642835][ T5031] shift exponent -1 is negative [ 69.647751][ T5031] CPU: 0 PID: 5031 Comm: syz-executor352 Not tainted 6.5.0-rc4-next-20230802-syzkaller #0 [ 69.657686][ T5031] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 69.667771][ T5031] Call Trace: [ 69.671069][ T5031] [ 69.674021][ T5031] dump_stack_lvl+0x125/0x1b0 [ 69.678736][ T5031] __ubsan_handle_shift_out_of_bounds+0x27a/0x600 [ 69.685237][ T5031] extAlloc.cold+0x8b/0xc5 [ 69.689713][ T5031] ? jfs_ioc_trim+0x5c0/0x5c0 [ 69.694422][ T5031] ? down_write_nested+0x153/0x200 [ 69.699573][ T5031] ? lock_acquire+0x464/0x510 [ 69.704280][ T5031] ? lock_sync+0x190/0x190 [ 69.708720][ T5031] jfs_get_block+0x428/0xb20 [ 69.713366][ T5031] ? jfs_read_folio+0x20/0x20 [ 69.718072][ T5031] ? folio_flags.constprop.0+0x56/0x150 [ 69.723634][ T5031] ? do_raw_spin_unlock+0x173/0x230 [ 69.728859][ T5031] ? _raw_spin_unlock+0x28/0x40 [ 69.733727][ T5031] ? jfs_read_folio+0x20/0x20 [ 69.738434][ T5031] __block_write_begin_int+0x3c0/0x1470 [ 69.744000][ T5031] ? jfs_read_folio+0x20/0x20 [ 69.748725][ T5031] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 69.754313][ T5031] block_write_begin+0xb1/0x490 [ 69.759185][ T5031] ? jfs_read_folio+0x20/0x20 [ 69.763902][ T5031] jfs_write_begin+0x31/0xd0 [ 69.768544][ T5031] generic_perform_write+0x278/0x600 [ 69.773850][ T5031] ? folio_add_wait_queue+0x1c0/0x1c0 [ 69.779272][ T5031] ? new_inode+0x270/0x270 [ 69.783709][ T5031] ? generic_write_checks_count+0x2d0/0x2d0 [ 69.789636][ T5031] __generic_file_write_iter+0x1f9/0x240 [ 69.795312][ T5031] generic_file_write_iter+0xe3/0x350 [ 69.800706][ T5031] vfs_write+0x650/0xe40 [ 69.804983][ T5031] ? kernel_write+0x6c0/0x6c0 [ 69.809728][ T5031] ? rcu_is_watching+0x12/0xb0 [ 69.814537][ T5031] ksys_write+0x12f/0x250 [ 69.818884][ T5031] ? __ia32_sys_read+0xb0/0xb0 [ 69.823687][ T5031] ? _raw_spin_unlock_irq+0x2e/0x50 [ 69.828902][ T5031] ? ptrace_notify+0xf4/0x130 [ 69.833609][ T5031] do_syscall_64+0x38/0xb0 [ 69.838125][ T5031] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.844063][ T5031] RIP: 0033:0x7f00e9118a59 [ 69.848505][ T5031] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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 [ 69.868144][ T5031] RSP: 002b:00007fffd3689958 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 69.876586][ T5031] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f00e9118a59 [ 69.884566][ T5031] RDX: 000000000208e24b RSI: 0000000020000300 RDI: 0000000000000004 [ 69.892549][ T5031] RBP: 00007f00e91915f0 R08: 0000555555fc94c0 R09: 0000555555fc94c0 [ 69.900533][ T5031] R10: 0000000000005eff R11: 0000000000000246 R12: 00007fffd3689980 [ 69.908528][ T5031] R13: 00007fffd3689ba8 R14: 431bde82d7b634db R15: 00007f00e916103b [ 69.916583][ T5031] [ 69.919827][ T5031] ================================================================================ [ 69.929285][ T5031] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 69.936489][ T5031] CPU: 0 PID: 5031 Comm: syz-executor352 Not tainted 6.5.0-rc4-next-20230802-syzkaller #0 [ 69.946404][ T5031] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 69.956492][ T5031] Call Trace: [ 69.959784][ T5031] [ 69.962744][ T5031] dump_stack_lvl+0xd9/0x1b0 [ 69.967367][ T5031] panic+0x6a4/0x750 [ 69.971282][ T5031] ? panic_smp_self_stop+0xa0/0xa0 [ 69.976414][ T5031] ? syslog_print_all+0x3f0/0x3f0 [ 69.981478][ T5031] check_panic_on_warn+0xab/0xb0 [ 69.986443][ T5031] __ubsan_handle_shift_out_of_bounds+0x2a2/0x600 [ 69.992957][ T5031] extAlloc.cold+0x8b/0xc5 [ 69.997433][ T5031] ? jfs_ioc_trim+0x5c0/0x5c0 [ 70.002156][ T5031] ? down_write_nested+0x153/0x200 [ 70.007317][ T5031] ? lock_acquire+0x464/0x510 [ 70.012051][ T5031] ? lock_sync+0x190/0x190 [ 70.016508][ T5031] jfs_get_block+0x428/0xb20 [ 70.021147][ T5031] ? jfs_read_folio+0x20/0x20 [ 70.025850][ T5031] ? folio_flags.constprop.0+0x56/0x150 [ 70.031433][ T5031] ? do_raw_spin_unlock+0x173/0x230 [ 70.036658][ T5031] ? _raw_spin_unlock+0x28/0x40 [ 70.041528][ T5031] ? jfs_read_folio+0x20/0x20 [ 70.046233][ T5031] __block_write_begin_int+0x3c0/0x1470 [ 70.051829][ T5031] ? jfs_read_folio+0x20/0x20 [ 70.056539][ T5031] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 70.062136][ T5031] block_write_begin+0xb1/0x490 [ 70.067006][ T5031] ? jfs_read_folio+0x20/0x20 [ 70.071740][ T5031] jfs_write_begin+0x31/0xd0 [ 70.076363][ T5031] generic_perform_write+0x278/0x600 [ 70.081671][ T5031] ? folio_add_wait_queue+0x1c0/0x1c0 [ 70.087071][ T5031] ? new_inode+0x270/0x270 [ 70.091536][ T5031] ? generic_write_checks_count+0x2d0/0x2d0 [ 70.097454][ T5031] __generic_file_write_iter+0x1f9/0x240 [ 70.103118][ T5031] generic_file_write_iter+0xe3/0x350 [ 70.108521][ T5031] vfs_write+0x650/0xe40 [ 70.112776][ T5031] ? kernel_write+0x6c0/0x6c0 [ 70.117472][ T5031] ? rcu_is_watching+0x12/0xb0 [ 70.122286][ T5031] ksys_write+0x12f/0x250 [ 70.126649][ T5031] ? __ia32_sys_read+0xb0/0xb0 [ 70.131435][ T5031] ? _raw_spin_unlock_irq+0x2e/0x50 [ 70.136681][ T5031] ? ptrace_notify+0xf4/0x130 [ 70.141753][ T5031] do_syscall_64+0x38/0xb0 [ 70.146216][ T5031] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 70.152144][ T5031] RIP: 0033:0x7f00e9118a59 [ 70.156594][ T5031] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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 [ 70.176216][ T5031] RSP: 002b:00007fffd3689958 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 70.184649][ T5031] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f00e9118a59 [ 70.192739][ T5031] RDX: 000000000208e24b RSI: 0000000020000300 RDI: 0000000000000004 [ 70.200721][ T5031] RBP: 00007f00e91915f0 R08: 0000555555fc94c0 R09: 0000555555fc94c0 [ 70.208714][ T5031] R10: 0000000000005eff R11: 0000000000000246 R12: 00007fffd3689980 [ 70.216694][ T5031] R13: 00007fffd3689ba8 R14: 431bde82d7b634db R15: 00007f00e916103b [ 70.224699][ T5031] [ 70.228037][ T5031] Kernel Offset: disabled [ 70.232367][ T5031] Rebooting in 86400 seconds..