INFO: task syz.4.7:5990 blocked for more than 143 seconds. Not tainted 6.15.0-rc1-syzkaller-00065-g3b07108ada81 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.7 state:D stack:26728 pid:5990 tgid:5955 ppid:5838 task_flags:0x400040 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b33/0x51f0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/0x360 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_write_slowpath+0xedd/0x1420 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1e2/0x220 kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:902 [inline] lock_rename fs/namei.c:3230 [inline] do_renameat2+0x633/0x1290 fs/namei.c:5181 __do_sys_renameat2 fs/namei.c:5269 [inline] __se_sys_renameat2 fs/namei.c:5266 [inline] __x64_sys_renameat2+0xce/0xe0 fs/namei.c:5266 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1151b8d169 RSP: 002b:00007f11529cd038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f1151da6160 RCX: 00007f1151b8d169 RDX: ffffffffffffff9c RSI: 0000200000000580 RDI: ffffffffffffff9c RBP: 00007f1151c0e730 R08: 0000000000000000 R09: 0000000000000000 R10: 00002000000005c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1151da6160 R15: 00007ffce3fadb58 INFO: task syz.4.7:5991 blocked for more than 144 seconds. Not tainted 6.15.0-rc1-syzkaller-00065-g3b07108ada81 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.7 state:D stack:27096 pid:5991 tgid:5955 ppid:5838 task_flags:0x400040 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b33/0x51f0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/0x360 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_read_slowpath kernel/locking/rwsem.c:1084 [inline] __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x6ff/0xa50 kernel/locking/rwsem.c:1526 inode_lock_shared include/linux/fs.h:877 [inline] lookup_slow+0x45/0x70 fs/namei.c:1823 walk_component+0x2f4/0x420 fs/namei.c:2128 lookup_last fs/namei.c:2626 [inline] path_lookupat+0x169/0x440 fs/namei.c:2650 filename_lookup+0x290/0x670 fs/namei.c:2679 vfs_statx+0xfe/0x200 fs/stat.c:346 vfs_fstatat+0xdc/0x150 fs/stat.c:368 __do_sys_newfstatat fs/stat.c:532 [inline] __se_sys_newfstatat fs/stat.c:526 [inline] __x64_sys_newfstatat+0x11f/0x1a0 fs/stat.c:526 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1151b8d169 RSP: 002b:00007f11529ac038 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007f1151da6240 RCX: 00007f1151b8d169 RDX: 0000200000002400 RSI: 00002000000023c0 RDI: ffffffffffffff9c RBP: 00007f1151c0e730 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1151da6240 R15: 00007ffce3fadb58 INFO: task syz.4.7:5995 blocked for more than 145 seconds. Not tainted 6.15.0-rc1-syzkaller-00065-g3b07108ada81 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.7 state:D stack:24360 pid:5995 tgid:5955 ppid:5838 task_flags:0x400040 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b33/0x51f0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/0x360 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_write_slowpath+0xedd/0x1420 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1e2/0x220 kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:902 [inline] do_unlinkat+0x26c/0x7b0 fs/namei.c:4595 __do_sys_unlinkat fs/namei.c:4649 [inline] __se_sys_unlinkat fs/namei.c:4642 [inline] __x64_sys_unlinkat+0xcc/0xf0 fs/namei.c:4642 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1151b8d169 RSP: 002b:00007f1152928038 EFLAGS: 00000246 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 00007f1151da65c0 RCX: 00007f1151b8d169 RDX: 0000000000000000 RSI: 0000200000000c40 RDI: ffffffffffffff9c RBP: 00007f1151c0e730 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1151da65c0 R15: 00007ffce3fadb58 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8ebe5288 (wq_pool_mutex){+.+.}-{4:4}, at: pwq_release_workfn+0x422/0x800 kernel/workqueue.c:5091 1 lock held by khungtaskd/31: #0: ffffffff8ed3dfe0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8ed3dfe0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8ed3dfe0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6764 4 locks held by kworker/u8:2/36: #0: ffff88801bef3948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801bef3948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90000ad7c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000ad7c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900de5d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17c/0xd60 net/core/net_namespace.c:608 #3: ffffffff8ed433c0 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774 1 lock held by syslogd/5182: #0: ffff8880b8739998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605 1 lock held by klogd/5189: #0: ffff8880b8739998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605 2 locks held by getty/5586: #0: ffff8880315160a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900036be2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222 5 locks held by syz.4.7/5989: #0: ffff88806d96a420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556 #1: ffff88805a4d8148 (&sb->s_type->i_mutex_key#23){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #1: ffff88805a4d8148 (&sb->s_type->i_mutex_key#23){++++}-{4:4}, at: open_last_lookups fs/namei.c:3762 [inline] #1: ffff88805a4d8148 (&sb->s_type->i_mutex_key#23){++++}-{4:4}, at: path_openat+0x8af/0x35d0 fs/namei.c:4001 #2: ffff88805a4d8530 (&inode->ei_update_lock){+.+.}-{4:4}, at: __bch2_create+0x359/0xf40 fs/bcachefs/fs.c:550 #3: ffff88805a304210 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline] #3: ffff88805a304210 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline] #3: ffff88805a304210 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0x9a/0x1a0 fs/bcachefs/btree_iter.c:3199 #4: ffff88805a326550 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x68a/0x16c0 fs/bcachefs/btree_update_interior.c:1179 2 locks held by syz.4.7/5990: #0: ffff88806d96a420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556 #1: ffff88805a4d8148 (&sb->s_type->i_mutex_key#22/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline] #1: ffff88805a4d8148 (&sb->s_type->i_mutex_key#22/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3230 [inline] #1: ffff88805a4d8148 (&sb->s_type->i_mutex_key#22/1){+.+.}-{4:4}, at: do_renameat2+0x633/0x1290 fs/namei.c:5181 1 lock held by syz.4.7/5991: #0: ffff88805a4d8148 (&sb->s_type->i_mutex_key#23){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:877 [inline] #0: ffff88805a4d8148 (&sb->s_type->i_mutex_key#23){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1823 2 locks held by syz.4.7/5995: #0: ffff88806d96a420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556 #1: ffff88805a4d8148 (&sb->s_type->i_mutex_key#22/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline] #1: ffff88805a4d8148 (&sb->s_type->i_mutex_key#22/1){+.+.}-{4:4}, at: do_unlinkat+0x26c/0x7b0 fs/namei.c:4595 1 lock held by bch-copygc/loop/5986: 1 lock held by syz.2.291/8175: 2 locks held by dhcpcd/8212: #0: ffff88805c0a3808 (&sb->s_type->i_mutex_key#9){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #0: ffff88805c0a3808 (&sb->s_type->i_mutex_key#9){+.+.}-{4:4}, at: __sock_release net/socket.c:646 [inline] #0: ffff88805c0a3808 (&sb->s_type->i_mutex_key#9){+.+.}-{4:4}, at: sock_close+0x90/0x240 net/socket.c:1391 #1: ffffffff8ed434f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline] #1: ffffffff8ed434f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x384/0x830 kernel/rcu/tree_exp.h:998 2 locks held by dhcpcd/8213: #0: ffff88805c0c9a08 (&sb->s_type->i_mutex_key#9){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #0: ffff88805c0c9a08 (&sb->s_type->i_mutex_key#9){+.+.}-{4:4}, at: __sock_release net/socket.c:646 [inline] #0: ffff88805c0c9a08 (&sb->s_type->i_mutex_key#9){+.+.}-{4:4}, at: sock_close+0x90/0x240 net/socket.c:1391 #1: ffffffff8ed434f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #1: ffffffff8ed434f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x454/0x830 kernel/rcu/tree_exp.h:998 1 lock held by dhcpcd/8221: #0: ffff8880306aa258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1615 [inline] #0: ffff8880306aa258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3252 1 lock held by dhcpcd/8223: #0: ffff888028a08258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1615 [inline] #0: ffff888028a08258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3252 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc1-syzkaller-00065-g3b07108ada81 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x4ab/0x4e0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline] watchdog+0x1058/0x10a0 kernel/hung_task.c:437 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 8175 Comm: syz.2.291 Not tainted 6.15.0-rc1-syzkaller-00065-g3b07108ada81 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:printk_get_next_message+0x640/0x8b0 kernel/printk/printk.c:3024 Code: 0f 84 08 01 00 00 e8 8f 11 21 00 80 7c 24 40 00 0f 85 f4 fc ff ff e8 7f 11 21 00 44 0f b6 25 07 48 d2 18 0f b6 1d 60 56 1f 0d <31> ff 89 de e8 67 14 21 00 48 8d bc 24 60 01 00 00 44 89 e6 89 da RSP: 0018:ffffc90003a1ed60 EFLAGS: 00000287 RAX: ffffffff81a24331 RBX: 0000000000000001 RCX: 0000000000080000 RDX: ffffc9000c71b000 RSI: 0000000000049ca5 RDI: 0000000000049ca6 RBP: ffffc90003a1ef50 R08: ffffffff81a23fe5 R09: ffffffff81a39989 R10: 0000000000000003 R11: ffff8880295b3c00 R12: 0000000000000000 R13: 000000000000000f R14: ffffc90003a1f060 R15: dffffc0000000000 FS: 00007fa5b5a106c0(0000) GS:ffff8881250c9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1f7ca3f178 CR3: 0000000050e9e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: console_emit_next_record kernel/printk/printk.c:3092 [inline] console_flush_all+0x56b/0xec0 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0x151/0x3b0 kernel/printk/printk.c:3325 vprintk_emit+0x761/0xa40 kernel/printk/printk.c:2450 bch2_print_maybe_redirect fs/bcachefs/super.c:114 [inline] __bch2_print+0x17c/0x220 fs/bcachefs/super.c:133 bch2_fs_initialize+0xaea/0x1620 fs/bcachefs/recovery.c:1148 bch2_fs_start+0x301/0x620 fs/bcachefs/super.c:1070 bch2_fs_get_tree+0x113e/0x18f0 fs/bcachefs/fs.c:2253 vfs_get_tree+0x90/0x2b0 fs/super.c:1759 do_new_mount+0x2cf/0xb70 fs/namespace.c:3879 do_mount fs/namespace.c:4219 [inline] __do_sys_mount fs/namespace.c:4430 [inline] __se_sys_mount+0x38c/0x400 fs/namespace.c:4407 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa5b4b8e90a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa5b5a0fe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa5b5a0fef0 RCX: 00007fa5b4b8e90a RDX: 00002000000000c0 RSI: 0000200000000180 RDI: 00007fa5b5a0feb0 RBP: 00002000000000c0 R08: 00007fa5b5a0fef0 R09: 0000000000000012 R10: 0000000000000012 R11: 0000000000000246 R12: 0000200000000180 R13: 00007fa5b5a0feb0 R14: 0000000000005a73 R15: 0000200000000200