./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor373459857 <...> Warning: Permanently added '10.128.0.106' (ECDSA) to the list of known hosts. execve("./syz-executor373459857", ["./syz-executor373459857"], 0x7ffe1e8854b0 /* 10 vars */) = 0 brk(NULL) = 0x555556267000 brk(0x555556267c40) = 0x555556267c40 arch_prctl(ARCH_SET_FS, 0x555556267300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor373459857", 4096) = 27 brk(0x555556288c40) = 0x555556288c40 brk(0x555556289000) = 0x555556289000 mprotect(0x7f2a5b5f6000, 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=0x5555562675d0) = 5006 ./strace-static-x86_64: Process 5006 attached [pid 5006] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5006] setpgid(0, 0) = 0 [pid 5006] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "1000", 4) = 4 [pid 5006] close(3) = 0 [pid 5006] memfd_create("syzkaller", 0) = 3 [pid 5006] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2a53136000 syzkaller login: [ 46.879407][ T5006] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5006 'syz-executor373' [pid 5006] 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 5006] munmap(0x7f2a53136000, 16777216) = 0 [pid 5006] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5006] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5006] close(3) = 0 [pid 5006] mkdir("./file0", 0777) = 0 [pid 5006] mount("/dev/loop0", "./file0", "jfs", 0, "") = 0 [pid 5006] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5006] chdir("./file0") = 0 [pid 5006] ioctl(4, LOOP_CLR_FD) = 0 [pid 5006] close(4) = 0 [pid 5006] openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 5006] openat(AT_FDCWD, "memory.swap.events", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [ 46.989469][ T5006] loop0: detected capacity change from 0 to 32768 [ 47.186893][ T5006] ================================================================================ [ 47.196402][ T5006] UBSAN: shift-out-of-bounds in fs/jfs/jfs_extent.c:314:16 [ 47.203594][ T5006] shift exponent -1 is negative [ 47.208457][ T5006] CPU: 1 PID: 5006 Comm: syz-executor373 Not tainted 6.4.0-rc5-syzkaller-00133-g25041a4c02c7 #0 [ 47.218865][ T5006] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 47.228908][ T5006] Call Trace: [ 47.232198][ T5006] [ 47.235117][ T5006] dump_stack_lvl+0x136/0x150 [ 47.239803][ T5006] __ubsan_handle_shift_out_of_bounds+0x221/0x5a0 [ 47.246229][ T5006] extAlloc.cold+0x8d/0x92 [ 47.250643][ T5006] ? jfs_ioc_trim+0x5c0/0x5c0 [ 47.255309][ T5006] ? down_write_nested+0x153/0x200 [ 47.260415][ T5006] ? find_held_lock+0x2d/0x110 [ 47.265169][ T5006] jfs_get_block+0x665/0xa90 [ 47.269766][ T5006] ? jfs_read_folio+0x20/0x20 [ 47.274441][ T5006] ? folio_flags.constprop.0+0x53/0x150 [ 47.279989][ T5006] ? do_raw_spin_unlock+0x175/0x230 [ 47.285183][ T5006] ? _raw_spin_unlock+0x28/0x40 [ 47.290128][ T5006] __block_write_begin_int+0x3bd/0x14b0 [ 47.295662][ T5006] ? jfs_read_folio+0x20/0x20 [ 47.300336][ T5006] ? invalidate_bh_lrus_cpu+0x140/0x140 [ 47.305872][ T5006] ? folio_flags.constprop.0+0x53/0x150 [ 47.311510][ T5006] ? jfs_read_folio+0x20/0x20 [ 47.316177][ T5006] block_write_begin+0xb9/0x4d0 [ 47.321020][ T5006] jfs_write_begin+0x31/0xd0 [ 47.325602][ T5006] generic_perform_write+0x256/0x570 [ 47.330975][ T5006] ? generic_file_readonly_mmap+0x180/0x180 [ 47.336861][ T5006] ? new_inode+0x280/0x280 [ 47.341272][ T5006] ? generic_write_checks+0x2c0/0x400 [ 47.346640][ T5006] __generic_file_write_iter+0x2ae/0x500 [ 47.352268][ T5006] generic_file_write_iter+0xe3/0x350 [ 47.357634][ T5006] vfs_write+0x945/0xd50 [ 47.361865][ T5006] ? kernel_write+0x670/0x670 [ 47.366526][ T5006] ? recalc_sigpending_tsk+0x18b/0x1d0 [ 47.371974][ T5006] ? find_held_lock+0x2d/0x110 [ 47.376730][ T5006] ? lock_downgrade+0x690/0x690 [ 47.381573][ T5006] ? __fget_light+0x20a/0x270 [ 47.386249][ T5006] ksys_write+0x12b/0x250 [ 47.390564][ T5006] ? __ia32_sys_read+0xb0/0xb0 [ 47.395313][ T5006] ? lockdep_hardirqs_on+0x7d/0x100 [ 47.400507][ T5006] ? _raw_spin_unlock_irq+0x2e/0x50 [ 47.405701][ T5006] ? ptrace_notify+0xfe/0x140 [ 47.410373][ T5006] do_syscall_64+0x39/0xb0 [ 47.414795][ T5006] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 47.420689][ T5006] RIP: 0033:0x7f2a5b583509 [ 47.425091][ T5006] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 47.444690][ T5006] RSP: 002b:00007ffe5bff10c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 47.453095][ T5006] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2a5b583509 [ 47.461061][ T5006] RDX: 000000000208e24b RSI: 0000000020000180 RDI: 0000000000000005 [ 47.469022][ T5006] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 [ 47.476978][ T5006] R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffe5bff10f0 [ 47.484933][ T5006] R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000 [ 47.492989][ T5006] [ 47.496757][ T5006] ================================================================================ [ 47.506252][ T5006] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 47.513436][ T5006] CPU: 0 PID: 5006 Comm: syz-executor373 Not tainted 6.4.0-rc5-syzkaller-00133-g25041a4c02c7 #0 [ 47.523840][ T5006] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 47.533870][ T5006] Call Trace: [ 47.537126][ T5006] [ 47.540034][ T5006] dump_stack_lvl+0xd9/0x150 [ 47.544622][ T5006] panic+0x686/0x730 [ 47.548500][ T5006] ? panic_smp_self_stop+0xa0/0xa0 [ 47.553938][ T5006] ? syslog_print_all+0x3a0/0x3a0 [ 47.558950][ T5006] check_panic_on_warn+0xb1/0xc0 [ 47.563869][ T5006] __ubsan_handle_shift_out_of_bounds+0x249/0x5a0 [ 47.570275][ T5006] extAlloc.cold+0x8d/0x92 [ 47.574674][ T5006] ? jfs_ioc_trim+0x5c0/0x5c0 [ 47.579324][ T5006] ? down_write_nested+0x153/0x200 [ 47.584415][ T5006] ? find_held_lock+0x2d/0x110 [ 47.589195][ T5006] jfs_get_block+0x665/0xa90 [ 47.593769][ T5006] ? jfs_read_folio+0x20/0x20 [ 47.598427][ T5006] ? folio_flags.constprop.0+0x53/0x150 [ 47.603958][ T5006] ? do_raw_spin_unlock+0x175/0x230 [ 47.609226][ T5006] ? _raw_spin_unlock+0x28/0x40 [ 47.614058][ T5006] __block_write_begin_int+0x3bd/0x14b0 [ 47.619579][ T5006] ? jfs_read_folio+0x20/0x20 [ 47.624252][ T5006] ? invalidate_bh_lrus_cpu+0x140/0x140 [ 47.629774][ T5006] ? folio_flags.constprop.0+0x53/0x150 [ 47.635314][ T5006] ? jfs_read_folio+0x20/0x20 [ 47.640056][ T5006] block_write_begin+0xb9/0x4d0 [ 47.644892][ T5006] jfs_write_begin+0x31/0xd0 [ 47.649460][ T5006] generic_perform_write+0x256/0x570 [ 47.654729][ T5006] ? generic_file_readonly_mmap+0x180/0x180 [ 47.660616][ T5006] ? new_inode+0x280/0x280 [ 47.665013][ T5006] ? generic_write_checks+0x2c0/0x400 [ 47.670365][ T5006] __generic_file_write_iter+0x2ae/0x500 [ 47.676948][ T5006] generic_file_write_iter+0xe3/0x350 [ 47.682302][ T5006] vfs_write+0x945/0xd50 [ 47.686518][ T5006] ? kernel_write+0x670/0x670 [ 47.691164][ T5006] ? recalc_sigpending_tsk+0x18b/0x1d0 [ 47.696699][ T5006] ? find_held_lock+0x2d/0x110 [ 47.701468][ T5006] ? lock_downgrade+0x690/0x690 [ 47.707015][ T5006] ? __fget_light+0x20a/0x270 [ 47.711703][ T5006] ksys_write+0x12b/0x250 [ 47.716038][ T5006] ? __ia32_sys_read+0xb0/0xb0 [ 47.720802][ T5006] ? lockdep_hardirqs_on+0x7d/0x100 [ 47.725991][ T5006] ? _raw_spin_unlock_irq+0x2e/0x50 [ 47.731197][ T5006] ? ptrace_notify+0xfe/0x140 [ 47.735865][ T5006] do_syscall_64+0x39/0xb0 [ 47.740284][ T5006] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 47.746170][ T5006] RIP: 0033:0x7f2a5b583509 [ 47.750579][ T5006] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 47.770173][ T5006] RSP: 002b:00007ffe5bff10c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 47.778566][ T5006] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2a5b583509 [ 47.786518][ T5006] RDX: 000000000208e24b RSI: 0000000020000180 RDI: 0000000000000005 [ 47.794476][ T5006] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 [ 47.802443][ T5006] R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffe5bff10f0 [ 47.810431][ T5006] R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000 [ 47.818571][ T5006] [ 47.822277][ T5006] Kernel Offset: disabled [ 47.826675][ T5006] Rebooting in 86400 seconds..