./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3844896559 <...> Warning: Permanently added '10.128.1.108' (ED25519) to the list of known hosts. execve("./syz-executor3844896559", ["./syz-executor3844896559"], 0x7ffd9782e4e0 /* 10 vars */) = 0 brk(NULL) = 0x555587e3e000 brk(0x555587e3ed00) = 0x555587e3ed00 arch_prctl(ARCH_SET_FS, 0x555587e3e380) = 0 set_tid_address(0x555587e3e650) = 5077 set_robust_list(0x555587e3e660, 24) = 0 rseq(0x555587e3eca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3844896559", 4096) = 28 getrandom("\x48\x5e\x79\x4f\x76\x5b\xd6\x12", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555587e3ed00 brk(0x555587e5fd00) = 0x555587e5fd00 brk(0x555587e60000) = 0x555587e60000 mprotect(0x7f3231ac5000, 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.DszBH7", 0700) = 0 chmod("./syzkaller.DszBH7", 0777) = 0 chdir("./syzkaller.DszBH7") = 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, child_tidptr=0x555587e3e650) = 5079 ./strace-static-x86_64: Process 5079 attached [pid 5079] set_robust_list(0x555587e3e660, 24) = 0 [pid 5079] chdir("./0") = 0 [pid 5079] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5079] setpgid(0, 0) = 0 [pid 5079] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5079] write(3, "1000", 4) = 4 [pid 5079] close(3) = 0 [pid 5079] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5079] write(1, "executing program\n", 18executing program ) = 18 [pid 5079] memfd_create("syzkaller", 0) = 3 [pid 5079] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3229400000 [pid 5079] 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 5079] munmap(0x7f3229400000, 138412032) = 0 [pid 5079] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5079] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5079] close(3) = 0 [pid 5079] close(4) = 0 [pid 5079] mkdir("./file0", 0777) = 0 [ 59.244256][ T5079] loop0: detected capacity change from 0 to 32768 [ 59.312298][ T5079] bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,nojournal_transaction_names [ 59.326424][ T5079] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 59.346177][ T5079] bcachefs (loop0): alloc_read... done [ 59.351984][ T5079] bcachefs (loop0): stripes_read... done [pid 5079] mount("/dev/loop0", "./file0", "bcachefs", MS_NODEV|MS_SYNCHRONOUS|MS_RELATIME|MS_STRICTATIME, "") = 0 [pid 5079] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5079] chdir("./file0") = 0 [pid 5079] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5079] ioctl(4, LOOP_CLR_FD) = 0 [pid 5079] close(4) = 0 [pid 5079] exit_group(0) = ? [pid 5079] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5079, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./0", MNT_FORCE|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, 0x555587e3f6f0 /* 4 entries */, 32768) = 112 umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 59.357786][ T5079] bcachefs (loop0): snapshots_read... done [ 59.366282][ T5079] bcachefs (loop0): journal_replay... done [ 59.372127][ T5079] bcachefs (loop0): resume_logged_ops... done [ 59.378547][ T5079] bcachefs (loop0): going read-write [ 59.387805][ T5079] bcachefs (loop0): done starting filesystem newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./0/binderfs") = 0 [ 59.453522][ T5077] bcachefs (loop0): shutting down [ 59.458685][ T5077] bcachefs (loop0): going read-only [ 59.464239][ T5077] bcachefs (loop0): finished waiting for writes to stop [ 59.473532][ T5077] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 59.482466][ T5077] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 59.492818][ T5077] ------------[ cut here ]------------ [ 59.498442][ T5077] kernel BUG at fs/bcachefs/journal.c:1186! [ 59.504404][ T5077] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 59.511354][ T5077] CPU: 1 PID: 5077 Comm: syz-executor384 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 [ 59.521847][ T5077] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 [ 59.531899][ T5077] RIP: 0010:bch2_fs_journal_stop+0x516/0x520 [ 59.537868][ T5077] Code: f0 fe ff ff 44 89 f9 80 e1 07 38 c1 0f 8c 2f fd ff ff 4c 89 ff e8 1a 70 c7 fd e9 22 fd ff ff e8 70 b6 4c 07 e8 9b f5 64 fd 90 <0f> 0b 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 [ 59.557476][ T5077] RSP: 0018:ffffc90003d27780 EFLAGS: 00010293 [ 59.563541][ T5077] RAX: ffffffff84313075 RBX: 000000000000000a RCX: ffff888023ab8000 [ 59.571511][ T5077] RDX: 0000000000000000 RSI: 000000000000000a RDI: 000000000000000b [ 59.579480][ T5077] RBP: ffffc90003d278c0 R08: ffffffff84313036 R09: 1ffff11008c6957f [ 59.587447][ T5077] R10: dffffc0000000000 R11: ffffed1008c69580 R12: ffff88804634a5c0 [ 59.595422][ T5077] R13: dffffc0000000000 R14: 000000000000000b R15: 1ffff11008c694b8 [ 59.603388][ T5077] FS: 0000555587e3e380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 [ 59.612306][ T5077] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.618961][ T5077] CR2: 0000555587e476f8 CR3: 00000000461fc000 CR4: 00000000003506f0 [ 59.626956][ T5077] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 59.634911][ T5077] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 59.642865][ T5077] Call Trace: [ 59.646129][ T5077] [ 59.649061][ T5077] ? __die_body+0x88/0xe0 [ 59.653389][ T5077] ? die+0xcf/0x110 [ 59.657187][ T5077] ? do_trap+0x15a/0x3a0 [ 59.661416][ T5077] ? bch2_fs_journal_stop+0x516/0x520 [ 59.666778][ T5077] ? do_error_trap+0x1dc/0x2c0 [ 59.671525][ T5077] ? bch2_fs_journal_stop+0x516/0x520 [ 59.676884][ T5077] ? __pfx_do_error_trap+0x10/0x10 [ 59.681984][ T5077] ? handle_invalid_op+0x34/0x40 [ 59.686910][ T5077] ? bch2_fs_journal_stop+0x516/0x520 [ 59.692270][ T5077] ? exc_invalid_op+0x38/0x50 [ 59.696957][ T5077] ? asm_exc_invalid_op+0x1a/0x20 [ 59.701970][ T5077] ? bch2_fs_journal_stop+0x4d6/0x520 [ 59.707414][ T5077] ? bch2_fs_journal_stop+0x515/0x520 [ 59.712773][ T5077] ? bch2_fs_journal_stop+0x516/0x520 [ 59.718137][ T5077] ? __pfx_bch2_fs_journal_stop+0x10/0x10 [ 59.723844][ T5077] ? __pfx___bch2_print+0x10/0x10 [ 59.728857][ T5077] ? __bch2_btree_flush_all+0x6dc/0x700 [ 59.734385][ T5077] ? __bch2_btree_flush_all+0x6f/0x700 [ 59.739828][ T5077] __bch2_fs_read_only+0x30c/0x430 [ 59.744932][ T5077] bch2_fs_read_only+0xb52/0x1210 [ 59.749950][ T5077] ? __pfx_bch2_fs_read_only+0x10/0x10 [ 59.755400][ T5077] ? __down_write_common+0x162/0x200 [ 59.760675][ T5077] ? __pfx___bch2_print+0x10/0x10 [ 59.765688][ T5077] ? __pfx___down_write_common+0x10/0x10 [ 59.771308][ T5077] ? hook_sb_delete+0xa5e/0xb90 [ 59.776148][ T5077] ? evict+0x577/0x630 [ 59.780206][ T5077] __bch2_fs_stop+0x105/0x540 [ 59.784871][ T5077] ? __pfx_hook_sb_delete+0x10/0x10 [ 59.790059][ T5077] ? __pfx___bch2_fs_stop+0x10/0x10 [ 59.795248][ T5077] ? __pfx_evict_inodes+0x10/0x10 [ 59.800260][ T5077] ? __pfx_bch2_put_super+0x10/0x10 [ 59.805443][ T5077] generic_shutdown_super+0x136/0x2d0 [ 59.810808][ T5077] bch2_kill_sb+0x41/0x50 [ 59.815298][ T5077] deactivate_locked_super+0xc4/0x130 [ 59.820658][ T5077] cleanup_mnt+0x41f/0x4b0 [ 59.825094][ T5077] ? lockdep_hardirqs_on+0x99/0x150 [ 59.830280][ T5077] task_work_run+0x24f/0x310 [ 59.834862][ T5077] ? __pfx_task_work_run+0x10/0x10 [ 59.839960][ T5077] ? path_umount+0x284/0xf70 [ 59.844542][ T5077] ptrace_notify+0x2d2/0x380 [ 59.849122][ T5077] ? __pfx_path_umount+0x10/0x10 [ 59.854052][ T5077] ? user_path_at_empty+0x4c/0x60 [ 59.859065][ T5077] ? __pfx_ptrace_notify+0x10/0x10 [ 59.864169][ T5077] ? __x64_sys_umount+0x126/0x170 [ 59.869179][ T5077] ? __pfx___x64_sys_umount+0x10/0x10 [ 59.874539][ T5077] syscall_exit_work+0xc6/0x190 [ 59.879377][ T5077] syscall_exit_to_user_mode+0x273/0x370 [ 59.885002][ T5077] do_syscall_64+0x100/0x230 [ 59.889585][ T5077] ? clear_bhb_loop+0x35/0x90 [ 59.894251][ T5077] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 59.900136][ T5077] RIP: 0033:0x7f3231a41307 [ 59.904537][ T5077] Code: 08 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 [ 59.924126][ T5077] RSP: 002b:00007ffe3ded1dd8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 59.932524][ T5077] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f3231a41307 [ 59.940481][ T5077] RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe3ded1e90 [ 59.948455][ T5077] RBP: 00007ffe3ded1e90 R08: 0000000000000000 R09: 0000000000000000 [ 59.956427][ T5077] R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffe3ded2ef0 [ 59.964391][ T5077] R13: 0000555587e3f6c0 R14: 0000000000000001 R15: 431bde82d7b634db [ 59.972444][ T5077] [ 59.975450][ T5077] Modules linked in: [ 59.979791][ T5077] ---[ end trace 0000000000000000 ]--- [ 59.985316][ T5077] RIP: 0010:bch2_fs_journal_stop+0x516/0x520 [ 59.991311][ T5077] Code: f0 fe ff ff 44 89 f9 80 e1 07 38 c1 0f 8c 2f fd ff ff 4c 89 ff e8 1a 70 c7 fd e9 22 fd ff ff e8 70 b6 4c 07 e8 9b f5 64 fd 90 <0f> 0b 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 [ 60.011052][ T5077] RSP: 0018:ffffc90003d27780 EFLAGS: 00010293 [ 60.017167][ T5077] RAX: ffffffff84313075 RBX: 000000000000000a RCX: ffff888023ab8000 [ 60.025166][ T5077] RDX: 0000000000000000 RSI: 000000000000000a RDI: 000000000000000b [ 60.033170][ T5077] RBP: ffffc90003d278c0 R08: ffffffff84313036 R09: 1ffff11008c6957f [ 60.041159][ T5077] R10: dffffc0000000000 R11: ffffed1008c69580 R12: ffff88804634a5c0 [ 60.049149][ T5077] R13: dffffc0000000000 R14: 000000000000000b R15: 1ffff11008c694b8 [ 60.057141][ T5077] FS: 0000555587e3e380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 [ 60.066080][ T5077] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 60.072657][ T5077] CR2: 0000555587e476f8 CR3: 00000000461fc000 CR4: 00000000003506f0 [ 60.080662][ T5077] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 60.088691][ T5077] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 60.096695][ T5077] Kernel panic - not syncing: Fatal exception [ 60.103015][ T5077] Kernel Offset: disabled [ 60.107324][ T5077] Rebooting in 86400 seconds..