./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2336428196 <...> Warning: Permanently added '10.128.10.7' (ED25519) to the list of known hosts. execve("./syz-executor2336428196", ["./syz-executor2336428196"], 0x7ffe3f7ffc60 /* 10 vars */) = 0 brk(NULL) = 0x555558097000 brk(0x555558097d00) = 0x555558097d00 arch_prctl(ARCH_SET_FS, 0x555558097380) = 0 set_tid_address(0x555558097650) = 5825 set_robust_list(0x555558097660, 24) = 0 rseq(0x555558097ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2336428196", 4096) = 28 getrandom("\x7e\xb7\x1b\x83\x77\x44\xe0\x29", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555558097d00 brk(0x5555580b8d00) = 0x5555580b8d00 brk(0x5555580b9000) = 0x5555580b9000 mprotect(0x7fac77b35000, 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.QyzHsw", 0700) = 0 chmod("./syzkaller.QyzHsw", 0777) = 0 chdir("./syzkaller.QyzHsw") = 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 5826 attached , child_tidptr=0x555558097650) = 5826 [pid 5826] set_robust_list(0x555558097660, 24) = 0 [pid 5826] chdir("./0") = 0 [pid 5826] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5826] setpgid(0, 0) = 0 [pid 5826] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5826] write(3, "1000", 4) = 4 [pid 5826] close(3) = 0 [pid 5826] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5826] write(1, "executing program\n", 18executing program ) = 18 [pid 5826] memfd_create("syzkaller", 0) = 3 [pid 5826] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fac6f600000 [pid 5826] 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 5826] munmap(0x7fac6f600000, 138412032) = 0 [pid 5826] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5826] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5826] close(3) = 0 [pid 5826] close(4) = 0 [pid 5826] mkdir("./file1", 0777) = 0 [ 79.483025][ T5826] loop0: detected capacity change from 0 to 32768 [ 79.517697][ T5826] ======================================================= [ 79.517697][ T5826] WARNING: The mand mount option has been deprecated and [ 79.517697][ T5826] and is ignored by this kernel. Remove the mand [ 79.517697][ T5826] option from the mount to silence this warning. [ 79.517697][ T5826] ======================================================= [ 79.589888][ T5826] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,str_hash=crc32c,fix_errors=no,norecovery,reconstruct_alloc,no_data_io [ 79.609256][ T5826] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 79.617745][ T5826] bcachefs (loop0): Version upgrade required: [ 79.617745][ T5826] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 79.617745][ T5826] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 79.617745][ T5826] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 79.692931][ T5826] bcachefs (loop0): dropping and reconstructing all alloc info [ 79.707088][ T5826] invalid bkey u64s 17 type inode_v3 0:4097:U32_MAX len 0 ver 0: (unpack error) [ 79.707111][ T5826] invalid variable length fields: delete?, fixing [ 79.729163][ T5826] bcachefs (loop0): accounting_read... done [ 79.736582][ T5826] bcachefs (loop0): alloc_read... done [ 79.742234][ T5826] bcachefs (loop0): stripes_read... done [ 79.748317][ T5826] bcachefs (loop0): snapshots_read... done [ 79.755010][ T5826] bcachefs (loop0): check_allocations... done [ 79.781805][ T5826] bcachefs (loop0): going read-write [pid 5826] mount("/dev/loop0", "./file1", "bcachefs", MS_MANDLOCK|MS_SILENT|MS_I_VERSION, "\x6e\x6f\x5f\x64\x61\x74\x61\x5f\x69\x6f\x2c\x73\x74\x72\x5f\x68\x61\x73\x68\x3d\x63\x72\x63\x33\x32\x63\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x72\x65\x61\x64\x5f\x6f\x6e\x6c\x79\x2c\x72\x61\x74\x65\x6c\x69\x6d\x69\x74\x5f\x65\x72\x72\x6f\x72\x73\x2c\x66\x69\x78\x5f\x65\x72\x72\x6f\x72\x73\x3d\x6e\x6f\x2c\x62\x74\x72\x65\x65\x5f\x6e\xef\x64\x65\x5f\x6d\x65\x6d\x5f\x70\x74\x72\x5f\x6f\x70"...) = 0 [pid 5826] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5826] chdir("./file1") = 0 [pid 5826] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5826] ioctl(4, LOOP_CLR_FD) = 0 [pid 5826] close(4) = 0 [ 79.794424][ T5826] bcachefs (loop0): Fixed errors, running fsck a second time to verify fs is clean [ 79.808675][ T5826] bcachefs (loop0): done starting filesystem [ 79.842610][ T5826] bcachefs (loop0): dirent points to inode that does not point back: [ 79.842610][ T5826] u64s 7 type dirent 4096:4330382808765833931:U32_MAX len 0 ver 0: file1 -> 536870912 type reg [ 79.842610][ T5826] inum: 536870912:4294967295 [ 79.842610][ T5826] mode=100755 [ 79.842610][ T5826] flags=(15300000) [ 79.842610][ T5826] journal_seq=4 [ 79.842610][ T5826] hash_seed=8469d717004af4ef [ 79.842610][ T5826] hash_type=siphash [ 79.842610][ T5826] bi_size=10 [ 79.842610][ T5826] bi_sectors=8 [ 79.842610][ T5826] bi_version=0 [ 79.842610][ T5826] bi_atime=2780562352 [ 79.842610][ T5826] bi_ctime=2780562352 [ 79.842610][ T5826] bi_mtime=2780562352 [ 79.842610][ T5826] bi_otime=2780562352 [ 79.842610][ T5826] bi_uid=0 [ 79.842610][ T5826] bi_gid=0 [ 79.842610][ T5826] bi_nlink=0 [ 79.842610][ T5826] bi_generation=0 [ 79.842610][ T5826] bi_dev=0 [ 79.842610][ T5826] bi_data_checksum=0 [ 79.842610][ T5826] bi_compression=0 [ 79.842610][ T5826] bi_project=0 [ 79.842610][ T5826] bi_background_compression=0 [ 79.842610][ T5826] bi_data_replicas=0 [ 79.842610][ T5826] bi_promote_target=0 [ 79.842610][ T5826] bi_foreground_target=1 [ 79.842610][ T5826] bi_background_target=0 [ 79.842610][ T5826] bi_erasure_code=0 [ 79.842610][ T5826] bi_fields_set=4096 [ 79.842610][ T5826] bi_dir=4330382808765833931 [ 79.842610][ T5826] bi_dir_offset=0 [ 79.842610][ T5826] bi_subvol=0 [ 79.842610][ T5826] bi_parent_subvol=0 [ 79.842610][ T5826] bi_nocow=0 [pid 5826] mkdirat(AT_FDCWD, "./file1", 000) = -1 EEXIST (File exists) [pid 5826] exit_group(0) = ? [pid 5826] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5826, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=34 /* 0.34 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 [ 79.992076][ T975] bcachefs (loop0): going read-only [ 79.994748][ T5826] bcachefs (loop0): inconsistency detected - emergency read only at journal seq 11 [ 79.997551][ T975] bcachefs (loop0): finished waiting for writes to stop [ 80.021343][ T975] bcachefs (loop0): flushing journal and stopping allocators, journal seq 11 [ 80.031163][ T975] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 11 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 [ 80.042137][ T975] bcachefs (loop0): unshutdown complete, journal seq 11 [ 80.049951][ T975] bcachefs (loop0): done going read-only, filesystem not clean getdents64(3, 0x5555580986f0 /* 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 [ 80.135098][ T5825] bcachefs (loop0): shutting down [ 80.152719][ T5825] VFS: Busy inodes after unmount of loop0 (bcachefs) [ 80.152999][ T5825] ------------[ cut here ]------------ [ 80.167826][ T5825] kernel BUG at fs/super.c:652! [ 80.173559][ T5825] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 80.180986][ T5825] CPU: 1 UID: 0 PID: 5825 Comm: syz-executor233 Not tainted 6.13.0-rc6-syzkaller-00006-g5428dc1906dd #0 [ 80.192898][ T5825] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 80.203263][ T5825] RIP: 0010:generic_shutdown_super+0x2ca/0x2d0 [ 80.209740][ T5825] Code: 1b 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 59 71 ee ff 48 8b 13 48 c7 c7 a0 39 18 8c 4c 89 e6 e8 17 27 f2 fe 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 [ 80.231657][ T5825] RSP: 0018:ffffc90003d3fbe8 EFLAGS: 00010246 [ 80.237747][ T5825] RAX: 0000000000000032 RBX: ffffffff8ef4da80 RCX: 10ad613a44121400 [ 80.246819][ T5825] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 80.255088][ T5825] RBP: 1ffff110066af0f0 R08: ffffffff817f0a2c R09: 1ffff920007a7f18 [ 80.263621][ T5825] R10: dffffc0000000000 R11: fffff520007a7f19 R12: ffff888033578668 [ 80.271710][ T5825] R13: dffffc0000000000 R14: ffffffff8c525998 R15: ffff888033578780 [ 80.279717][ T5825] FS: 0000555558097380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 80.288858][ T5825] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 80.295660][ T5825] CR2: 00007ffd5693db1c CR3: 0000000030f10000 CR4: 00000000003526f0 [ 80.303958][ T5825] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 80.312383][ T5825] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 80.320368][ T5825] Call Trace: [ 80.323657][ T5825] [ 80.326597][ T5825] ? __die_body+0x5f/0xb0 [ 80.331376][ T5825] ? die+0x9e/0xc0 [ 80.336156][ T5825] ? do_trap+0x15a/0x3a0 [ 80.341057][ T5825] ? generic_shutdown_super+0x2ca/0x2d0 [ 80.346615][ T5825] ? do_error_trap+0x1dc/0x2c0 [ 80.351389][ T5825] ? generic_shutdown_super+0x2ca/0x2d0 [ 80.357225][ T5825] ? __pfx_do_error_trap+0x10/0x10 [ 80.362374][ T5825] ? handle_invalid_op+0x34/0x40 [ 80.367338][ T5825] ? generic_shutdown_super+0x2ca/0x2d0 [ 80.372923][ T5825] ? exc_invalid_op+0x38/0x50 [ 80.377822][ T5825] ? asm_exc_invalid_op+0x1a/0x20 [ 80.383059][ T5825] ? __wake_up_klogd+0xcc/0x110 [ 80.387937][ T5825] ? generic_shutdown_super+0x2ca/0x2d0 [ 80.393503][ T5825] ? generic_shutdown_super+0x2c9/0x2d0 [ 80.399259][ T5825] bch2_kill_sb+0x41/0x50 [ 80.403633][ T5825] deactivate_locked_super+0xc4/0x130 [ 80.409421][ T5825] cleanup_mnt+0x41f/0x4b0 [ 80.414508][ T5825] ? lockdep_hardirqs_on+0x99/0x150 [ 80.419745][ T5825] task_work_run+0x24f/0x310 [ 80.424414][ T5825] ? __pfx_task_work_run+0x10/0x10 [ 80.429815][ T5825] ? path_umount+0x284/0xf70 [ 80.434525][ T5825] ptrace_notify+0x2d2/0x380 [ 80.439338][ T5825] ? __pfx_ptrace_notify+0x10/0x10 [ 80.444587][ T5825] ? kmem_cache_free+0x195/0x410 [ 80.449975][ T5825] ? __x64_sys_umount+0x123/0x170 [ 80.455280][ T5825] syscall_exit_work+0xc7/0x1d0 [ 80.460182][ T5825] syscall_exit_to_user_mode+0x24a/0x340 [ 80.466471][ T5825] do_syscall_64+0x100/0x230 [ 80.471085][ T5825] ? clear_bhb_loop+0x35/0x90 [ 80.475782][ T5825] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 80.481694][ T5825] RIP: 0033:0x7fac77abd347 [ 80.486159][ T5825] 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 [ 80.505770][ T5825] RSP: 002b:00007ffd5693db08 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 [ 80.514559][ T5825] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fac77abd347 [ 80.522725][ T5825] RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd5693dbc0 [ 80.531022][ T5825] RBP: 00007ffd5693dbc0 R08: 0000000000000000 R09: 0000000000000000 [ 80.541192][ T5825] R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffd5693ec20 [ 80.549198][ T5825] R13: 00005555580986c0 R14: 0000000000000001 R15: 431bde82d7b634db [ 80.557671][ T5825] [ 80.560907][ T5825] Modules linked in: [ 80.565917][ T5825] ---[ end trace 0000000000000000 ]--- [ 80.571520][ T5825] RIP: 0010:generic_shutdown_super+0x2ca/0x2d0 [ 80.577751][ T5825] Code: 1b 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 59 71 ee ff 48 8b 13 48 c7 c7 a0 39 18 8c 4c 89 e6 e8 17 27 f2 fe 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 [ 80.598197][ T5825] RSP: 0018:ffffc90003d3fbe8 EFLAGS: 00010246 [ 80.605281][ T5825] RAX: 0000000000000032 RBX: ffffffff8ef4da80 RCX: 10ad613a44121400 [ 80.614141][ T5825] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 80.622232][ T5825] RBP: 1ffff110066af0f0 R08: ffffffff817f0a2c R09: 1ffff920007a7f18 [ 80.631060][ T5825] R10: dffffc0000000000 R11: fffff520007a7f19 R12: ffff888033578668 [ 80.639068][ T5825] R13: dffffc0000000000 R14: ffffffff8c525998 R15: ffff888033578780 [ 80.647125][ T5825] FS: 0000555558097380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 80.656437][ T5825] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 80.663264][ T5825] CR2: 0000555a813c05c8 CR3: 0000000030f10000 CR4: 00000000003526f0 [ 80.671311][ T5825] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 80.679307][ T5825] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 80.687520][ T5825] Kernel panic - not syncing: Fatal exception [ 80.693762][ T5825] Kernel Offset: disabled [ 80.698118][ T5825] Rebooting in 86400 seconds..