./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2516635936 <...> Warning: Permanently added '10.128.10.25' (ED25519) to the list of known hosts. execve("./syz-executor2516635936", ["./syz-executor2516635936"], 0x7ffd208057d0 /* 10 vars */) = 0 brk(NULL) = 0x5555744f0000 brk(0x5555744f0d00) = 0x5555744f0d00 arch_prctl(ARCH_SET_FS, 0x5555744f0380) = 0 set_tid_address(0x5555744f0650) = 5082 set_robust_list(0x5555744f0660, 24) = 0 rseq(0x5555744f0ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2516635936", 4096) = 28 getrandom("\xf9\x46\xdf\xd7\xb9\x60\x16\x30", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555744f0d00 brk(0x555574511d00) = 0x555574511d00 brk(0x555574512000) = 0x555574512000 mprotect(0x7ff5ee95e000, 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.VJWWHm", 0700) = 0 chmod("./syzkaller.VJWWHm", 0777) = 0 chdir("./syzkaller.VJWWHm") = 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 5083 attached , child_tidptr=0x5555744f0650) = 5083 [pid 5083] set_robust_list(0x5555744f0660, 24) = 0 [pid 5083] chdir("./0") = 0 [pid 5083] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5083] setpgid(0, 0) = 0 [pid 5083] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5083] write(3, "1000", 4) = 4 [pid 5083] close(3) = 0 [pid 5083] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5083] write(1, "executing program\n", 18) = 18 [pid 5083] memfd_create("syzkaller", 0) = 3 [pid 5083] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff5e6400000 [pid 5083] 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 5083] munmap(0x7ff5e6400000, 138412032) = 0 [pid 5083] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5083] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5083] close(3) = 0 [pid 5083] close(4) = 0 [pid 5083] mkdir("./file0", 0777) = 0 [ 71.018175][ T5083] loop0: detected capacity change from 0 to 32768 [ 71.090122][ T5083] bcachefs (loop0): mounting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,nojournal_transaction_names [ 71.104464][ T5083] bcachefs (loop0): recovering from clean shutdown, journal seq 8 [ 71.126652][ T5083] bcachefs (loop0): alloc_read... done [ 71.132544][ T5083] bcachefs (loop0): stripes_read... done [pid 5083] mount("/dev/loop0", "./file0", "bcachefs", MS_POSIXACL, "01777777777777777777777") = 0 [pid 5083] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5083] chdir("./file0") = 0 [pid 5083] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5083] ioctl(4, LOOP_CLR_FD) = 0 [pid 5083] close(4) = 0 [pid 5083] mount(NULL, "./file0", "cgroup2", 0, NULL) = 0 [pid 5083] exit_group(0) = ? [ 71.138327][ T5083] bcachefs (loop0): snapshots_read... done [ 71.147277][ T5083] bcachefs (loop0): journal_replay... done [ 71.153139][ T5083] bcachefs (loop0): resume_logged_ops... done [ 71.159511][ T5083] bcachefs (loop0): going read-write [ 71.169316][ T5083] bcachefs (loop0): done starting filesystem [pid 5083] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5083, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=28 /* 0.28 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, 0x5555744f16f0 /* 4 entries */, 32768) = 112 umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./0/binderfs") = 0 umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x5555744f9730 /* 3 entries */, 32768) = 80 umount2("./0/file0/file3", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/file0/file3", {st_mode=S_IFREG|0755, st_size=9000, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 71.294569][ T5082] ------------[ cut here ]------------ [ 71.300328][ T5082] kernel BUG at fs/bcachefs/lru.h:22! [ 71.305812][ T5082] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 71.312784][ T5082] CPU: 1 PID: 5082 Comm: syz-executor251 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 [ 71.323272][ T5082] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 [ 71.333320][ T5082] RIP: 0010:bch2_lru_change+0x65c/0x680 [ 71.338863][ T5082] Code: 80 e1 07 38 c1 0f 8c 47 fd ff ff be 14 00 00 00 48 8b 7c 24 10 e8 84 e1 c4 fd e9 33 fd ff ff e8 fa 25 4a 07 e8 25 65 62 fd 90 <0f> 0b e8 1d 65 62 fd 90 0f 0b e8 15 65 62 fd 90 0f 0b e8 0d 65 62 [ 71.358465][ T5082] RSP: 0018:ffffc90002e36c00 EFLAGS: 00010293 [ 71.364524][ T5082] RAX: ffffffff8433c0eb RBX: 1ffff920005c6d96 RCX: ffff888023ab1e00 [ 71.372480][ T5082] RDX: 0000000000000000 RSI: 5fcf000010000000 RDI: 0000ffffffffffff [ 71.380458][ T5082] RBP: ffffc90002e36d30 R08: ffffffff8433bc33 R09: ffffffff84012068 [ 71.388437][ T5082] R10: 0000000000000003 R11: ffff888023ab1e00 R12: 0000ffffffffffff [ 71.396401][ T5082] R13: 1ffff920005c6d88 R14: 5fcf000010000000 R15: ffff000010000000 [ 71.404367][ T5082] FS: 00005555744f0380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 [ 71.413305][ T5082] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 71.419878][ T5082] CR2: 00007fff302f2f28 CR3: 000000007bf7e000 CR4: 00000000003506f0 [ 71.427839][ T5082] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 71.435798][ T5082] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 71.443773][ T5082] Call Trace: [ 71.447083][ T5082] [ 71.450007][ T5082] ? __die_body+0x88/0xe0 [ 71.454338][ T5082] ? die+0xcf/0x110 [ 71.458174][ T5082] ? do_trap+0x15a/0x3a0 [ 71.462412][ T5082] ? bch2_lru_change+0x65c/0x680 [ 71.467348][ T5082] ? do_error_trap+0x1dc/0x2c0 [ 71.472106][ T5082] ? bch2_lru_change+0x65c/0x680 [ 71.477041][ T5082] ? __pfx_do_error_trap+0x10/0x10 [ 71.482150][ T5082] ? handle_invalid_op+0x34/0x40 [ 71.487085][ T5082] ? bch2_lru_change+0x65c/0x680 [ 71.492012][ T5082] ? exc_invalid_op+0x38/0x50 [ 71.496692][ T5082] ? asm_exc_invalid_op+0x1a/0x20 [ 71.501711][ T5082] ? bch2_trigger_alloc+0xe98/0x3bc0 [ 71.506995][ T5082] ? bch2_lru_change+0x1a3/0x680 [ 71.511929][ T5082] ? bch2_lru_change+0x65b/0x680 [ 71.516861][ T5082] ? bch2_lru_change+0x65c/0x680 [ 71.521798][ T5082] ? __pfx_bch2_lru_change+0x10/0x10 [ 71.527082][ T5082] ? bch2_dev_tryget_noerror+0x20/0x340 [ 71.532614][ T5082] bch2_trigger_alloc+0x1660/0x3bc0 [ 71.537817][ T5082] ? __pfx_bch2_trigger_alloc+0x10/0x10 [ 71.543365][ T5082] ? bch2_btree_path_peek_slot+0x41d/0xfe0 [ 71.549172][ T5082] ? bch2_btree_path_peek_slot+0x41d/0xfe0 [ 71.554973][ T5082] ? __pfx_bch2_btree_path_peek_slot+0x10/0x10 [ 71.561122][ T5082] ? bch2_bkey_rebalance_opts+0x290/0x340 [ 71.566827][ T5082] ? verify_update_old_key+0x3a1/0x930 [ 71.572282][ T5082] ? verify_update_old_key+0x445/0x930 [ 71.577739][ T5082] ? __pfx_verify_update_old_key+0x10/0x10 [ 71.583543][ T5082] ? btree_node_unlock+0xc0/0x250 [ 71.588553][ T5082] ? run_btree_triggers+0x258/0x11d0 [ 71.593843][ T5082] ? __pfx_bch2_trigger_alloc+0x10/0x10 [ 71.599383][ T5082] run_btree_triggers+0xbff/0x11d0 [ 71.604510][ T5082] ? __pfx_run_btree_triggers+0x10/0x10 [ 71.610061][ T5082] ? __pfx_bch2_trans_update+0x10/0x10 [ 71.615519][ T5082] __bch2_trans_commit+0x574/0x88e0 [ 71.620715][ T5082] ? bch2_trans_update+0x502/0x2550 [ 71.625910][ T5082] ? __pfx___bch2_trans_commit+0x10/0x10 [ 71.631538][ T5082] ? bch2_inode_delete_keys+0x7ea/0x1440 [ 71.637183][ T5082] bch2_inode_delete_keys+0xae8/0x1440 [ 71.642654][ T5082] ? __pfx_bch2_inode_delete_keys+0x10/0x10 [ 71.648577][ T5082] ? bch2_inode_delete_keys+0x300/0x1440 [ 71.654219][ T5082] ? register_lock_class+0x102/0x980 [ 71.659495][ T5082] ? __pfx_register_lock_class+0x10/0x10 [ 71.665119][ T5082] ? __bch2_trans_get+0x9cb/0xdf0 [ 71.670162][ T5082] ? __bch2_trans_get+0x9b0/0xdf0 [ 71.675184][ T5082] bch2_inode_rm+0x165/0xd40 [ 71.679774][ T5082] ? __pfx_bch2_inode_rm+0x10/0x10 [ 71.684884][ T5082] ? __pfx_flush_warnings+0x10/0x10 [ 71.690105][ T5082] ? lockdep_hardirqs_on+0x99/0x150 [ 71.695293][ T5082] ? _raw_spin_unlock_irq+0x2e/0x50 [ 71.700486][ T5082] bch2_evict_inode+0x21c/0x3c0 [ 71.705350][ T5082] ? __pfx_bch2_evict_inode+0x10/0x10 [ 71.710751][ T5082] evict+0x2a8/0x630 [ 71.714642][ T5082] do_unlinkat+0x512/0x830 [ 71.719065][ T5082] ? __pfx_do_unlinkat+0x10/0x10 [ 71.724003][ T5082] ? __might_fault+0xc6/0x120 [ 71.728671][ T5082] ? strncpy_from_user+0x1a4/0x2f0 [ 71.733780][ T5082] __x64_sys_unlink+0x49/0x60 [ 71.738448][ T5082] do_syscall_64+0xf3/0x230 [ 71.742944][ T5082] ? clear_bhb_loop+0x35/0x90 [ 71.747635][ T5082] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 71.753543][ T5082] RIP: 0033:0x7ff5ee8e4b17 [ 71.757952][ T5082] Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 71.777544][ T5082] RSP: 002b:00007fff302f36d8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 [ 71.785945][ T5082] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff5ee8e4b17 [ 71.793908][ T5082] RDX: 00007fff302f3700 RSI: 00007fff302f3790 RDI: 00007fff302f3790 [ 71.801870][ T5082] RBP: 00007fff302f3790 R08: 0000000000000000 R09: 0000000000000000 [ 71.809846][ T5082] R10: 0000000000000100 R11: 0000000000000206 R12: 00007fff302f4880 [ 71.817823][ T5082] R13: 00005555744f9700 R14: 0000000000000001 R15: 431bde82d7b634db [ 71.825791][ T5082] [ 71.828817][ T5082] Modules linked in: [ 71.838000][ T5082] ---[ end trace 0000000000000000 ]--- [ 71.843499][ T5082] RIP: 0010:bch2_lru_change+0x65c/0x680 [ 71.849113][ T5082] Code: 80 e1 07 38 c1 0f 8c 47 fd ff ff be 14 00 00 00 48 8b 7c 24 10 e8 84 e1 c4 fd e9 33 fd ff ff e8 fa 25 4a 07 e8 25 65 62 fd 90 <0f> 0b e8 1d 65 62 fd 90 0f 0b e8 15 65 62 fd 90 0f 0b e8 0d 65 62 [ 71.868802][ T5082] RSP: 0018:ffffc90002e36c00 EFLAGS: 00010293 [ 71.874902][ T5082] RAX: ffffffff8433c0eb RBX: 1ffff920005c6d96 RCX: ffff888023ab1e00 [ 71.882912][ T5082] RDX: 0000000000000000 RSI: 5fcf000010000000 RDI: 0000ffffffffffff [ 71.890929][ T5082] RBP: ffffc90002e36d30 R08: ffffffff8433bc33 R09: ffffffff84012068 [ 71.899029][ T5082] R10: 0000000000000003 R11: ffff888023ab1e00 R12: 0000ffffffffffff [ 71.907148][ T5082] R13: 1ffff920005c6d88 R14: 5fcf000010000000 R15: ffff000010000000 [ 71.915153][ T5082] FS: 00005555744f0380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 [ 71.924197][ T5082] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 71.930823][ T5082] CR2: 00007fff302f2f28 CR3: 000000007bf7e000 CR4: 00000000003506f0 [ 71.938840][ T5082] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 71.946882][ T5082] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 71.954900][ T5082] Kernel panic - not syncing: Fatal exception [ 71.961269][ T5082] Kernel Offset: disabled [ 71.965700][ T5082] Rebooting in 86400 seconds..