INFO: task kworker/u4:18:8147 blocked for more than 143 seconds. Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:18 state:D stack:23776 pid:8147 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 rxrpc_destroy_all_calls+0x585/0x680 net/rxrpc/call_object.c:733 rxrpc_exit_net+0x6a/0xc0 net/rxrpc/net_ns.c:125 ops_exit_list net/core/net_namespace.c:169 [inline] cleanup_net+0x758/0xc60 net/core/net_namespace.c:606 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d523910 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d524110 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d523740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:4/75: #0: ffff888012879138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffffff8d523740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:324 1 lock held by dhcpcd/4635: #0: ffffffff8e6640c8 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x124/0x710 net/netlink/af_netlink.c:2355 2 locks held by kworker/1:3/4722: #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc9000379fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 2 locks held by getty/4742: #0: ffff88814a687098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 4 locks held by kworker/u4:6/5197: 3 locks held by kworker/u4:18/8147: #0: ffff8880129db138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc9000b7ffd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffffffff8e657d10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf0/0xc60 net/core/net_namespace.c:568 3 locks held by kworker/1:11/8474: 3 locks held by kworker/1:12/8475: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc90015837d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffffffff8d528d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #2: ffffffff8d528d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46f/0x890 kernel/rcu/tree_exp.h:946 1 lock held by syz-executor.4/11005: #0: ffffffff8d569668 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_unregister+0x2e/0x9d0 kernel/tracepoint.c:548 4 locks held by syz-executor.0/11007: #0: ffff888020210098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline] #0: ffff888020210098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:346 [inline] #0: ffff888020210098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:367 [inline] #0: ffff888020210098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_release+0xb3/0x510 drivers/tty/tty_ldisc.c:775 #1: ffff888020216098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: __tty_ldisc_lock_nested drivers/tty/tty_ldisc.c:296 [inline] #1: ffff888020216098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:348 [inline] #1: ffff888020216098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:367 [inline] #1: ffff888020216098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_release+0xd7/0x510 drivers/tty/tty_ldisc.c:775 #2: ffffffff8e6640c8 (rtnl_mutex){+.+.}-{3:3}, at: unregister_netdev+0x79/0x210 net/core/dev.c:10912 #3: ffffffff8d528d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #3: ffffffff8d528d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a6/0x890 kernel/rcu/tree_exp.h:946 1 lock held by syz-executor.3/11011: #0: ffffffff8d569668 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_unregister+0x2e/0x9d0 kernel/tracepoint.c:548 1 lock held by syz-executor.2/11025: #0: ffffffff8d569668 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_register_prio_may_exist+0xb7/0x190 kernel/tracepoint.c:478 1 lock held by syz-executor.2/11027: #0: ffffffff8d569668 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_register_prio_may_exist+0xb7/0x190 kernel/tracepoint.c:478 1 lock held by syz-executor.5/11023: #0: ffffffff8d569668 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_register_prio_may_exist+0xb7/0x190 kernel/tracepoint.c:478 1 lock held by syz-executor.5/11026: #0: ffffffff8d569668 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_register_prio_may_exist+0xb7/0x190 kernel/tracepoint.c:478 1 lock held by syz-executor.1/11019: #0: ffff888027479068 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline] #0: ffff888027479068 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_release+0x4d/0x310 fs/pipe.c:719 3 locks held by syz-executor.1/11022: #0: ffff888076e021c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_set_ldisc+0x4e/0x670 drivers/tty/tty_ldisc.c:529 #1: ffff888076e02098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline] #1: ffff888076e02098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x6a/0xb0 drivers/tty/tty_ldisc.c:314 #2: ffffffff8e6640c8 (rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0xf/0x50 net/core/dev.c:10171 2 locks held by syz-executor.1/11028: #0: ffff888027479068 (&pipe->mutex/1){+.+.}-{3:3}, at: splice_file_to_pipe+0x38/0x660 fs/splice.c:1010 #1: ffff888076e02098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e3/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x19b/0x3e0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11022 Comm: syz-executor.1 Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:usage_skip kernel/locking/lockdep.c:2281 [inline] RIP: 0010:__bfs kernel/locking/lockdep.c:1789 [inline] RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1849 [inline] RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2789 [inline] RIP: 0010:check_prev_add kernel/locking/lockdep.c:3101 [inline] RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3216 [inline] RIP: 0010:validate_chain+0x1d88/0x6470 kernel/locking/lockdep.c:3831 Code: 8d 9f ba 00 00 00 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 8a 04 08 84 c0 4c 8b 74 24 18 0f 85 82 02 00 00 80 3b 01 <0f> 85 9d 00 00 00 48 b8 00 00 00 00 00 fc ff df 41 8a 04 06 84 c0 RSP: 0018:ffffc9000660f0c0 EFLAGS: 00000097 RAX: 1ffffffff20cda00 RBX: ffffffff9066d5fa RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffc9000660f1c0 RBP: ffffc9000660f3d8 R08: dffffc0000000000 R09: fffffbfff212de32 R10: fffffbfff212de32 R11: 1ffffffff212de31 R12: ffffffff91b16ce8 R13: ffffffff91b16cf8 R14: 1ffffffff242ce10 R15: ffffffff9066d540 FS: 00007f6e07df2700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020ff7000 CR3: 000000004466b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1292/0x1f60 kernel/locking/lockdep.c:5055 lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5668 local_lock_acquire+0x29/0x170 include/linux/local_lock_internal.h:29 get_random_u8+0x196/0x770 drivers/char/random.c:529 get_random_u32_below include/linux/random.h:78 [inline] kfence_guarded_alloc+0x97/0xb90 mm/kfence/core.c:362 __kfence_alloc+0x33f/0x370 mm/kfence/core.c:1028 kfence_alloc include/linux/kfence.h:128 [inline] slab_alloc_node mm/slub.c:3438 [inline] __kmem_cache_alloc_node+0x32d/0x340 mm/slub.c:3491 kmalloc_trace+0x26/0x60 mm/slab_common.c:1062 kmalloc include/linux/slab.h:580 [inline] netdev_name_node_alloc net/core/dev.c:259 [inline] netdev_name_node_head_alloc net/core/dev.c:273 [inline] register_netdevice+0x755/0x1a30 net/core/dev.c:9969 register_netdev+0x37/0x50 net/core/dev.c:10173 mkiss_open+0x40e/0x870 drivers/net/hamradio/mkiss.c:727 tty_ldisc_open drivers/tty/tty_ldisc.c:433 [inline] tty_set_ldisc+0x36a/0x670 drivers/tty/tty_ldisc.c:558 tty_ioctl+0xa58/0xbc0 drivers/tty/tty_io.c:2711 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6e0708c0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6e07df2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6e071abf80 RCX: 00007f6e0708c0d9 RDX: 0000000020000140 RSI: 0000000000005423 RDI: 0000000000000003 RBP: 00007f6e070e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffccb6a60cf R14: 00007f6e07df2300 R15: 0000000000022000