./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2050370191 <...> Warning: Permanently added '10.128.0.68' (ECDSA) to the list of known hosts. execve("./syz-executor2050370191", ["./syz-executor2050370191"], 0x7ffdae9265b0 /* 10 vars */) = 0 brk(NULL) = 0x555556d00000 brk(0x555556d00c40) = 0x555556d00c40 arch_prctl(ARCH_SET_FS, 0x555556d00300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor2050370191", 4096) = 28 brk(0x555556d21c40) = 0x555556d21c40 brk(0x555556d22000) = 0x555556d22000 mprotect(0x7f13dc154000, 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=0x555556d005d0) = 5000 ./strace-static-x86_64: Process 5000 attached [pid 5000] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5000] setpgid(0, 0) = 0 [pid 5000] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5000] write(3, "1000", 4) = 4 [pid 5000] close(3) = 0 [pid 5000] memfd_create("syzkaller", 0) = 3 [pid 5000] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f13d3c94000 syzkaller login: [ 44.989041][ T5000] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5000 'syz-executor205' [pid 5000] 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 5000] munmap(0x7f13d3c94000, 16777216) = 0 [pid 5000] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5000] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5000] close(3) = 0 [pid 5000] mkdir("./file0", 0777) = 0 [pid 5000] mount("/dev/loop0", "./file0", "jfs", MS_SYNCHRONOUS|MS_NODIRATIME|MS_RELATIME|MS_LAZYTIME, "") = 0 [pid 5000] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5000] chdir("./file0") = 0 [pid 5000] ioctl(4, LOOP_CLR_FD) = 0 [pid 5000] close(4) = 0 [pid 5000] open("./bus", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_SYNC|O_LARGEFILE|O_NOATIME|0x3c, 000) = 4 [ 45.095502][ T5000] loop0: detected capacity change from 0 to 32768 [ 45.260740][ T5000] ================================================================================ [ 45.270265][ T5000] UBSAN: shift-out-of-bounds in fs/jfs/jfs_extent.c:314:16 [ 45.277511][ T5000] shift exponent -1 is negative [ 45.282361][ T5000] CPU: 0 PID: 5000 Comm: syz-executor205 Not tainted 6.4.0-rc4-syzkaller-00276-ge5282a7d8f6b #0 [ 45.292781][ T5000] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 45.302827][ T5000] Call Trace: [ 45.306091][ T5000] [ 45.309012][ T5000] dump_stack_lvl+0x136/0x150 [ 45.313697][ T5000] __ubsan_handle_shift_out_of_bounds+0x221/0x5a0 [ 45.320108][ T5000] extAlloc.cold+0x8d/0x92 [ 45.324517][ T5000] ? jfs_ioc_trim+0x5c0/0x5c0 [ 45.329197][ T5000] ? down_write_nested+0x153/0x200 [ 45.334325][ T5000] ? find_held_lock+0x2d/0x110 [ 45.339080][ T5000] jfs_get_block+0x665/0xa90 [ 45.343663][ T5000] ? jfs_read_folio+0x20/0x20 [ 45.348417][ T5000] ? folio_flags.constprop.0+0x53/0x150 [ 45.353963][ T5000] ? do_raw_spin_unlock+0x175/0x230 [ 45.359162][ T5000] ? _raw_spin_unlock+0x28/0x40 [ 45.364031][ T5000] __block_write_begin_int+0x3bd/0x14b0 [ 45.369568][ T5000] ? jfs_read_folio+0x20/0x20 [ 45.374243][ T5000] ? invalidate_bh_lrus_cpu+0x140/0x140 [ 45.379776][ T5000] ? folio_flags.constprop.0+0x53/0x150 [ 45.385316][ T5000] ? jfs_read_folio+0x20/0x20 [ 45.389987][ T5000] block_write_begin+0xb9/0x4d0 [ 45.394828][ T5000] jfs_write_begin+0x31/0xd0 [ 45.399411][ T5000] generic_perform_write+0x256/0x570 [ 45.404692][ T5000] ? generic_file_readonly_mmap+0x180/0x180 [ 45.410576][ T5000] ? new_inode+0x280/0x280 [ 45.415248][ T5000] ? generic_write_checks+0x2c0/0x400 [ 45.420612][ T5000] __generic_file_write_iter+0x2ae/0x500 [ 45.426247][ T5000] generic_file_write_iter+0xe3/0x350 [ 45.431614][ T5000] vfs_write+0x945/0xd50 [ 45.435843][ T5000] ? kernel_write+0x670/0x670 [ 45.440506][ T5000] ? recalc_sigpending_tsk+0x18b/0x1d0 [ 45.445959][ T5000] ? find_held_lock+0x2d/0x110 [ 45.450717][ T5000] ? lock_downgrade+0x690/0x690 [ 45.455558][ T5000] ? __fget_light+0x20a/0x270 [ 45.460234][ T5000] ksys_write+0x12b/0x250 [ 45.464552][ T5000] ? __ia32_sys_read+0xb0/0xb0 [ 45.469303][ T5000] ? lockdep_hardirqs_on+0x7d/0x100 [ 45.474490][ T5000] ? _raw_spin_unlock_irq+0x2e/0x50 [ 45.479683][ T5000] ? ptrace_notify+0xfe/0x140 [ 45.484369][ T5000] do_syscall_64+0x39/0xb0 [ 45.488789][ T5000] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 45.494678][ T5000] RIP: 0033:0x7f13dc0e1229 [ 45.499080][ T5000] 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 [ 45.518679][ T5000] RSP: 002b:00007ffe35cbc618 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 45.527079][ T5000] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f13dc0e1229 [ 45.535033][ T5000] RDX: 00000000200000c7 RSI: 00000000200000c0 RDI: 0000000000000004 [ 45.542992][ T5000] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 [ 45.550952][ T5000] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffe35cbc640 [ 45.558909][ T5000] R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000 [ 45.566885][ T5000] [ 45.570132][ T5000] ================================================================================ [ 45.579540][ T5000] Kernel panic - not syncing: UBSAN: panic_on_warn set ... [ 45.586741][ T5000] CPU: 0 PID: 5000 Comm: syz-executor205 Not tainted 6.4.0-rc4-syzkaller-00276-ge5282a7d8f6b #0 [ 45.597149][ T5000] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 45.607224][ T5000] Call Trace: [ 45.610492][ T5000] [ 45.613410][ T5000] dump_stack_lvl+0xd9/0x150 [ 45.618019][ T5000] panic+0x686/0x730 [ 45.621908][ T5000] ? panic_smp_self_stop+0xa0/0xa0 [ 45.627013][ T5000] ? syslog_print_all+0x3a0/0x3a0 [ 45.632037][ T5000] check_panic_on_warn+0xb1/0xc0 [ 45.636977][ T5000] __ubsan_handle_shift_out_of_bounds+0x249/0x5a0 [ 45.643434][ T5000] extAlloc.cold+0x8d/0x92 [ 45.647858][ T5000] ? jfs_ioc_trim+0x5c0/0x5c0 [ 45.652525][ T5000] ? down_write_nested+0x153/0x200 [ 45.657626][ T5000] ? find_held_lock+0x2d/0x110 [ 45.662387][ T5000] jfs_get_block+0x665/0xa90 [ 45.666972][ T5000] ? jfs_read_folio+0x20/0x20 [ 45.671649][ T5000] ? folio_flags.constprop.0+0x53/0x150 [ 45.677375][ T5000] ? do_raw_spin_unlock+0x175/0x230 [ 45.682603][ T5000] ? _raw_spin_unlock+0x28/0x40 [ 45.687475][ T5000] __block_write_begin_int+0x3bd/0x14b0 [ 45.693017][ T5000] ? jfs_read_folio+0x20/0x20 [ 45.697694][ T5000] ? invalidate_bh_lrus_cpu+0x140/0x140 [ 45.703227][ T5000] ? folio_flags.constprop.0+0x53/0x150 [ 45.708773][ T5000] ? jfs_read_folio+0x20/0x20 [ 45.713444][ T5000] block_write_begin+0xb9/0x4d0 [ 45.718290][ T5000] jfs_write_begin+0x31/0xd0 [ 45.722882][ T5000] generic_perform_write+0x256/0x570 [ 45.728166][ T5000] ? generic_file_readonly_mmap+0x180/0x180 [ 45.734050][ T5000] ? new_inode+0x280/0x280 [ 45.738549][ T5000] ? generic_write_checks+0x2c0/0x400 [ 45.743933][ T5000] __generic_file_write_iter+0x2ae/0x500 [ 45.749558][ T5000] generic_file_write_iter+0xe3/0x350 [ 45.754958][ T5000] vfs_write+0x945/0xd50 [ 45.759192][ T5000] ? kernel_write+0x670/0x670 [ 45.763854][ T5000] ? recalc_sigpending_tsk+0x18b/0x1d0 [ 45.769300][ T5000] ? find_held_lock+0x2d/0x110 [ 45.774054][ T5000] ? lock_downgrade+0x690/0x690 [ 45.778980][ T5000] ? __fget_light+0x20a/0x270 [ 45.783648][ T5000] ksys_write+0x12b/0x250 [ 45.787967][ T5000] ? __ia32_sys_read+0xb0/0xb0 [ 45.792712][ T5000] ? lockdep_hardirqs_on+0x7d/0x100 [ 45.797896][ T5000] ? _raw_spin_unlock_irq+0x2e/0x50 [ 45.803089][ T5000] ? ptrace_notify+0xfe/0x140 [ 45.807758][ T5000] do_syscall_64+0x39/0xb0 [ 45.812171][ T5000] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 45.818057][ T5000] RIP: 0033:0x7f13dc0e1229 [ 45.822458][ T5000] 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 [ 45.842056][ T5000] RSP: 002b:00007ffe35cbc618 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 45.850459][ T5000] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f13dc0e1229 [ 45.858438][ T5000] RDX: 00000000200000c7 RSI: 00000000200000c0 RDI: 0000000000000004 [ 45.866395][ T5000] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 [ 45.874378][ T5000] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffe35cbc640 [ 45.882338][ T5000] R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000 [ 45.890310][ T5000] [ 45.894067][ T5000] Kernel Offset: disabled [ 45.898462][ T5000] Rebooting in 86400 seconds..