INFO: task kworker/u4:5:5413 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:5 state:D stack:24824 pid:5413 tgid:5413 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 rds_tcp_listen_stop+0x145/0x170 net/rds/tcp_listen.c:347 rds_tcp_kill_sock net/rds/tcp.c:614 [inline] rds_tcp_exit_net+0x139/0x660 net/rds/tcp.c:637 ops_exit_list net/core/net_namespace.c:170 [inline] cleanup_net+0x6da/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 2 locks held by kworker/u4:3/50: 2 locks held by getty/4824: #0: ffff88802a10f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f0e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.0/5099: 1 lock held by syz-executor.1/5108: 3 locks held by kworker/u4:5/5413: #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: ffffc900141c7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #1: ffffc900141c7d20 (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 2 locks held by syz-executor.2/23367: 5 locks held by syz-executor.4/23368: 5 locks held by syz-executor.3/23371: ============================================= 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: 23371 Comm: syz-executor.3 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:orc_ip arch/x86/kernel/unwind_orc.c:80 [inline] RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:102 [inline] RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:227 [inline] RIP: 0010:unwind_next_frame+0x502/0x2a00 arch/x86/kernel/unwind_orc.c:494 Code: e8 3f 48 01 c8 48 83 e0 fe 49 8d 5c 45 00 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 34 48 63 2b <48> 01 dd 48 89 ef 4c 89 f6 e8 60 5e 53 00 48 8d 43 04 4c 39 f5 4c RSP: 0018:ffffc9000d937288 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff8ffceb6c RCX: dffffc0000000000 RDX: ffff88807e170000 RSI: 00000000001aa25c RDI: 00000000001aa25d RBP: fffffffffb64f992 R08: ffffffff8140724e R09: ffffc9000d937450 R10: 0000000000000003 R11: ffffffff8180a3c0 R12: ffffffff8ffceb6c R13: ffffffff8ffceb6c R14: ffffffff8b61e75b R15: ffffffff8ffceb6c FS: 0000555555dd8480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f60676d96da CR3: 000000008e168000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000094 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3814 [inline] slab_alloc_node mm/slub.c:3861 [inline] kmem_cache_alloc+0x172/0x350 mm/slub.c:3868 mt_alloc_one lib/maple_tree.c:162 [inline] mas_alloc_nodes+0x26c/0x840 lib/maple_tree.c:1242 mas_node_count_gfp lib/maple_tree.c:1322 [inline] mas_preallocate+0xfca/0x1730 lib/maple_tree.c:5506 vma_iter_prealloc mm/internal.h:1163 [inline] __split_vma+0x2e8/0xd00 mm/mmap.c:2342 split_vma mm/mmap.c:2401 [inline] vma_modify+0x24e/0x410 mm/mmap.c:2436 vma_modify_flags include/linux/mm.h:3283 [inline] mprotect_fixup+0x4a6/0xb80 mm/mprotect.c:635 do_mprotect_pkey+0x903/0xe20 mm/mprotect.c:809 __do_sys_mprotect mm/mprotect.c:830 [inline] __se_sys_mprotect mm/mprotect.c:827 [inline] __x64_sys_mprotect+0x80/0x90 mm/mprotect.c:827 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f606767de67 Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff7cac9788 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 00007f60683686c0 RCX: 00007f606767de67 RDX: 0000000000000003 RSI: 0000000000020000 RDI: 00007f6068349000 RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000021000 R11: 0000000000000206 R12: 00007fff7cac9a30 R13: ffffffffffffffc0 R14: 0000000000001000 R15: 0000000000000000