./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor4258999449 <...> Warning: Permanently added '10.128.1.36' (ECDSA) to the list of known hosts. execve("./syz-executor4258999449", ["./syz-executor4258999449"], 0x7ffcdc60bdc0 /* 10 vars */) = 0 brk(NULL) = 0x555556b1b000 brk(0x555556b1bc40) = 0x555556b1bc40 arch_prctl(ARCH_SET_FS, 0x555556b1b300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor4258999449", 4096) = 28 brk(0x555556b3cc40) = 0x555556b3cc40 brk(0x555556b3d000) = 0x555556b3d000 mprotect(0x7f148d245000, 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=0x555556b1b5d0) = 5028 ./strace-static-x86_64: Process 5028 attached [pid 5028] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5028] setpgid(0, 0) = 0 [pid 5028] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5028] write(3, "1000", 4) = 4 [pid 5028] close(3) = 0 [pid 5028] memfd_create("syzkaller", 0) = 3 [pid 5028] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1484d85000 [ 42.459535][ T5028] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5028 'syz-executor425' [pid 5028] 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 5028] munmap(0x7f1484d85000, 16777216) = 0 [pid 5028] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5028] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5028] close(3) = 0 [pid 5028] mkdir("./file0", 0777) = 0 [pid 5028] mount("/dev/loop0", "./file0", "jfs", MS_LAZYTIME, "") = 0 [pid 5028] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5028] chdir("./file0") = 0 [pid 5028] ioctl(4, LOOP_CLR_FD) = 0 [pid 5028] close(4) = 0 [pid 5028] open(NULL, O_RDWR|O_CREAT|O_NOCTTY|O_NOFOLLOW|O_NOATIME, 000) = -1 EFAULT (Bad address) [pid 5028] open(NULL, O_RDWR|O_CREAT|O_NOCTTY|O_NOFOLLOW|O_NOATIME, 000) = -1 EFAULT (Bad address) [pid 5028] open("./file2", O_RDWR|O_CREAT|O_SYNC|O_NOATIME|FASYNC, 000) = 4 [pid 5028] ftruncate(4, 33587195) = 0 [pid 5028] openat(AT_FDCWD, "blkio.bfq.sectors", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 5 [ 42.570338][ T5028] loop0: detected capacity change from 0 to 32768 [ 42.764427][ T5028] ================================================================================ [ 42.773902][ T5028] UBSAN: shift-out-of-bounds in fs/jfs/jfs_extent.c:314:16 [ 42.781137][ T5028] shift exponent -1 is negative [ 42.785978][ T5028] CPU: 0 PID: 5028 Comm: syz-executor425 Not tainted 6.5.0-rc1-syzkaller #0 [ 42.794647][ T5028] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 42.804686][ T5028] Call Trace: [ 42.807976][ T5028] [ 42.810897][ T5028] dump_stack_lvl+0x136/0x150 [ 42.815590][ T5028] __ubsan_handle_shift_out_of_bounds+0x221/0x5a0 [ 42.822005][ T5028] extAlloc.cold+0x8d/0x92 [ 42.826419][ T5028] ? jfs_ioc_trim+0x5c0/0x5c0 [ 42.831094][ T5028] ? down_write_nested+0x153/0x200 [ 42.836283][ T5028] ? find_held_lock+0x2d/0x110 [ 42.841036][ T5028] jfs_get_block+0x665/0xa90 [ 42.845613][ T5028] ? jfs_read_folio+0x20/0x20 [ 42.850279][ T5028] ? folio_flags.constprop.0+0x53/0x150 [ 42.855839][ T5028] ? do_raw_spin_unlock+0x175/0x230 [ 42.861029][ T5028] ? _raw_spin_unlock+0x28/0x40 [ 42.865874][ T5028] __block_write_begin_int+0x3b1/0x14a0 [ 42.871408][ T5028] ? jfs_read_folio+0x20/0x20 [ 42.876077][ T5028] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 42.881610][ T5028] ? fault_in_readable+0x129/0x210 [ 42.886710][ T5028] ? folio_flags.constprop.0+0x53/0x150 [ 42.892259][ T5028] ? jfs_read_folio+0x20/0x20 [ 42.896928][ T5028] block_write_begin+0xb9/0x4d0 [ 42.901765][ T5028] jfs_write_begin+0x31/0xd0 [ 42.906342][ T5028] generic_perform_write+0x26b/0x5d0 [ 42.911626][ T5028] ? generic_file_readonly_mmap+0x190/0x190 [ 42.917510][ T5028] ? new_inode+0x280/0x280 [ 42.921922][ T5028] ? generic_write_checks_count+0x2c0/0x2c0 [ 42.927802][ T5028] __generic_file_write_iter+0x1f8/0x240 [ 42.933448][ T5028] generic_file_write_iter+0xe3/0x350 [ 42.938809][ T5028] vfs_write+0x981/0xda0 [ 42.943045][ T5028] ? kernel_write+0x680/0x680 [ 42.947714][ T5028] ? recalc_sigpending_tsk+0x18b/0x1d0 [ 42.953164][ T5028] ? find_held_lock+0x2d/0x110 [ 42.957919][ T5028] ? lock_downgrade+0x690/0x690 [ 42.962757][ T5028] ? __fget_light+0x201/0x270 [ 42.967425][ T5028] ksys_write+0x122/0x250 [ 42.971742][ T5028] ? __ia32_sys_read+0xb0/0xb0 [ 42.976492][ T5028] ? lockdep_hardirqs_on+0x7d/0x100 [ 42.981677][ T5028] ? _raw_spin_unlock_irq+0x2e/0x50 [ 42.986867][ T5028] ? ptrace_notify+0xfe/0x140 [ 42.991532][ T5028] do_syscall_64+0x39/0xb0 [ 42.995942][ T5028] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 43.001829][ T5028] RIP: 0033:0x7f148d1d22b9 [ 43.006230][ T5028] 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 [ 43.025826][ T5028] RSP: 002b:00007fff5fb91808 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 43.034229][ T5028] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f148d1d22b9 [ 43.042187][ T5028] RDX: 000000000208e24b RSI: 00000000200001c0 RDI: 0000000000000005 [ 43.050146][ T5028] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 [ 43.058105][ T5028] R10: 0000000000000001 R11: 0000000000000246 R12: 00007fff5fb91830 [ 43.066065][ T5028] R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000 [ 43.074033][ T5028] [ 43.077298][ T5028] ================================================================================ [ 43.086664][ T5028] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 43.093847][ T5028] CPU: 0 PID: 5028 Comm: syz-executor425 Not tainted 6.5.0-rc1-syzkaller #0 [ 43.102504][ T5028] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 43.112542][ T5028] Call Trace: [ 43.115809][ T5028] [ 43.118725][ T5028] dump_stack_lvl+0xd9/0x150 [ 43.123315][ T5028] panic+0x686/0x730 [ 43.127198][ T5028] ? panic_smp_self_stop+0xa0/0xa0 [ 43.132300][ T5028] ? syslog_print_all+0x3a0/0x3a0 [ 43.137319][ T5028] check_panic_on_warn+0xb1/0xc0 [ 43.142247][ T5028] __ubsan_handle_shift_out_of_bounds+0x249/0x5a0 [ 43.148658][ T5028] extAlloc.cold+0x8d/0x92 [ 43.153067][ T5028] ? jfs_ioc_trim+0x5c0/0x5c0 [ 43.157740][ T5028] ? down_write_nested+0x153/0x200 [ 43.162843][ T5028] ? find_held_lock+0x2d/0x110 [ 43.167596][ T5028] jfs_get_block+0x665/0xa90 [ 43.172179][ T5028] ? jfs_read_folio+0x20/0x20 [ 43.176845][ T5028] ? folio_flags.constprop.0+0x53/0x150 [ 43.182386][ T5028] ? do_raw_spin_unlock+0x175/0x230 [ 43.187575][ T5028] ? _raw_spin_unlock+0x28/0x40 [ 43.192417][ T5028] __block_write_begin_int+0x3b1/0x14a0 [ 43.197953][ T5028] ? jfs_read_folio+0x20/0x20 [ 43.202708][ T5028] ? invalidate_bh_lrus_cpu+0x170/0x170 [ 43.208237][ T5028] ? fault_in_readable+0x129/0x210 [ 43.213335][ T5028] ? folio_flags.constprop.0+0x53/0x150 [ 43.218964][ T5028] ? jfs_read_folio+0x20/0x20 [ 43.223626][ T5028] block_write_begin+0xb9/0x4d0 [ 43.228464][ T5028] jfs_write_begin+0x31/0xd0 [ 43.233043][ T5028] generic_perform_write+0x26b/0x5d0 [ 43.238328][ T5028] ? generic_file_readonly_mmap+0x190/0x190 [ 43.244210][ T5028] ? new_inode+0x280/0x280 [ 43.248616][ T5028] ? generic_write_checks_count+0x2c0/0x2c0 [ 43.254495][ T5028] __generic_file_write_iter+0x1f8/0x240 [ 43.260114][ T5028] generic_file_write_iter+0xe3/0x350 [ 43.265475][ T5028] vfs_write+0x981/0xda0 [ 43.269713][ T5028] ? kernel_write+0x680/0x680 [ 43.274378][ T5028] ? recalc_sigpending_tsk+0x18b/0x1d0 [ 43.279831][ T5028] ? find_held_lock+0x2d/0x110 [ 43.284584][ T5028] ? lock_downgrade+0x690/0x690 [ 43.289425][ T5028] ? __fget_light+0x201/0x270 [ 43.294097][ T5028] ksys_write+0x122/0x250 [ 43.298416][ T5028] ? __ia32_sys_read+0xb0/0xb0 [ 43.303168][ T5028] ? lockdep_hardirqs_on+0x7d/0x100 [ 43.308355][ T5028] ? _raw_spin_unlock_irq+0x2e/0x50 [ 43.313540][ T5028] ? ptrace_notify+0xfe/0x140 [ 43.318202][ T5028] do_syscall_64+0x39/0xb0 [ 43.322610][ T5028] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 43.328496][ T5028] RIP: 0033:0x7f148d1d22b9 [ 43.332894][ T5028] 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 [ 43.352485][ T5028] RSP: 002b:00007fff5fb91808 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 43.360880][ T5028] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f148d1d22b9 [ 43.368836][ T5028] RDX: 000000000208e24b RSI: 00000000200001c0 RDI: 0000000000000005 [ 43.376788][ T5028] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 [ 43.384776][ T5028] R10: 0000000000000001 R11: 0000000000000246 R12: 00007fff5fb91830 [ 43.392748][ T5028] R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000 [ 43.400718][ T5028] [ 43.404893][ T5028] Kernel Offset: disabled [ 43.409264][ T5028] Rebooting in 86400 seconds..