INFO: task syz-executor:16054 blocked for more than 146 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:24264 pid:16054 tgid:16054 ppid:16038 task_flags:0x400140 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5587 [inline] __schedule+0x18a6/0x5c10 kernel/sched/core.c:7389 __schedule_loop kernel/sched/core.c:7466 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7481 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7538 rwsem_down_write_slowpath+0x874/0x10d0 kernel/locking/rwsem.c:1215 __down_write_common kernel/locking/rwsem.c:1347 [inline] __down_write kernel/locking/rwsem.c:1356 [inline] down_write+0x1b7/0x200 kernel/locking/rwsem.c:1632 kernfs_add_one+0x41/0x510 fs/kernfs/dir.c:833 __kernfs_create_file+0x22b/0x2e0 fs/kernfs/file.c:1100 sysfs_add_file_mode_ns+0x237/0x300 fs/sysfs/file.c:316 create_files fs/sysfs/group.c:82 [inline] internal_create_group+0x679/0x1180 fs/sysfs/group.c:189 internal_create_groups fs/sysfs/group.c:229 [inline] sysfs_create_groups+0x59/0x120 fs/sysfs/group.c:255 setup_gid_attrs drivers/infiniband/core/sysfs.c:1123 [inline] ib_setup_port_attrs+0x1780/0x2460 drivers/infiniband/core/sysfs.c:1399 add_one_compat_dev+0x441/0x640 drivers/infiniband/core/device.c:1002 rdma_dev_init_net+0x23e/0x2f0 drivers/infiniband/core/device.c:1227 ops_init+0x35d/0x5d0 net/core/net_namespace.c:137 setup_net+0x112/0x350 net/core/net_namespace.c:448 copy_net_ns+0x540/0x780 net/core/net_namespace.c:589 create_new_namespaces+0x3f0/0x6b0 kernel/nsproxy.c:132 unshare_nsproxy_namespaces+0x144/0x190 kernel/nsproxy.c:234 ksys_unshare+0x532/0x890 kernel/fork.c:3306 __do_sys_unshare kernel/fork.c:3372 [inline] __se_sys_unshare kernel/fork.c:3370 [inline] __x64_sys_unshare+0x38/0x50 kernel/fork.c:3370 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1a3c7aae57 RSP: 002b:00007ffc25d16ad8 EFLAGS: 00000202 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f1a3ca35f40 RCX: 00007f1a3c7aae57 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007f1a3ca367f8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008 R13: 0000000000000003 R14: 00007ffc25d16d18 R15: 0000000000000000 Showing all locks held in the system: locks held by kthreadd/2: 1, on CPU#0: #0: ffffffff902b2190 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:249 [inline] #0: ffffffff902b2190 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x27/0x60 include/linux/srcu.h:356 locks held by kworker/u8:1/14: 4, on CPU#0: #0: ffff888037c93948 ((wq_completion)wg-kex-wg2#33){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff888037c93948 ((wq_completion)wg-kex-wg2#33){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff888037c93948 ((wq_completion)wg-kex-wg2#33){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3462 [inline] #0: ffff888037c93948 ((wq_completion)wg-kex-wg2#33){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3580 #1: ffffc90000137c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90000137c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90000137c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3462 [inline] #1: ffffc90000137c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3580 #2: ffff8880470e1440 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x12e/0x810 drivers/net/wireguard/noise.c:529 #3: ffff888036baa0e8 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x13f/0x810 drivers/net/wireguard/noise.c:530 locks held by kworker/1:1/30: 3, on CPU#1: #0: ffff88813fe12d48 ((wq_completion)events){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88813fe12d48 ((wq_completion)events){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88813fe12d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3462 [inline] #0: ffff88813fe12d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3580 #1: ffffc90000a57c40 ((work_completion)(&data->dm_alert_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90000a57c40 ((work_completion)(&data->dm_alert_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90000a57c40 ((work_completion)(&data->dm_alert_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3462 [inline] #1: ffffc90000a57c40 ((work_completion)(&data->dm_alert_work)){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3580 #2: ffffffff902b2190 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:249 [inline] #2: ffffffff902b2190 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x27/0x60 include/linux/srcu.h:356 locks held by khungtaskd/33: 1, on CPU#0: #0: ffffffff9015a320 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffffffff9015a320 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff9015a320 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6871 locks held by kworker/u8:5/115: 2, on CPU#0: #0: ffff88802cf98948 ((wq_completion)wg-kex-wg0#13){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88802cf98948 ((wq_completion)wg-kex-wg0#13){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88802cf98948 ((wq_completion)wg-kex-wg0#13){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3462 [inline] #0: ffff88802cf98948 ((wq_completion)wg-kex-wg0#13){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3580 #1: ffffc900026a7c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc900026a7c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc900026a7c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3462 [inline] #1: ffffc900026a7c40 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_scheduled_works+0x99a/0x1650 kernel/workqueue.c:3580 locks held by klogd/4992: 1, on CPU#0: #0: ffffffff902b2190 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:249 [inline] #0: ffffffff902b2190 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x27/0x60 include/linux/srcu.h:356