./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1103775993 <...> Warning: Permanently added '10.128.10.43' (ED25519) to the list of known hosts. execve("./syz-executor1103775993", ["./syz-executor1103775993"], 0x7ffc112bc7c0 /* 10 vars */) = 0 brk(NULL) = 0x5555819de000 brk(0x5555819ded00) = 0x5555819ded00 arch_prctl(ARCH_SET_FS, 0x5555819de380) = 0 set_tid_address(0x5555819de650) = 5840 set_robust_list(0x5555819de660, 24) = 0 rseq(0x5555819deca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1103775993", 4096) = 28 getrandom("\xe1\x78\x1b\x00\x1f\xc6\x34\x39", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555819ded00 brk(0x5555819ffd00) = 0x5555819ffd00 brk(0x555581a00000) = 0x555581a00000 mprotect(0x7f169063b000, 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=0x5555819de650) = 5841 ./strace-static-x86_64: Process 5841 attached [pid 5841] set_robust_list(0x5555819de660, 24) = 0 [pid 5841] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5841] setpgid(0, 0) = 0 [pid 5841] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5841] write(3, "1000", 4) = 4 [pid 5841] close(3) = 0 [pid 5841] write(1, "executing program\n", 18executing program ) = 18 [pid 5841] memfd_create("syzkaller", 0) = 3 [pid 5841] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1688000000 [pid 5841] 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 5841] munmap(0x7f1688000000, 138412032) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5841] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5841] close(3) = 0 [pid 5841] close(4) = 0 [pid 5841] mkdir("./file2", 0777) = 0 [ 252.137888][ T5841] loop0: detected capacity change from 0 to 32768 [ 252.168406][ T5841] bcachefs (/dev/loop0): error reading default superblock: checksum error, type none: got should be [ 252.251415][ T5841] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,version_upgrade=none [ 252.266897][ T5841] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 252.275771][ T5841] bcachefs (loop0): insufficient writeable journal devices available: have 0, need 1 [ 252.275771][ T5841] rw journal devs: [ 252.303126][ T5841] bcachefs (loop0): accounting_read... done [ 252.310581][ T5841] bcachefs (loop0): alloc_read... done [ 252.316183][ T5841] bcachefs (loop0): stripes_read... done [ 252.322109][ T5841] bcachefs (loop0): snapshots_read... done [ 252.330625][ T5841] bcachefs (loop0): journal_replay... done [ 252.336549][ T5841] bcachefs (loop0): resume_logged_ops... done [ 252.342750][ T5841] bcachefs (loop0): delete_dead_inodes... done [pid 5841] mount("/dev/loop0", "./file2", "bcachefs", MS_STRICTATIME, "\x65\x72\x72\x6f\x72\x73\x3d\x63\x6f\x6e\x74\x69\x6e\x75\x65\x2c\x65\x72\x72\x6f\x72\x73\x3d\x66\x69\x78\x5f\x73\x61\x66\x65\x2c\x6a\x6f\x75\x72\x6e\x61\x6c\x5f\x74\x72\x61\x6e\x73\x61\x63\x74\x69\x6f\x6e\x5f\x6e\x61\x6d\x65\x73\x2c\x76\x65\x72\x73\x69\x6f\x6e\x5f\x75\x70\x67\x72\x61\x64\x65\x3d\x6e\x6f\x6e\x65\x2c\x73\x6d\x61\x63\x6b\x6a\x5f\x74\x79\x70\x65\x3d\x28\xaa\x29") = 0 [pid 5841] openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 [pid 5841] chdir("./file2") = 0 [ 252.350323][ T5841] bcachefs (loop0): going read-write [ 252.361148][ T5841] bcachefs (loop0): done starting filesystem [ 252.364656][ T5852] bcachefs (loop0 inum 4099 offset 0): __bch2_write(): move error: insufficient_devices [ 252.377675][ T5852] bcachefs (loop0 inum 536870913 offset 0): __bch2_write(): move error: insufficient_devices [ 252.390390][ T5852] bcachefs (loop0 inum 4099 offset 0): __bch2_write(): move error: insufficient_devices [pid 5841] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5841] ioctl(4, LOOP_CLR_FD) = 0 [pid 5841] close(4) = 0 [ 252.400391][ T5852] bcachefs (loop0 inum 536870913 offset 0): __bch2_write(): move error: insufficient_devices [pid 5841] quotactl(QCMD(Q_SETQUOTA, GRPQUOTA), "/dev/loop0", 0, {dqb_bhardlimit=15504, dqb_bsoftlimit=34, dqb_curspace=9, dqb_ihardlimit=2, dqb_isoftlimit=0, dqb_curinodes=8, ...} [pid 5840] kill(-5841, SIGKILL) = 0 [pid 5840] kill(5841, SIGKILL) = 0 [pid 5840] openat(AT_FDCWD, "/sys/fs/fuse/connections", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5840] newfstatat(3, "", {st_mode=S_IFDIR|0755, st_size=0, ...}, AT_EMPTY_PATH) = 0 [pid 5840] getdents64(3, 0x5555819df6f0 /* 2 entries */, 32768) = 48 [pid 5840] getdents64(3, 0x5555819df6f0 /* 0 entries */, 32768) = 0 [pid 5840] close(3) = 0 [ 282.558403][ T5841] Allocator stuck? Waited for 30 seconds [ 282.558424][ T5841] Allocator debug: [ 282.558432][ T5841] capacity1536 [ 282.558440][ T5841] reserved 31232 [ 282.558448][ T5841] hidden 0 [ 282.558456][ T5841] btree 0 [ 282.558463][ T5841] data 0 [ 282.558471][ T5841] cached 0 [ 282.558479][ T5841] reserved 0 [ 282.558487][ T5841] online_reserved 768 [ 282.558495][ T5841] nr_inodes 0 [ 282.558502][ T5841] [ 282.558509][ T5841] freelist_wait waiting [ 282.558518][ T5841] open buckets allocated1 [ 282.558526][ T5841] open buckets total 1024 [ 282.558533][ T5841] open_buckets_wait empty [ 282.558541][ T5841] open_buckets_btree 0 [ 282.558549][ T5841] open_buckets_user 0 [ 282.558557][ T5841] btree reserve cache 0 [ 282.558565][ T5841] [ 282.558572][ T5841] Dev 0: [ 282.558579][ T5841] buckets sectors fragmented [ 282.558588][ T5841] free 0 0 0 [ 282.558597][ T5841] sb 0 0 0 [ 282.558606][ T5841] journal 0 0 0 [ 282.558616][ T5841] btree 0 0 0 [ 282.558625][ T5841] user 0 0 0 [ 282.558634][ T5841] cached 0 0 0 [ 282.558643][ T5841] parity 0 0 0 [ 282.558652][ T5841] stripe 0 0 0 [ 282.558662][ T5841] need_gc_gens 0 0 0 [ 282.558671][ T5841] need_discard 0 0 0 [ 282.558682][ T5841] unstriped 0 0 0 [ 282.558691][ T5841] capacity 128 [ 282.558699][ T5841] [ 282.558706][ T5841] reserves: [ 282.558713][ T5841] stripe 60 [ 282.558721][ T5841] normal 58 [ 282.558729][ T5841] copygc 56 [ 282.558737][ T5841] btree 28 [ 282.558744][ T5841] btree_copygc 0 [ 282.558752][ T5841] reclaim 0 [ 282.558760][ T5841] interior_updates 0 [ 282.558768][ T5841] [ 282.558775][ T5841] open buckets 0 [ 282.558783][ T5841] buckets to invalidate 0 [ 282.558791][ T5841] [ 282.558798][ T5841] Copygc debug: [ 282.558805][ T5841] running: 0 [ 282.558812][ T5841] copygc_wait:0 [ 282.558820][ T5841] copygc_wait_at:0 [ 282.558827][ T5841] Currently waiting for:0 B [ 282.558835][ T5841] Currently waiting since:640 KiB [ 282.558843][ T5841] Currently calculated wait:0 B [ 282.558851][ T5841] [ 282.558858][ T5841] Journal debug: [ 282.558865][ T5841] flags: replay_done,running,need_flush_write [ 282.558875][ T5841] dirty journal entries: 0/32768 [ 282.558883][ T5841] seq: 10 [ 282.558891][ T5841] seq_ondisk: 10 [ 282.558899][ T5841] last_seq: 11 [ 282.558906][ T5841] last_seq_ondisk: 11 [ 282.558914][ T5841] flushed_seq_ondisk: 10 [ 282.558922][ T5841] watermark: stripe [ 282.558930][ T5841] each entry reserved: 321 [ 282.558938][ T5841] nr flush writes: 0 [ 282.558946][ T5841] nr noflush writes: 0 [ 282.558956][ T5841] average write size: 0 B [ 282.558965][ T5841] nr direct reclaim: 0 [ 282.558973][ T5841] nr background reclaim: 0 [ 282.558981][ T5841] reclaim kicked: 0 [ 282.558989][ T5841] reclaim runs in: 0 ms [ 282.558997][ T5841] blocked: 0 [ 282.559005][ T5841] current entry sectors: 0 [ 282.559013][ T5841] current entry error: insufficient_devices [ 282.559021][ T5841] current entry: closed [ 282.559029][ T5841] unwritten entries: [ 282.559037][ T5841] last buf closed [ 282.559044][ T5841] space: [ 282.559051][ T5841] discarded 0:0 [ 282.559059][ T5841] clean ondisk 0:0 [ 282.559067][ T5841] clean 0:0 [ 282.559075][ T5841] total 0:0 [ 282.559083][ T5841] [ 431.027615][ T30] INFO: task syz-executor110:5841 blocked for more than 143 seconds. [ 431.035820][ T30] Not tainted 6.13.0-rc4-syzkaller-00004-gf07044dd0df0 #0 [ 431.043716][ T30] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 431.052619][ T30] task:syz-executor110 state:D stack:19248 pid:5841 tgid:5841 ppid:5840 flags:0x00004006 [ 431.062903][ T30] Call Trace: [ 431.066195][ T30] [ 431.069165][ T30] __schedule+0x17fb/0x4be0 [ 431.073700][ T30] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 431.079764][ T30] ? __pfx___schedule+0x10/0x10 [ 431.084641][ T30] ? __pfx_lock_release+0x10/0x10 [ 431.089715][ T30] ? bch2_print_allocator_stuck+0x165/0xcb0 [ 431.095653][ T30] ? bch2_print_allocator_stuck+0xc24/0xcb0 [ 431.101612][ T30] ? schedule+0x90/0x320 [ 431.105872][ T30] schedule+0x14b/0x320 [ 431.110151][ T30] __closure_sync+0x259/0x2f0 [ 431.114868][ T30] ? __closure_sync+0x149/0x2f0 [ 431.119806][ T30] ? __pfx___closure_sync+0x10/0x10 [ 431.125073][ T30] ? __bch2_wait_on_allocator+0x1d6/0x250 [ 431.130830][ T30] bch2_btree_update_start+0x11a2/0x14e0 [ 431.136493][ T30] ? bch2_btree_split_leaf+0x123/0x840 [ 431.142035][ T30] ? __pfx_bch2_btree_update_start+0x10/0x10 [ 431.148078][ T30] ? bch2_set_quota+0x8f6/0xd90 [ 431.152932][ T30] ? __pfx_closure_sync_fn+0x10/0x10 [ 431.158316][ T30] ? __do_six_trylock+0x832/0x9f0 [ 431.163387][ T30] bch2_btree_split_leaf+0x123/0x840 [ 431.168801][ T30] bch2_trans_commit_error+0x212/0x1380 [ 431.174382][ T30] ? bch2_set_quota+0x93a/0xd90 [ 431.179332][ T30] ? six_unlock_ip+0x2ce/0x3e0 [ 431.184117][ T30] ? bch2_trans_unlock_write+0x892/0xce0 [ 431.189780][ T30] ? __pfx_bch2_trans_commit_error+0x10/0x10 [ 431.195873][ T30] ? bch2_trans_unlock_write+0xc2d/0xce0 [ 431.201578][ T30] ? bch2_btree_path_verify_locks+0x633/0x720 [ 431.207704][ T30] ? bch2_trans_verify_locks+0x339/0x3c0 [ 431.213346][ T30] __bch2_trans_commit+0x7ead/0x93c0 [ 431.218697][ T30] ? bch2_path_put+0x1a4/0x2150 [ 431.223582][ T30] ? __pfx___bch2_trans_commit+0x10/0x10 [ 431.229254][ T30] ? __asan_memset+0x23/0x50 [ 431.233881][ T30] bch2_set_quota+0x93a/0xd90 [ 431.238629][ T30] ? bch2_set_quota+0x40d/0xd90 [ 431.243504][ T30] ? __pfx_bch2_set_quota+0x10/0x10 [ 431.248763][ T30] ? bch2_set_quota+0x40d/0xd90 [ 431.253626][ T30] ? __pfx_lock_release+0x10/0x10 [ 431.258713][ T30] ? __might_fault+0xc6/0x120 [ 431.263415][ T30] quota_setquota+0x6dc/0x850 [ 431.268129][ T30] ? __pfx_quota_setquota+0x10/0x10 [ 431.273344][ T30] ? safesetid_security_capable+0xb2/0x1d0 [ 431.279212][ T30] ? do_quotactl+0x6cc/0x870 [ 431.283840][ T30] __se_sys_quotactl+0x2c4/0xa30 [ 431.288857][ T30] ? __pfx___se_sys_quotactl+0x10/0x10 [ 431.294344][ T30] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 431.300751][ T30] ? do_syscall_64+0x100/0x230 [ 431.305545][ T30] do_syscall_64+0xf3/0x230 [ 431.310113][ T30] ? clear_bhb_loop+0x35/0x90 [ 431.314810][ T30] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 431.320774][ T30] RIP: 0033:0x7f16905c1dd9 [ 431.325213][ T30] RSP: 002b:00007ffee99bce48 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 [ 431.333668][ T30] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f16905c1dd9 [ 431.341703][ T30] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: ffffffff80000801 [ 431.349799][ T30] RBP: 00007f169063b5f0 R08: 0000000000005901 R09: 00005555819df4c0 [ 431.357873][ T30] R10: 0000000020000100 R11: 0000000000000246 R12: 00007ffee99bce70 [ 431.365846][ T30] R13: 00007ffee99bd098 R14: 431bde82d7b634db R15: 00007f169060b03b [ 431.373999][ T30] [ 431.377107][ T30] [ 431.377107][ T30] Showing all locks held in the system: [ 431.384913][ T30] 1 lock held by khungtaskd/30: [ 431.389823][ T30] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 [ 431.399827][ T30] 2 locks held by getty/5581: [ 431.404525][ T30] #0: ffff88814e0780a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 [ 431.414377][ T30] #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 [ 431.424617][ T30] 3 locks held by syz-executor110/5841: [ 431.430212][ T30] #0: ffff88807dd500e0 (&type->s_umount_key#43){.+.+}-{4:4}, at: super_lock+0x27c/0x400 [ 431.440185][ T30] #1: ffff888076684398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7e1/0xd30 [ 431.450713][ T30] #2: ffff8880766a66d0 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x682/0x14e0 [ 431.460976][ T30] [ 431.463310][ T30] ============================================= [ 431.463310][ T30] [ 431.471783][ T30] NMI backtrace for cpu 0 [ 431.476138][ T30] CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc4-syzkaller-00004-gf07044dd0df0 #0 [ 431.486625][ T30] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 431.496667][ T30] Call Trace: [ 431.499934][ T30] [ 431.502865][ T30] dump_stack_lvl+0x241/0x360 [ 431.507537][ T30] ? __pfx_dump_stack_lvl+0x10/0x10 [ 431.512725][ T30] ? __pfx__printk+0x10/0x10 [ 431.517313][ T30] nmi_cpu_backtrace+0x49c/0x4d0 [ 431.522249][ T30] ? __pfx_nmi_cpu_backtrace+0x10/0x10 [ 431.527710][ T30] ? _printk+0xd5/0x120 [ 431.531866][ T30] ? __pfx__printk+0x10/0x10 [ 431.536451][ T30] ? __wake_up_klogd+0xcc/0x110 [ 431.541300][ T30] ? __pfx__printk+0x10/0x10 [ 431.545887][ T30] ? __pfx_nmi_raise_cpu_backtrace+0x10/0x10 [ 431.551862][ T30] nmi_trigger_cpumask_backtrace+0x198/0x320 [ 431.557835][ T30] watchdog+0xff6/0x1040 [ 431.562065][ T30] ? watchdog+0x1ea/0x1040 [ 431.566471][ T30] ? __pfx_watchdog+0x10/0x10 [ 431.571135][ T30] kthread+0x2f0/0x390 [ 431.575194][ T30] ? __pfx_watchdog+0x10/0x10 [ 431.579865][ T30] ? __pfx_kthread+0x10/0x10 [ 431.584481][ T30] ret_from_fork+0x4b/0x80 [ 431.588903][ T30] ? __pfx_kthread+0x10/0x10 [ 431.593580][ T30] ret_from_fork_asm+0x1a/0x30 [ 431.598352][ T30] [ 431.601537][ T30] Sending NMI from CPU 0 to CPUs 1: [ 431.606797][ C1] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt+0x21/0x30 [ 431.607848][ T30] Kernel panic - not syncing: hung_task: blocked tasks [ 431.607864][ T30] CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc4-syzkaller-00004-gf07044dd0df0 #0 [ 431.607887][ T30] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 431.607900][ T30] Call Trace: [ 431.607908][ T30] [ 431.607917][ T30] dump_stack_lvl+0x241/0x360 [ 431.607948][ T30] ? __pfx_dump_stack_lvl+0x10/0x10 [ 431.607975][ T30] ? __pfx__printk+0x10/0x10 [ 431.607997][ T30] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 431.608026][ T30] ? vscnprintf+0x5d/0x90 [ 431.608051][ T30] panic+0x349/0x880 [ 431.608077][ T30] ? nmi_trigger_cpumask_backtrace+0x244/0x320 [ 431.608103][ T30] ? __pfx_panic+0x10/0x10 [ 431.608124][ T30] ? tick_nohz_tick_stopped+0x82/0xb0 [ 431.608154][ T30] ? __irq_work_queue_local+0x137/0x410 [ 431.608177][ T30] ? preempt_schedule_thunk+0x1a/0x30 [ 431.608199][ T30] ? nmi_trigger_cpumask_backtrace+0x244/0x320 [ 431.608240][ T30] ? nmi_trigger_cpumask_backtrace+0x2d4/0x320 [ 431.608284][ T30] ? nmi_trigger_cpumask_backtrace+0x2d9/0x320 [ 431.608311][ T30] watchdog+0x1035/0x1040 [ 431.608335][ T30] ? watchdog+0x1ea/0x1040 [ 431.608379][ T30] ? __pfx_watchdog+0x10/0x10 [ 431.608402][ T30] kthread+0x2f0/0x390 [ 431.608427][ T30] ? __pfx_watchdog+0x10/0x10 [ 431.608449][ T30] ? __pfx_kthread+0x10/0x10 [ 431.608474][ T30] ret_from_fork+0x4b/0x80 [ 431.608494][ T30] ? __pfx_kthread+0x10/0x10 [ 431.608518][ T30] ret_from_fork_asm+0x1a/0x30 [ 431.608561][ T30] [ 431.766208][ T30] Kernel Offset: disabled [ 431.770533][ T30] Rebooting in 86400 seconds..