INFO: task kworker/u4:3:50 blocked for more than 143 seconds. Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:3 state:D stack:22672 pid:50 tgid:50 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17df/0x4a40 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6804 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6819 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2159 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __flush_workqueue+0x730/0x1630 kernel/workqueue.c:3617 drain_workqueue+0xc9/0x390 kernel/workqueue.c:3730 destroy_workqueue+0xba/0xc40 kernel/workqueue.c:5319 bond_destructor+0x4d/0x80 drivers/net/bonding/bond_main.c:5846 netdev_run_todo+0xd4f/0xf40 net/core/dev.c:10581 default_device_exit_batch+0x975/0x9f0 net/core/dev.c:11625 ops_exit_list net/core/net_namespace.c:175 [inline] cleanup_net+0x775/0xb90 net/core/net_namespace.c:618 process_one_work kernel/workqueue.c:3049 [inline] process_scheduled_works+0x913/0x14f0 kernel/workqueue.c:3125 worker_thread+0xa60/0x1000 kernel/workqueue.c:3206 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/u4:3/50: #0: ffff888015acd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #0: ffff888015acd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #1: ffffc90000ba7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #1: ffffc90000ba7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #2: ffffffff8f36da50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf5/0xb90 net/core/net_namespace.c:580 3 locks held by kworker/u4:4/60: #0: ffff8880b953c758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffffc900015bfd20 ((work_completion)(&(&kfence_timer)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #1: ffffc900015bfd20 ((work_completion)(&(&kfence_timer)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #2: ffff8880b9529698 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:999 2 locks held by getty/4820: #0: ffff88807b4780a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by kworker/u4:8/16040: #0: ffff8880b953c758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffff8880b9528988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 #2: ffffffff94669d78 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:978 [inline] #2: ffffffff94669d78 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0x234/0x580 lib/debugobjects.c:1019 2 locks held by syz-executor.4/30580: #0: ffff88801f06e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffff88801f06e130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:954 [inline] #1: ffff88801f06e130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: iterate_tty_write drivers/tty/tty_io.c:973 [inline] #1: ffff88801f06e130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x1f3/0x9b0 drivers/tty/tty_io.c:1096 2 locks held by syz-executor.1/30795: #0: ffff888081dee690 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff888081dee690 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1709 #1: ffff888081deeb08 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xd3/0x120 fs/fuse/inode.c:544 2 locks held by syz-executor.3/30883: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfb0/0xff0 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12062 Comm: syz-executor.2 Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] RIP: 0010:tif_need_resched include/linux/thread_info.h:184 [inline] RIP: 0010:need_resched include/linux/sched.h:2105 [inline] RIP: 0010:copy_pte_range mm/memory.c:1071 [inline] RIP: 0010:copy_pmd_range mm/memory.c:1187 [inline] RIP: 0010:copy_pud_range mm/memory.c:1224 [inline] RIP: 0010:copy_p4d_range mm/memory.c:1248 [inline] RIP: 0010:copy_page_range+0x10aa/0x4470 mm/memory.c:1346 Code: be 01 00 00 00 e8 36 ae 99 09 31 db bf 1f 00 00 00 89 de e8 d8 e6 b5 ff 83 fb 1f 0f 8e 07 01 00 00 65 48 8b 1c 25 00 bd 03 00 <48> 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 00 d7 18 00 RSP: 0018:ffffc900136b7400 EFLAGS: 00000212 RAX: 0000000000000000 RBX: ffff888036165a00 RCX: ffff888036165a00 RDX: ffff888036165a00 RSI: 0000000000000020 RDI: 000000000000001f RBP: ffffc900136b78b0 R08: ffffffff81ddede8 R09: 1ffffffff1f0b6e5 R10: dffffc0000000000 R11: fffffbfff1f0b6e6 R12: ffff88803aa6c200 R13: dffffc0000000000 R14: 80000000389f0007 R15: 80000000389f0007 FS: 00005555556d1480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1d1eed56c6 CR3: 000000002dee4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dup_mmap kernel/fork.c:746 [inline] dup_mm kernel/fork.c:1686 [inline] copy_mm+0x12f5/0x21b0 kernel/fork.c:1735 copy_process+0x1844/0x3db0 kernel/fork.c:2519 kernel_clone+0x21e/0x8d0 kernel/fork.c:2924 __do_sys_clone kernel/fork.c:3067 [inline] __se_sys_clone kernel/fork.c:3051 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:3051 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f1d1e27add3 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007ffe4d56b1f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1d1e27add3 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 00005555556d1750 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001