./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor926319015 <...> Warning: Permanently added '10.128.0.112' (ED25519) to the list of known hosts. execve("./syz-executor926319015", ["./syz-executor926319015"], 0x7fff6ec5ba20 /* 10 vars */) = 0 brk(NULL) = 0x5555560a9000 brk(0x5555560a9d00) = 0x5555560a9d00 arch_prctl(ARCH_SET_FS, 0x5555560a9380) = 0 set_tid_address(0x5555560a9650) = 5031 set_robust_list(0x5555560a9660, 24) = 0 rseq(0x5555560a9ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor926319015", 4096) = 27 getrandom("\x68\xaa\x3e\xd0\xef\x2d\xd1\x81", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555560a9d00 brk(0x5555560cad00) = 0x5555560cad00 brk(0x5555560cb000) = 0x5555560cb000 mprotect(0x7f90b10da000, 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=0x5555560a9650) = 5032 ./strace-static-x86_64: Process 5032 attached [pid 5032] set_robust_list(0x5555560a9660, 24) = 0 [pid 5032] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5032] setpgid(0, 0) = 0 [pid 5032] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5032] write(3, "1000", 4) = 4 [pid 5032] close(3) = 0 [pid 5032] memfd_create("syzkaller", 0) = 3 [pid 5032] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f90a8c22000 [ 73.736081][ T5032] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5032 'syz-executor926' [pid 5032] 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 5032] munmap(0x7f90a8c22000, 16777216) = 0 [pid 5032] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5032] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5032] close(3) = 0 [pid 5032] mkdir("./file0", 0777) = 0 [pid 5032] mount("/dev/loop0", "./file0", "jfs", 0, "") = 0 [pid 5032] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5032] chdir("./file0") = 0 [pid 5032] ioctl(4, LOOP_CLR_FD) = 0 [pid 5032] close(4) = 0 [pid 5032] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5032] openat(AT_FDCWD, "memory.swap.events", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [ 73.977914][ T5032] loop0: detected capacity change from 0 to 32768 [ 74.355690][ T5032] ================================================================================ [ 74.365333][ T5032] UBSAN: shift-out-of-bounds in fs/jfs/jfs_extent.c:314:16 [ 74.372663][ T5032] shift exponent -1 is negative [ 74.377699][ T5032] CPU: 0 PID: 5032 Comm: syz-executor926 Not tainted 6.5.0-rc1-next-20230712-syzkaller #0 [ 74.387737][ T5032] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 74.397812][ T5032] Call Trace: [ 74.401104][ T5032] [ 74.404060][ T5032] dump_stack_lvl+0x125/0x1b0 [ 74.408811][ T5032] __ubsan_handle_shift_out_of_bounds+0x220/0x5a0 [ 74.415305][ T5032] extAlloc.cold+0x8b/0xc5 [ 74.419771][ T5032] ? jfs_ioc_trim+0x5c0/0x5c0 [ 74.424478][ T5032] ? down_write_nested+0x153/0x200 [ 74.429618][ T5032] ? find_held_lock+0x2d/0x110 [ 74.434412][ T5032] jfs_get_block+0x3ff/0xaf0 [ 74.439039][ T5032] ? jfs_read_folio+0x20/0x20 [ 74.443764][ T5032] ? folio_flags.constprop.0+0x56/0x150 [ 74.449371][ T5032] ? do_raw_spin_unlock+0x173/0x230 [ 74.454685][ T5032] ? _raw_spin_unlock+0x28/0x40 [ 74.459579][ T5032] ? jfs_read_folio+0x20/0x20 [ 74.464287][ T5032] __block_write_begin_int+0x3a7/0x1460 [ 74.469882][ T5032] ? jfs_read_folio+0x20/0x20 [ 74.474654][ T5032] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 74.480338][ T5032] ? __filemap_get_folio+0x1e7/0x990 [ 74.485648][ T5032] ? folio_flags.constprop.0+0x56/0x150 [ 74.491324][ T5032] block_write_begin+0xb1/0x490 [ 74.496215][ T5032] ? jfs_read_folio+0x20/0x20 [ 74.500937][ T5032] jfs_write_begin+0x31/0xd0 [ 74.505586][ T5032] generic_perform_write+0x26c/0x5f0 [ 74.510956][ T5032] ? __mnt_drop_write_file+0x45/0xf0 [ 74.516308][ T5032] ? folio_add_wait_queue+0x1c0/0x1c0 [ 74.521810][ T5032] ? new_inode+0x270/0x270 [ 74.526344][ T5032] ? generic_write_checks_count+0x2d0/0x2d0 [ 74.532262][ T5032] __generic_file_write_iter+0x1f9/0x240 [ 74.537947][ T5032] generic_file_write_iter+0xe3/0x350 [ 74.543350][ T5032] vfs_write+0x60a/0xdf0 [ 74.547642][ T5032] ? kernel_write+0x690/0x690 [ 74.552372][ T5032] ? recalc_sigpending_tsk+0x188/0x1d0 [ 74.557878][ T5032] ? find_held_lock+0x2d/0x110 [ 74.562761][ T5032] ? reacquire_held_locks+0x4b0/0x4b0 [ 74.568166][ T5032] ? __fget_light+0x1fc/0x260 [ 74.572918][ T5032] ksys_write+0x126/0x250 [ 74.577288][ T5032] ? __ia32_sys_read+0xb0/0xb0 [ 74.582094][ T5032] ? lockdep_hardirqs_on+0x7d/0x100 [ 74.587355][ T5032] ? _raw_spin_unlock_irq+0x2e/0x50 [ 74.592575][ T5032] ? ptrace_notify+0xf4/0x130 [ 74.597277][ T5032] do_syscall_64+0x38/0xb0 [ 74.601728][ T5032] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 74.607647][ T5032] RIP: 0033:0x7f90b1060d59 [ 74.612077][ T5032] 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 [ 74.631808][ T5032] RSP: 002b:00007ffe20d55a68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 74.640256][ T5032] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f90b1060d59 [ 74.648271][ T5032] RDX: 000000000208e24b RSI: 0000000020000180 RDI: 0000000000000005 [ 74.656279][ T5032] RBP: 00007f90b10da5f0 R08: 00005555560aa4c0 R09: 00005555560aa4c0 [ 74.664323][ T5032] R10: 00005555560aa4c0 R11: 0000000000000246 R12: 00007ffe20d55a90 [ 74.672407][ T5032] R13: 00007ffe20d55cb8 R14: 431bde82d7b634db R15: 00007f90b10aa03b [ 74.680431][ T5032] [ 74.683874][ T5032] ================================================================================ [ 74.693348][ T5032] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 74.700565][ T5032] CPU: 0 PID: 5032 Comm: syz-executor926 Not tainted 6.5.0-rc1-next-20230712-syzkaller #0 [ 74.710499][ T5032] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 74.720587][ T5032] Call Trace: [ 74.723895][ T5032] [ 74.726869][ T5032] dump_stack_lvl+0xd9/0x1b0 [ 74.731504][ T5032] panic+0x689/0x730 [ 74.735423][ T5032] ? panic_smp_self_stop+0xa0/0xa0 [ 74.740654][ T5032] ? syslog_print_all+0x3c0/0x3c0 [ 74.745712][ T5032] check_panic_on_warn+0xab/0xb0 [ 74.750690][ T5032] __ubsan_handle_shift_out_of_bounds+0x248/0x5a0 [ 74.757157][ T5032] extAlloc.cold+0x8b/0xc5 [ 74.761650][ T5032] ? jfs_ioc_trim+0x5c0/0x5c0 [ 74.766375][ T5032] ? down_write_nested+0x153/0x200 [ 74.771543][ T5032] ? find_held_lock+0x2d/0x110 [ 74.776360][ T5032] jfs_get_block+0x3ff/0xaf0 [ 74.781012][ T5032] ? jfs_read_folio+0x20/0x20 [ 74.785825][ T5032] ? folio_flags.constprop.0+0x56/0x150 [ 74.791427][ T5032] ? do_raw_spin_unlock+0x173/0x230 [ 74.796671][ T5032] ? _raw_spin_unlock+0x28/0x40 [ 74.801553][ T5032] ? jfs_read_folio+0x20/0x20 [ 74.806267][ T5032] __block_write_begin_int+0x3a7/0x1460 [ 74.811856][ T5032] ? jfs_read_folio+0x20/0x20 [ 74.816578][ T5032] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 74.822156][ T5032] ? __filemap_get_folio+0x1e7/0x990 [ 74.827474][ T5032] ? folio_flags.constprop.0+0x56/0x150 [ 74.833095][ T5032] block_write_begin+0xb1/0x490 [ 74.837993][ T5032] ? jfs_read_folio+0x20/0x20 [ 74.842710][ T5032] jfs_write_begin+0x31/0xd0 [ 74.847345][ T5032] generic_perform_write+0x26c/0x5f0 [ 74.852683][ T5032] ? __mnt_drop_write_file+0x45/0xf0 [ 74.858000][ T5032] ? folio_add_wait_queue+0x1c0/0x1c0 [ 74.863512][ T5032] ? new_inode+0x270/0x270 [ 74.867986][ T5032] ? generic_write_checks_count+0x2d0/0x2d0 [ 74.873910][ T5032] __generic_file_write_iter+0x1f9/0x240 [ 74.879576][ T5032] generic_file_write_iter+0xe3/0x350 [ 74.884986][ T5032] vfs_write+0x60a/0xdf0 [ 74.889278][ T5032] ? kernel_write+0x690/0x690 [ 74.893992][ T5032] ? recalc_sigpending_tsk+0x188/0x1d0 [ 74.899514][ T5032] ? find_held_lock+0x2d/0x110 [ 74.904314][ T5032] ? reacquire_held_locks+0x4b0/0x4b0 [ 74.909723][ T5032] ? __fget_light+0x1fc/0x260 [ 74.914442][ T5032] ksys_write+0x126/0x250 [ 74.918815][ T5032] ? __ia32_sys_read+0xb0/0xb0 [ 74.923616][ T5032] ? lockdep_hardirqs_on+0x7d/0x100 [ 74.928896][ T5032] ? _raw_spin_unlock_irq+0x2e/0x50 [ 74.934138][ T5032] ? ptrace_notify+0xf4/0x130 [ 74.938849][ T5032] do_syscall_64+0x38/0xb0 [ 74.943303][ T5032] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 74.949230][ T5032] RIP: 0033:0x7f90b1060d59 [ 74.953673][ T5032] 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 [ 74.973306][ T5032] RSP: 002b:00007ffe20d55a68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 74.981744][ T5032] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f90b1060d59 [ 74.989736][ T5032] RDX: 000000000208e24b RSI: 0000000020000180 RDI: 0000000000000005 [ 74.997729][ T5032] RBP: 00007f90b10da5f0 R08: 00005555560aa4c0 R09: 00005555560aa4c0 [ 75.005809][ T5032] R10: 00005555560aa4c0 R11: 0000000000000246 R12: 00007ffe20d55a90 [ 75.013896][ T5032] R13: 00007ffe20d55cb8 R14: 431bde82d7b634db R15: 00007f90b10aa03b [ 75.021932][ T5032] [ 75.025087][ T5032] Kernel Offset: disabled [ 75.029531][ T5032] Rebooting in 86400 seconds..