./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2564113905 <...> Warning: Permanently added '10.128.1.79' (ED25519) to the list of known hosts. execve("./syz-executor2564113905", ["./syz-executor2564113905"], 0x7ffd3f306b50 /* 10 vars */) = 0 brk(NULL) = 0x55558882d000 brk(0x55558882dd00) = 0x55558882dd00 arch_prctl(ARCH_SET_FS, 0x55558882d380) = 0 set_tid_address(0x55558882d650) = 5071 set_robust_list(0x55558882d660, 24) = 0 rseq(0x55558882dca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2564113905", 4096) = 28 getrandom("\x39\xe8\x21\x91\x33\xcf\x6f\x20", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558882dd00 brk(0x55558884ed00) = 0x55558884ed00 brk(0x55558884f000) = 0x55558884f000 mprotect(0x7f6e5b995000, 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 mkdir("./syzkaller.R2alIG", 0700) = 0 chmod("./syzkaller.R2alIG", 0777) = 0 chdir("./syzkaller.R2alIG") = 0 mkdir("./0", 0777) = 0 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./strace-static-x86_64: Process 5072 attached , child_tidptr=0x55558882d650) = 5072 [pid 5072] set_robust_list(0x55558882d660, 24) = 0 [pid 5072] chdir("./0") = 0 [pid 5072] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5072] setpgid(0, 0) = 0 [pid 5072] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5072] write(3, "1000", 4) = 4 [pid 5072] close(3) = 0 [pid 5072] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5072] memfd_create("syzkaller", 0) = 3 [pid 5072] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6e53400000 [pid 5072] 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 5072] munmap(0x7f6e53400000, 138412032) = 0 [pid 5072] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5072] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5072] close(3) = 0 [pid 5072] close(4) = 0 [pid 5072] mkdir("./bus", 0777) = 0 [pid 5072] mount("/dev/loop0", "./bus", "jfs", MS_LAZYTIME, "") = 0 [ 108.437614][ T5072] loop0: detected capacity change from 0 to 32768 [pid 5072] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5072] chdir("./bus") = 0 [pid 5072] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5072] creat("./bus", 000) = 4 [pid 5072] ftruncate(4, 2048) = 0 [pid 5072] open("./bus", O_RDONLY|O_DIRECT|O_NOFOLLOW) = 5 [ 108.523124][ T5072] find_entry called with index = 0 [ 108.528613][ T5072] find_entry called with index = 0 [pid 5072] sendfile(4, 5, NULL, 122112) = 2048 [pid 5072] open(".", O_RDONLY) = 6 [ 108.557186][ T28] audit: type=1804 audit(1711296296.554:2): pid=5072 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=invalid_pcr cause=open_writers comm="syz-executor256" name="/root/syzkaller.R2alIG/0/bus/bus" dev="loop0" ino=7 res=1 errno=0 [ 108.580375][ T28] audit: type=1800 audit(1711296296.554:3): pid=5072 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed(directio) comm="syz-executor256" name="bus" dev="loop0" ino=7 res=0 errno=0 [ 108.593312][ T5072] ERROR: (device loop0): jfs_readdir: JFS:Dtree error: ino = 2, bn=0, index = 1 [ 108.593312][ T5072] [ 108.613407][ T5072] ERROR: (device loop0): remounting filesystem as read-only [pid 5072] getdents64(6, 0x20000280 /* 5 entries */, 217) = 136 [pid 5072] exit_group(0) = ? [pid 5072] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5072, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=38 /* 0.38 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55558882e6f0 /* 4 entries */, 32768) = 104 [ 108.620815][ T5072] ERROR: (device loop0): jfs_readdir: JFS:Dtree error: ino = 2, bn=0, index = 4 [ 108.620815][ T5072] [ 108.632143][ T5072] ERROR: (device loop0): jfs_readdir: JFS:Dtree error: ino = 2, bn=0, index = 5 [ 108.632143][ T5072] [ 108.668202][ T5071] ------------[ cut here ]------------ [ 108.673982][ T5071] kernel BUG at fs/jfs/inode.c:169! [ 108.679216][ T5071] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 108.685811][ T5071] CPU: 0 PID: 5071 Comm: syz-executor256 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 [ 108.695889][ T5071] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 108.705950][ T5071] RIP: 0010:jfs_evict_inode+0x3ec/0x4b0 [ 108.711511][ T5071] Code: 24 80 00 74 0d e8 f4 47 8b fe 48 89 df e8 4c 85 02 00 e8 e7 47 8b fe 48 89 df e8 5f ba 19 ff e9 e3 fc ff ff e8 d5 47 8b fe 90 <0f> 0b 48 c7 c7 a0 3d d4 8d e8 06 2a e6 fe e9 43 fc ff ff e8 fc 29 [ 108.731129][ T5071] RSP: 0018:ffffc90003b8fbb8 EFLAGS: 00010293 [ 108.737293][ T5071] RAX: 0000000000000000 RBX: ffff888079ff16b0 RCX: ffffffff821ca67b [ 108.745304][ T5071] RDX: ffff88807eb68000 RSI: ffffffff8302f45b RDI: ffff888079ff16a0 [ 108.753282][ T5071] RBP: ffff888079ff1338 R08: 0000000000000005 R09: 0000000000000000 [ 108.761257][ T5071] R10: 0000000000000000 R11: 0000000000000001 R12: ffff888079ff1788 [ 108.769235][ T5071] R13: ffff888079ff16d8 R14: ffffffff8b4a2620 R15: ffff8880228549c0 [ 108.777234][ T5071] FS: 000055558882d380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 [ 108.786176][ T5071] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 108.792766][ T5071] CR2: 00007ffff0d5fcb8 CR3: 0000000077dc4000 CR4: 0000000000350ef0 [ 108.800744][ T5071] Call Trace: [ 108.804023][ T5071] [ 108.806955][ T5071] ? show_regs+0x8c/0xa0 [ 108.811226][ T5071] ? die+0x36/0xa0 [ 108.814959][ T5071] ? do_trap+0x232/0x430 [ 108.819225][ T5071] ? jfs_evict_inode+0x3ec/0x4b0 [ 108.824186][ T5071] ? jfs_evict_inode+0x3ec/0x4b0 [ 108.829133][ T5071] ? do_error_trap+0xf4/0x230 [ 108.833832][ T5071] ? jfs_evict_inode+0x3ec/0x4b0 [ 108.838779][ T5071] ? handle_invalid_op+0x34/0x40 [ 108.843740][ T5071] ? jfs_evict_inode+0x3ec/0x4b0 [ 108.848708][ T5071] ? exc_invalid_op+0x2e/0x50 [ 108.853408][ T5071] ? asm_exc_invalid_op+0x1a/0x20 [ 108.858981][ T5071] ? dquot_drop+0x4b/0x1a0 [ 108.863405][ T5071] ? jfs_evict_inode+0x3eb/0x4b0 [ 108.868358][ T5071] ? jfs_evict_inode+0x3ec/0x4b0 [ 108.873327][ T5071] ? jfs_evict_inode+0x3eb/0x4b0 [ 108.878277][ T5071] ? __pfx_jfs_evict_inode+0x10/0x10 [ 108.883573][ T5071] evict+0x2f0/0x6c0 [ 108.887498][ T5071] dispose_list+0x117/0x1e0 [ 108.892032][ T5071] ? srso_return_thunk+0x5/0x5f [ 108.896912][ T5071] evict_inodes+0x34e/0x450 [ 108.901462][ T5071] ? __pfx_evict_inodes+0x10/0x10 [ 108.906514][ T5071] ? srso_return_thunk+0x5/0x5f [ 108.911391][ T5071] ? srso_return_thunk+0x5/0x5f [ 108.916284][ T5071] ? shrink_dcache_for_umount+0x17e/0x390 [ 108.922023][ T5071] generic_shutdown_super+0xb5/0x3d0 [ 108.927418][ T5071] kill_block_super+0x3b/0x90 [ 108.932112][ T5071] deactivate_locked_super+0xc1/0x1a0 [ 108.937508][ T5071] deactivate_super+0xde/0x100 [ 108.942293][ T5071] cleanup_mnt+0x222/0x450 [ 108.946730][ T5071] task_work_run+0x151/0x250 [ 108.951351][ T5071] ? __pfx_task_work_run+0x10/0x10 [ 108.956485][ T5071] ptrace_notify+0x10e/0x130 [ 108.961102][ T5071] syscall_exit_to_user_mode_prepare+0x126/0x240 [ 108.967453][ T5071] syscall_exit_to_user_mode+0x11/0x2a0 [ 108.973027][ T5071] do_syscall_64+0xe2/0x260 [ 108.977566][ T5071] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 108.983487][ T5071] RIP: 0033:0x7f6e5b91c407 [ 108.987907][ T5071] Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 [ 109.007622][ T5071] RSP: 002b:00007ffff0d60468 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 [ 109.016045][ T5071] RAX: 0000000000000000 RBX: 000000000001a61f RCX: 00007f6e5b91c407 [ 109.024110][ T5071] RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffff0d60520 [ 109.032087][ T5071] RBP: 00007ffff0d60520 R08: 0000000000000000 R09: 0000000000000000 [ 109.040084][ T5071] R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffff0d61590 [ 109.048058][ T5071] R13: 000055558882e6c0 R14: 431bde82d7b634db R15: 00007ffff0d615b0 [ 109.056047][ T5071] [ 109.059063][ T5071] Modules linked in: [ 109.064106][ T5071] ---[ end trace 0000000000000000 ]--- [ 109.069592][ T5071] RIP: 0010:jfs_evict_inode+0x3ec/0x4b0 [ 109.075564][ T5071] Code: 24 80 00 74 0d e8 f4 47 8b fe 48 89 df e8 4c 85 02 00 e8 e7 47 8b fe 48 89 df e8 5f ba 19 ff e9 e3 fc ff ff e8 d5 47 8b fe 90 <0f> 0b 48 c7 c7 a0 3d d4 8d e8 06 2a e6 fe e9 43 fc ff ff e8 fc 29 [ 109.095336][ T5071] RSP: 0018:ffffc90003b8fbb8 EFLAGS: 00010293 [ 109.101423][ T5071] RAX: 0000000000000000 RBX: ffff888079ff16b0 RCX: ffffffff821ca67b [ 109.109506][ T5071] RDX: ffff88807eb68000 RSI: ffffffff8302f45b RDI: ffff888079ff16a0 [ 109.117566][ T5071] RBP: ffff888079ff1338 R08: 0000000000000005 R09: 0000000000000000 [ 109.125605][ T5071] R10: 0000000000000000 R11: 0000000000000001 R12: ffff888079ff1788 [ 109.133658][ T5071] R13: ffff888079ff16d8 R14: ffffffff8b4a2620 R15: ffff8880228549c0 [ 109.141643][ T5071] FS: 000055558882d380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 [ 109.150645][ T5071] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 109.157571][ T5071] CR2: 00007ffff0d5fcb8 CR3: 0000000077dc4000 CR4: 0000000000350ef0 [ 109.165623][ T5071] Kernel panic - not syncing: Fatal exception [ 109.171939][ T5071] Kernel Offset: disabled [ 109.176289][ T5071] Rebooting in 86400 seconds..