INFO: task kworker/u8:2:35 blocked for more than 143 seconds. Not tainted 6.9.0-next-20240523-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:2 state:D stack:20472 pid:35 tgid:35 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2557 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+0x7d6/0x1710 kernel/workqueue.c:3988 peer_remove_after_dead+0x9d/0x1a0 drivers/net/wireguard/peer.c:116 wg_peer_remove_all+0x453/0x4f0 drivers/net/wireguard/peer.c:183 wg_destruct+0x173/0x2e0 drivers/net/wireguard/device.c:254 netdev_run_todo+0xe1a/0x1000 net/core/dev.c:10692 default_device_exit_batch+0xa14/0xa90 net/core/dev.c:11760 ops_exit_list net/core/net_namespace.c:178 [inline] cleanup_net+0x89d/0xcc0 net/core/net_namespace.c:640 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task jbd2/sda1-8:4507 blocked for more than 143 seconds. Not tainted 6.9.0-next-20240523-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jbd2/sda1-8 state:D stack:24144 pid:4507 tgid:4507 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 io_schedule+0x8d/0x110 kernel/sched/core.c:9043 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:209 __wait_on_bit+0xb0/0x2f0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d5/0x260 kernel/sched/wait_bit.c:64 wait_on_buffer include/linux/buffer_head.h:415 [inline] journal_wait_on_commit_record fs/jbd2/commit.c:171 [inline] jbd2_journal_commit_transaction+0x3d7f/0x6760 fs/jbd2/commit.c:887 kjournald2+0x463/0x850 fs/jbd2/journal.c:201 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task syz-executor.0:7642 blocked for more than 144 seconds. Not tainted 6.9.0-next-20240523-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:20288 pid:7642 tgid:7642 ppid:7630 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 cgroup_lock include/linux/cgroup.h:368 [inline] cgroup_kn_lock_live+0xe6/0x290 kernel/cgroup/cgroup.c:1662 __cgroup_procs_write+0xf4/0x4f0 kernel/cgroup/cgroup.c:5148 cgroup_procs_write+0x29/0x50 kernel/cgroup/cgroup.c:5188 cgroup_file_write+0x2ce/0x6d0 kernel/cgroup/cgroup.c:4092 kernfs_fop_write_iter+0x3a1/0x500 fs/kernfs/file.c:334 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff04ac7bc2f RSP: 002b:00007fff778b63b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007ff04ac7bc2f RDX: 0000000000000001 RSI: 00007fff778b6400 RDI: 0000000000000003 RBP: 00007fff778b69a0 R08: 0000000000000000 R09: 00007fff778b6207 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007fff778b6400 R14: 00007fff778b6960 R15: 00007fff778b69a0 INFO: task syz-executor.2:7680 blocked for more than 144 seconds. Not tainted 6.9.0-next-20240523-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:20288 pid:7680 tgid:7680 ppid:7677 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 cgroup_lock include/linux/cgroup.h:368 [inline] cgroup_kn_lock_live+0xe6/0x290 kernel/cgroup/cgroup.c:1662 __cgroup_procs_write+0xf4/0x4f0 kernel/cgroup/cgroup.c:5148 cgroup_procs_write+0x29/0x50 kernel/cgroup/cgroup.c:5188 cgroup_file_write+0x2ce/0x6d0 kernel/cgroup/cgroup.c:4092 kernfs_fop_write_iter+0x3a1/0x500 fs/kernfs/file.c:334 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f93bae7bc2f RSP: 002b:00007fffced81070 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f93bae7bc2f RDX: 0000000000000001 RSI: 00007fffced810c0 RDI: 0000000000000003 RBP: 00007fffced81660 R08: 0000000000000000 R09: 00007fffced80ec7 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007fffced810c0 R14: 00007fffced81620 R15: 00007fffced81660 INFO: task syz-executor.4:7809 blocked for more than 145 seconds. Not tainted 6.9.0-next-20240523-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:23984 pid:7809 tgid:7808 ppid:7136 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2557 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_work+0xaa9/0xd00 kernel/workqueue.c:4227 __lru_add_drain_all+0x4f6/0x560 mm/swap.c:902 invalidate_bdev+0x76/0xa0 block/bdev.c:100 reconfigure_super+0x5dd/0x880 fs/super.c:1095 do_remount fs/namespace.c:2892 [inline] path_mount+0xc22/0xfa0 fs/namespace.c:3671 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f314267e5ea RSP: 002b:00007f3143327ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3143327f80 RCX: 00007f314267e5ea RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 0000000020000180 R08: 00007f3143327f80 R09: 0000000000000061 R10: 0000000000000061 R11: 0000000000000202 R12: 0000000020000100 R13: 00007f3143327f40 R14: 0000000000000000 R15: 00000000200001c0 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e333ee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e333ee0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e333ee0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 4 locks held by kworker/u8:2/35: #0: ffff888015ed5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff888015ed5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc90000ab7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] #1: ffffc90000ab7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffffffff8f5daf50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffff888050759408 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x110/0x2e0 drivers/net/wireguard/device.c:249 1 lock held by kworker/u9:1/4488: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by dhcpcd/4758: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: copy_process+0x21f1/0x3dc0 kernel/fork.c:2486 2 locks held by getty/4845: #0: ffff88802edb80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-fuzzer/5079: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-fuzzer/5080: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-fuzzer/5081: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-fuzzer/5082: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-fuzzer/5083: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-fuzzer/5084: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-fuzzer/5085: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-fuzzer/5093: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-fuzzer/5094: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-fuzzer/5097: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-fuzzer/5098: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-fuzzer/5099: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-fuzzer/5387: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by kworker/u9:6/5122: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by kworker/u9:7/5123: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by kworker/0:7/5163: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by kworker/u8:8/5243: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by kworker/u8:9/5244: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by kworker/u8:10/5245: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-executor.4/7111: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-executor.1/7235: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 1 lock held by syz-executor.0/7630: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 3 locks held by syz-executor.0/7642: #0: ffff8880235a2420 (sb_writers#10){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] #0: ffff8880235a2420 (sb_writers#10){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586 #1: ffff888067221c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffffffff8e361ee8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:368 [inline] #2: ffffffff8e361ee8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_kn_lock_live+0xe6/0x290 kernel/cgroup/cgroup.c:1662 1 lock held by syz-executor.3/7643: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 6 locks held by syz-executor.3/7649: 1 lock held by syz-executor.2/7677: #0: ffffffff8e3620d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x6b4/0x27e0 kernel/exit.c:833 3 locks held by syz-executor.2/7680: #0: ffff8880235a2420 (sb_writers#10){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] #0: ffff8880235a2420 (sb_writers#10){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586 #1: ffff888066c66c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffffffff8e361ee8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:368 [inline] #2: ffffffff8e361ee8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_kn_lock_live+0xe6/0x290 kernel/cgroup/cgroup.c:1662 1 lock held by syz-executor.1/7778: 2 locks held by syz-executor.4/7809: #0: ffff88806368e0e0 (&type->s_umount_key#67){+.+.}-{3:3}, at: do_remount fs/namespace.c:2889 [inline] #0: ffff88806368e0e0 (&type->s_umount_key#67){+.+.}-{3:3}, at: path_mount+0xbdb/0xfa0 fs/namespace.c:3671 #1: ffffffff8e3eca48 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:857 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.9.0-next-20240523-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7778 Comm: syz-executor.1 Not tainted 6.9.0-next-20240523-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:common_interrupt_return+0xf/0xcc arch/x86/entry/entry_64.S:561 Code: 01 ca fc 6a ff e8 61 03 00 00 48 89 c4 48 89 e7 e8 a6 90 ea ff e9 91 04 00 00 90 66 90 b9 48 00 00 00 65 48 8b 15 71 64 62 74 <83> e2 fe 89 d0 48 c1 ea 20 0f 30 eb 35 cc cc cc 41 5f 41 5e 41 5d RSP: 0018:ffffc9001444ff58 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000048 RDX: 0000000000000001 RSI: ffffffff8bcabaa0 RDI: ffffffff8c1fe6c0 RBP: 0000000000000000 R08: ffffffff8fad53af R09: 1ffffffff1f5aa75 R10: dffffc0000000000 R11: fffffbfff1f5aa76 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f9d06a806c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9d06a7ff00 CR3: 0000000052ff0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: