INFO: task kworker/u8:1:7684 blocked for more than 430 seconds. Not tainted 6.12.0-rc1-syzkaller-00012-g5f153a692bac #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:1 state:D stack:0 pid:7684 tgid:7684 ppid:2 flags:0x00000000 Workqueue: netns cleanup_net Call Trace: [] context_switch kernel/sched/core.c:5315 [inline] [] __schedule+0xd5a/0x3886 kernel/sched/core.c:6675 [] __schedule_loop kernel/sched/core.c:6752 [inline] [] schedule+0xc4/0x324 kernel/sched/core.c:6767 [] schedule_preempt_disabled+0x16/0x28 kernel/sched/core.c:6824 [] __mutex_lock_common kernel/locking/mutex.c:684 [inline] [] __mutex_lock+0x86a/0x1022 kernel/locking/mutex.c:752 [] mutex_lock_nested+0x14/0x1c kernel/locking/mutex.c:804 [] rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:4561 [] cleanup_net+0x5c6/0x984 net/core/net_namespace.c:637 [] process_one_work+0x956/0x1dae kernel/workqueue.c:3229 [] process_scheduled_works kernel/workqueue.c:3310 [inline] [] worker_thread+0x5be/0xdc6 kernel/workqueue.c:3391 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:326 Showing all locks held in the system: 1 lock held by khungtaskd/36: #0: ffffffff87fcc100 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x68/0x2d6 kernel/locking/lockdep.c:6716 1 lock held by kworker/R-dm_bu/1575: #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3526 1 lock held by syslogd/2966: 2 locks held by getty/3118: #0: ff600000187360a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3a/0x46 drivers/tty/tty_ldsem.c:340 #1: ff2000000008b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xd7c/0x129a drivers/tty/n_tty.c:2211 3 locks held by sshd/3144: 2 locks held by syz-executor/3146: 2 locks held by kworker/1:11/7376: 2 locks held by kworker/1:13/7378: 3 locks held by kworker/0:6/7382: #0: ff60000011068948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff200000032b7c90 ((fqdir_free_work).work){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 #2: ffffffff87fdc6c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:4561 3 locks held by kworker/u8:1/7684: #0: ff60000011e81948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff20000001da7c90 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 #2: ffffffff87fdc6c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:4561 2 locks held by kworker/1:0/8001: 1 lock held by kworker/R-wg-cr/8039: #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/8048: #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3526 3 locks held by kworker/1:1/8561: 2 locks held by kworker/1:2/8591: 2 locks held by kworker/1:3/8606: 2 locks held by kworker/1:4/8617: 2 locks held by kworker/1:6/8624: 2 locks held by kworker/1:7/8671: 1 lock held by kworker/R-wg-cr/8734: #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/8737: #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3526 1 lock held by kworker/R-wg-cr/8740: 3 locks held by kworker/u9:0/8907: #0: ff60000011071148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff20000000a07c90 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 #2: ffffffff87fdc6c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:4561 2 locks held by kworker/1:8/9047: 1 lock held by kworker/R-wg-cr/9073: #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3526 2 locks held by kworker/1:10/9432: 2 locks held by kworker/1:12/9457: 1 lock held by kworker/R-wg-cr/9579: #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool kernel/workqueue.c:2727 [inline] #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0x73e/0xc72 kernel/workqueue.c:3526 2 locks held by kworker/1:15/9780: 3 locks held by kworker/0:3/9838: 1 lock held by syz.6.1090/9860: #0: ffffffff87fdc6c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x56/0x6cc kernel/rcu/tree.c:4561 2 locks held by kworker/1:16/9882: 1 lock held by kworker/1:18/10219: #0: ffffffff87e86d68 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x36/0x3c4 kernel/workqueue.c:2669 3 locks held by syz.7.1113/10297: 1 lock held by syz.7.1117/10322: #0: ff600000186e2c08 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #0: ff600000186e2c08 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x158/0x310 mm/util.c:586 2 locks held by syz.7.1117/10324: 1 lock held by syz.8.1091/10325: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 36 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00012-g5f153a692bac #0 Hardware name: riscv-virtio,qemu (DT) Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:136 [] __dump_stack lib/dump_stack.c:94 [inline] [] dump_stack_lvl+0x122/0x196 lib/dump_stack.c:120 [] dump_stack+0x1c/0x24 lib/dump_stack.c:129 [] nmi_cpu_backtrace+0x39c/0x39e lib/nmi_backtrace.c:113 [] nmi_trigger_cpumask_backtrace+0x2b6/0x456 lib/nmi_backtrace.c:62 [] arch_trigger_cpumask_backtrace+0x2c/0x3c arch/riscv/kernel/smp.c:347 [] trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] [] watchdog+0xcfa/0x1178 kernel/hung_task.c:379 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:326 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 8001 Comm: kworker/1:0 Not tainted 6.12.0-rc1-syzkaller-00012-g5f153a692bac #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: wg-crypt-wg0 wg_packet_tx_worker epc : kasan_quarantine_put+0x8a/0x1fa mm/kasan/quarantine.c:236 ra : kasan_quarantine_put+0x198/0x1fa mm/kasan/quarantine.c:234 epc : ffffffff8097314a ra : ffffffff80973258 sp : ff20000000017bc0 gp : ffffffff897bea80 tp : ff60000014fb0000 t0 : ff20000000017ba0 t1 : 000000000000000d t2 : 0000000000000001 s0 : ff20000000017c00 s1 : 0000000000034c00 a0 : 0000000000000001 a1 : ffffffff8643e620 a2 : 0000000000000003 a3 : 0000000000000101 a4 : 0000000000000001 a5 : 0000000000000000 a6 : ff60000014fb0b68 a7 : 1fec0000029f616d s2 : ff600000327e4100 s3 : 0000000000000002 s4 : ff6000001235f280 s5 : 0000000000000000 s6 : 0000000000000000 s7 : ffffffff898ba6c0 s8 : 0000000000000000 s9 : 0000000000002710 s10: ffffffff897f7f20 s11: 1fec0000064fc82b t3 : 1fec0000029f6163 t4 : fffffffef214f21f t5 : fffffffef214f220 t6 : 1fec0000029f6177 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] arch_local_irq_restore arch/riscv/include/asm/irqflags.h:51 [inline] [] kasan_quarantine_put+0x8a/0x1fa mm/kasan/quarantine.c:234 [] __kasan_slab_free+0x56/0x68 mm/kasan/common.c:271 [] kasan_slab_free include/linux/kasan.h:230 [inline] [] slab_free_hook mm/slub.c:2343 [inline] [] slab_free mm/slub.c:4580 [inline] [] kmem_cache_free+0x244/0x5f4 mm/slub.c:4682 [] dst_destroy+0x398/0xac6 net/core/dst.c:124 [] dst_destroy_rcu+0x1c/0x26 net/core/dst.c:135 [] rcu_do_batch kernel/rcu/tree.c:2567 [inline] [] rcu_core+0xa24/0x1eac kernel/rcu/tree.c:2823 [] rcu_core_si+0xc/0x14 kernel/rcu/tree.c:2840 [] handle_softirqs+0x4a6/0x10de kernel/softirq.c:554 [] __do_softirq+0x12/0x1a kernel/softirq.c:588 [] ___do_softirq+0x18/0x20 arch/riscv/kernel/irq.c:85 [] call_on_irq_stack+0x32/0x40 arch/riscv/kernel/entry.S:355