INFO: task syz.4.602:9221 blocked for more than 143 seconds. Not tainted 6.16.0-rc4-syzkaller-00049-gb4911fb0b060 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.602 state:D stack:26952 pid:9221 tgid:9175 ppid:5834 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6935 rwsem_down_read_slowpath+0x552/0x880 kernel/locking/rwsem.c:1084 __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x98/0x2e0 kernel/locking/rwsem.c:1526 inode_lock_shared include/linux/fs.h:884 [inline] lookup_slow+0x46/0x70 fs/namei.c:1833 walk_component+0x2d2/0x400 fs/namei.c:2138 lookup_last fs/namei.c:2639 [inline] path_lookupat+0x163/0x430 fs/namei.c:2663 filename_lookup+0x212/0x570 fs/namei.c:2692 user_path_at+0x3a/0x60 fs/namei.c:3136 do_mount fs/namespace.c:4236 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount+0x2d3/0x410 fs/namespace.c:4427 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efd6358e929 RSP: 002b:00007efd6433b038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007efd637b6080 RCX: 00007efd6358e929 RDX: 0000000000000000 RSI: 0000200000000240 RDI: 00002000000001c0 RBP: 00007efd63610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000201008 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efd637b6080 R15: 00007fff07468e08 INFO: task syz.4.602:9223 blocked for more than 147 seconds. Not tainted 6.16.0-rc4-syzkaller-00049-gb4911fb0b060 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.602 state:D stack:28904 pid:9223 tgid:9175 ppid:5834 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6935 rwsem_down_read_slowpath+0x552/0x880 kernel/locking/rwsem.c:1084 __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x98/0x2e0 kernel/locking/rwsem.c:1526 inode_lock_shared include/linux/fs.h:884 [inline] lookup_slow+0x46/0x70 fs/namei.c:1833 walk_component+0x2d2/0x400 fs/namei.c:2138 lookup_last fs/namei.c:2639 [inline] path_lookupat+0x163/0x430 fs/namei.c:2663 filename_lookup+0x212/0x570 fs/namei.c:2692 user_path_at+0x3a/0x60 fs/namei.c:3136 do_mount fs/namespace.c:4236 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount+0x2d3/0x410 fs/namespace.c:4427 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efd6358e929 RSP: 002b:00007efd6431a038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007efd637b6160 RCX: 00007efd6358e929 RDX: 0000000000000000 RSI: 0000200000000240 RDI: 00002000000001c0 RBP: 00007efd63610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000201008 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007efd637b6160 R15: 00007fff07468e08 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e13ee20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13ee20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13ee20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by kworker/u8:4/59: #0: ffff88801a481148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801a481148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc9000210fbc0 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9000210fbc0 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 2 locks held by kworker/u8:6/2955: 2 locks held by kworker/u8:7/2979: #0: ffff888146ee2148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888146ee2148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc9000be67bc0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9000be67bc0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 2 locks held by getty/5579: #0: ffff888030a230a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 3 locks held by kworker/0:3/5889: #0: ffff888143ee2d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888143ee2d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc90003e8fbc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90003e8fbc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffff888028333198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #2: ffff888028333198 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4a00 drivers/usb/core/hub.c:5863 4 locks held by kworker/u8:12/6042: #0: ffff88801a481148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801a481148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc90002fc7bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90002fc7bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffffffff8f50f908 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 #3: ffffffff8e144938 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline] #3: ffffffff8e144938 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:998 5 locks held by syz.4.602/9176: #0: ffff88805ec42428 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff888044050148 (&sb->s_type->i_mutex_key#27){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff888044050148 (&sb->s_type->i_mutex_key#27){++++}-{4:4}, at: open_last_lookups fs/namei.c:3813 [inline] #1: ffff888044050148 (&sb->s_type->i_mutex_key#27){++++}-{4:4}, at: path_openat+0x8da/0x3830 fs/namei.c:4052 #2: ffff888044050530 (&inode->ei_update_lock){+.+.}-{4:4}, at: __bch2_create+0x2f2/0xb90 fs/bcachefs/fs.c:567 #3: ffff88804a204398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline] #3: ffff88804a204398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline] #3: ffff88804a204398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220 fs/bcachefs/btree_iter.c:3299 #4: ffff88804a226710 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x542/0x1de0 fs/bcachefs/btree_update_interior.c:1211 1 lock held by syz.4.602/9221: #0: ffff888044050148 (&sb->s_type->i_mutex_key#27){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:884 [inline] #0: ffff888044050148 (&sb->s_type->i_mutex_key#27){++++}-{4:4}, at: lookup_slow+0x46/0x70 fs/namei.c:1833 1 lock held by syz.4.602/9223: #0: ffff888044050148 (&sb->s_type->i_mutex_key#27){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:884 [inline] #0: ffff888044050148 (&sb->s_type->i_mutex_key#27){++++}-{4:4}, at: lookup_slow+0x46/0x70 fs/namei.c:1833 1 lock held by dhcpcd-run-hook/11020: #0: ffff8880b8639f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:614 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc4-syzkaller-00049-gb4911fb0b060 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:470 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 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: 11024 Comm: cmp Not tainted 6.16.0-rc4-syzkaller-00049-gb4911fb0b060 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:trace_lock_acquire include/trace/events/lock.h:24 [inline] RIP: 0010:lock_acquire+0x58/0x360 kernel/locking/lockdep.c:5834 Code: 8b 05 4c de fe 10 48 89 44 24 58 0f 1f 44 00 00 65 8b 05 4f de fe 10 83 f8 08 0f 83 b8 01 00 00 89 c0 48 0f a3 05 f8 e4 02 0e <73> 16 e8 51 f1 08 00 84 c0 75 0d f6 05 aa d1 ec 0d 01 0f 84 d7 01 RSP: 0000:ffffc900041ff218 EFLAGS: 00000297 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8e13ee20 RBP: ffffffff81728af5 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff81ace6d0 R12: 0000000000000002 R13: ffffffff8e13ee20 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888125d50000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fefd11f3a40 CR3: 0000000064562000 CR4: 0000000000350ef0 Call Trace: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock include/linux/rcupdate.h:841 [inline] class_rcu_constructor include/linux/rcupdate.h:1155 [inline] unwind_next_frame+0xc2/0x2390 arch/x86/kernel/unwind_orc.c:479 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 save_stack+0xf5/0x1f0 mm/page_owner.c:156 __set_page_owner+0x8d/0x4a0 mm/page_owner.c:329 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2419 folio_alloc_mpol_noprof mm/mempolicy.c:2438 [inline] vma_alloc_folio_noprof+0xe4/0x200 mm/mempolicy.c:2473 folio_prealloc+0x30/0x180 mm/memory.c:-1 do_cow_fault mm/memory.c:5614 [inline] do_fault mm/memory.c:5726 [inline] do_pte_missing mm/memory.c:4251 [inline] handle_pte_fault mm/memory.c:6069 [inline] __handle_mm_fault+0x183f/0x5620 mm/memory.c:6212 handle_mm_fault+0x40a/0x8e0 mm/memory.c:6381 do_user_addr_fault+0xa81/0x1390 arch/x86/mm/fault.c:1336 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x76/0xf0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7fefd11db40c Code: 00 df 48 8d 0d f5 99 01 00 41 b8 ff ff ff 6f 41 b9 29 00 00 70 48 c1 e2 20 48 89 35 9e 99 01 00 48 09 d0 48 8d 15 74 8a 01 00 <48> 89 05 2d 86 01 00 48 8b 05 66 8a 01 00 48 89 15 8f 99 01 00 48 RSP: 002b:00007fff57e2ce20 EFLAGS: 00010202 RAX: 00000188565871ea RBX: 0000000000000000 RCX: 00007fefd11f4de0 RDX: 00007fefd11f3e80 RSI: 00007fefd11bf000 RDI: 00007fff57e2cee0 RBP: 00007fff57e2ced0 R08: 000000006fffffff R09: 0000000070000029 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000