INFO: task udevd:2996 blocked for more than 143 seconds. Not tainted 6.1.0-rc7-syzkaller-00103-gef4d3ea40565 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:25032 pid:2996 ppid:1 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 rwsem_down_read_slowpath+0x5a7/0xb20 kernel/locking/rwsem.c:1095 __down_read_common kernel/locking/rwsem.c:1260 [inline] __down_read kernel/locking/rwsem.c:1269 [inline] down_read+0xe6/0x450 kernel/locking/rwsem.c:1511 kernfs_iop_permission+0xc5/0x140 fs/kernfs/inode.c:290 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1715 [inline] link_path_walk.part.0+0x83c/0xe20 fs/namei.c:2262 link_path_walk fs/namei.c:2244 [inline] path_lookupat+0xb7/0x840 fs/namei.c:2473 filename_lookup+0x1d2/0x590 fs/namei.c:2503 user_path_at_empty+0x46/0x60 fs/namei.c:2876 do_readlinkat+0xcd/0x2f0 fs/stat.c:468 __do_sys_readlink fs/stat.c:501 [inline] __se_sys_readlink fs/stat.c:498 [inline] __x64_sys_readlink+0x78/0xb0 fs/stat.c:498 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f76ba727277 RSP: 002b:00007ffeb826a6c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007ffeb826a6d8 RCX: 00007f76ba727277 RDX: 0000000000000400 RSI: 00007ffeb826a6d8 RDI: 00007ffeb826abb8 RBP: 0000000000000400 R08: 000000000001ffff R09: 00007f76ba7f5a60 R10: 0000000000000100 R11: 0000000000000246 R12: 00007ffeb826abb8 R13: 00007ffeb826ab28 R14: 00005606ef524910 R15: 0000000000000000 INFO: task kworker/u4:22:7934 blocked for more than 144 seconds. Not tainted 6.1.0-rc7-syzkaller-00103-gef4d3ea40565 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:22 state:D stack:23936 pid:7934 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 rwsem_down_write_slowpath+0x600/0x12e0 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write_common kernel/locking/rwsem.c:1302 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x1e8/0x220 kernel/locking/rwsem.c:1563 kernfs_remove_by_name_ns+0x89/0x120 fs/kernfs/dir.c:1631 kernfs_remove_by_name include/linux/kernfs.h:618 [inline] remove_files+0x96/0x1c0 fs/sysfs/group.c:28 sysfs_remove_group+0x8b/0x170 fs/sysfs/group.c:288 sysfs_remove_groups fs/sysfs/group.c:312 [inline] sysfs_remove_groups+0x60/0xa0 fs/sysfs/group.c:304 destroy_gid_attrs drivers/infiniband/core/sysfs.c:1189 [inline] ib_free_port_attrs+0x1e1/0x460 drivers/infiniband/core/sysfs.c:1409 remove_one_compat_dev drivers/infiniband/core/device.c:1002 [inline] rdma_dev_exit_net+0x2b6/0x550 drivers/infiniband/core/device.c:1140 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:169 cleanup_net+0x4ee/0xb00 net/core/net_namespace.c:601 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: task syz-executor.0:13393 blocked for more than 144 seconds. Not tainted 6.1.0-rc7-syzkaller-00103-gef4d3ea40565 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28256 pid:13393 ppid:3671 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 rwsem_down_write_slowpath+0x600/0x12e0 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write_common kernel/locking/rwsem.c:1302 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x1e8/0x220 kernel/locking/rwsem.c:1563 kernfs_add_one+0xa7/0x4f0 fs/kernfs/dir.c:748 kernfs_create_dir_ns+0x18f/0x230 fs/kernfs/dir.c:1031 sysfs_create_dir_ns+0x12b/0x290 fs/sysfs/dir.c:59 create_dir lib/kobject.c:63 [inline] kobject_add_internal+0x2c9/0x8f0 lib/kobject.c:223 kobject_add_varg lib/kobject.c:358 [inline] kobject_init_and_add+0x105/0x160 lib/kobject.c:441 nfs_netns_client_alloc fs/nfs/sysfs.c:163 [inline] nfs_netns_sysfs_setup+0xc8/0x160 fs/nfs/sysfs.c:175 nfs_net_init+0x15/0x20 fs/nfs/inode.c:2338 ops_init+0xb9/0x680 net/core/net_namespace.c:135 setup_net+0x5d1/0xc50 net/core/net_namespace.c:332 copy_net_ns+0x31c/0x760 net/core/net_namespace.c:478 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc5/0x1f0 kernel/nsproxy.c:226 ksys_unshare+0x449/0x920 kernel/fork.c:3188 __do_sys_unshare kernel/fork.c:3259 [inline] __se_sys_unshare kernel/fork.c:3257 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:3257 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f57fe68c0d9 RSP: 002b:00007f57ff405168 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f57fe7abf80 RCX: 00007f57fe68c0d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000064040000 RBP: 00007f57fe6e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe12977f4f R14: 00007f57ff405300 R15: 0000000000022000 INFO: task syz-executor.0:13396 blocked for more than 145 seconds. Not tainted 6.1.0-rc7-syzkaller-00103-gef4d3ea40565 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28936 pid:13396 ppid:3671 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 genl_lock net/netlink/genetlink.c:33 [inline] genl_rcv_msg+0x50d/0x780 net/netlink/genetlink.c:848 netlink_rcv_skb+0x157/0x430 net/netlink/af_netlink.c:2540 genl_rcv+0x28/0x40 net/netlink/genetlink.c:861 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x91b/0xe10 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xd3/0x120 net/socket.c:734 __sys_sendto+0x23a/0x340 net/socket.c:2117 __do_sys_sendto net/socket.c:2129 [inline] __se_sys_sendto net/socket.c:2125 [inline] __x64_sys_sendto+0xe1/0x1b0 net/socket.c:2125 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f57fe63e10c RSP: 002b:00007f57ff3e3000 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f57ff3e30f0 RCX: 00007f57fe63e10c RDX: 0000000000000020 RSI: 00007f57ff3e3140 RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007f57ff3e3054 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 00007f57ff3e30a8 R13: 00007f57ff3e3140 R14: 0000000000000004 R15: 0000000000000000 INFO: task syz-executor.0:13399 blocked for more than 145 seconds. Not tainted 6.1.0-rc7-syzkaller-00103-gef4d3ea40565 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27512 pid:13399 ppid:3671 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 addrconf_add_ifaddr+0x135/0x1c0 net/ipv6/addrconf.c:3064 inet6_ioctl+0xf7/0x290 net/ipv6/af_inet6.c:586 sock_do_ioctl+0xcc/0x230 net/socket.c:1169 sock_ioctl+0x1f8/0x680 net/socket.c:1286 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f57fe68c0d9 RSP: 002b:00007f57ff3c3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f57fe7ac120 RCX: 00007f57fe68c0d9 RDX: 00000000200005c0 RSI: 0000000000008916 RDI: 000000000000000a RBP: 00007f57fe6e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe12977f4f R14: 00007f57ff3c3300 R15: 0000000000022000 INFO: task syz-executor.1:13395 blocked for more than 145 seconds. Not tainted 6.1.0-rc7-syzkaller-00103-gef4d3ea40565 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28440 pid:13395 ppid:3676 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 ppp_create_interface drivers/net/ppp/ppp_generic.c:3329 [inline] ppp_unattached_ioctl drivers/net/ppp/ppp_generic.c:1043 [inline] ppp_ioctl+0x18a4/0x2dc0 drivers/net/ppp/ppp_generic.c:716 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9468e8c0d9 RSP: 002b:00007f94681ff168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9468fabf80 RCX: 00007f9468e8c0d9 RDX: 0000000020001400 RSI: 00000000c004743e RDI: 0000000000000003 RBP: 00007f9468ee7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdb21abaef R14: 00007f94681ff300 R15: 0000000000022000 INFO: task syz-executor.1:13398 blocked for more than 146 seconds. Not tainted 6.1.0-rc7-syzkaller-00103-gef4d3ea40565 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29520 pid:13398 ppid:3676 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6656 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa48/0x1360 kernel/locking/mutex.c:747 ppp_ioctl+0x91/0x2dc0 drivers/net/ppp/ppp_generic.c:712 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9468e8c0d9 RSP: 002b:00007f94681de168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9468fac050 RCX: 00007f9468e8c0d9 RDX: 000000002000400d RSI: 0000000040047452 RDI: 0000000000000003 RBP: 00007f9468ee7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdb21abaef R14: 00007f94681de300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c58f070 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c58ed70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 3 locks held by kworker/1:0/22: #0: ffff888027542d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888027542d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888027542d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888027542d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888027542d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888027542d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc900001c7da8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffffffff8deb4be8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4624 1 lock held by khungtaskd/27: #0: ffffffff8c58fbc0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 1 lock held by udevd/2996: #0: ffff888012067948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc5/0x140 fs/kernfs/inode.c:290 2 locks held by getty/3306: #0: ffff88814ad54098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.0/3671: #0: ffff888012067948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc5/0x140 fs/kernfs/inode.c:290 1 lock held by syz-executor.1/3676: #0: ffff888012067948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc5/0x140 fs/kernfs/inode.c:290 1 lock held by syz-executor.2/3679: #0: ffff888012067948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc5/0x140 fs/kernfs/inode.c:290 1 lock held by syz-executor.3/3683: #0: ffff888012067948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc5/0x140 fs/kernfs/inode.c:290 1 lock held by syz-executor.4/3686: #0: ffff888012067948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc5/0x140 fs/kernfs/inode.c:290 1 lock held by syz-executor.5/3687: #0: ffff888012067948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc5/0x140 fs/kernfs/inode.c:290 3 locks held by kworker/0:9/3731: #0: ffff888027542d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888027542d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888027542d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888027542d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888027542d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888027542d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc9000470fda8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffffffff8deb4be8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4624 4 locks held by kworker/u4:22/7934: #0: ffff8880121c6938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880121c6938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8880121c6938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8880121c6938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff8880121c6938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff8880121c6938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc900160bfda8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffffffff8dea0fd0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb00 net/core/net_namespace.c:563 #3: ffff888012067948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_remove_by_name_ns+0x89/0x120 fs/kernfs/dir.c:1631 3 locks held by syz-executor.3/13388: #0: ffffffff8df506b0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:860 #1: ffffffff8df50768 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8df50768 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x50d/0x780 net/netlink/genetlink.c:848 #2: ffffffff8deb4be8 (rtnl_mutex){+.+.}-{3:3}, at: team_nl_cmd_options_set+0x98/0xc80 drivers/net/team/team.c:2541 3 locks held by syz-executor.5/13384: 5 locks held by syz-executor.4/13386: #0: ffffffff8dea0fd0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f9/0x760 net/core/net_namespace.c:474 #1: ffffffff8dbbe0d0 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x23b/0x4b0 drivers/infiniband/core/device.c:1179 #2: ffffffff8dbbde50 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x2ae/0x4b0 drivers/infiniband/core/device.c:1184 #3: ffff888035638f18 (&device->compat_devs_mutex){+.+.}-{3:3}, at: add_one_compat_dev drivers/infiniband/core/device.c:943 [inline] #3: ffff888035638f18 (&device->compat_devs_mutex){+.+.}-{3:3}, at: add_one_compat_dev+0xea/0x830 drivers/infiniband/core/device.c:920 #4: ffff888012067948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_add_one+0xa7/0x4f0 fs/kernfs/dir.c:748 2 locks held by syz-executor.0/13393: #0: ffffffff8dea0fd0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f9/0x760 net/core/net_namespace.c:474 #1: ffff888012067948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_add_one+0xa7/0x4f0 fs/kernfs/dir.c:748 2 locks held by syz-executor.0/13396: #0: ffffffff8df506b0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:860 #1: ffffffff8df50768 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8df50768 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x50d/0x780 net/netlink/genetlink.c:848 1 lock held by syz-executor.0/13399: #0: ffffffff8deb4be8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_add_ifaddr+0x135/0x1c0 net/ipv6/addrconf.c:3064 2 locks held by syz-executor.0/13400: #0: ffffffff8dea0fd0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f9/0x760 net/core/net_namespace.c:474 #1: ffff888012067948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_add_one+0xa7/0x4f0 fs/kernfs/dir.c:748 2 locks held by syz-executor.1/13395: #0: ffffffff8d4645e8 (ppp_mutex){+.+.}-{3:3}, at: ppp_ioctl+0x91/0x2dc0 drivers/net/ppp/ppp_generic.c:712 #1: ffffffff8deb4be8 (rtnl_mutex){+.+.}-{3:3}, at: ppp_create_interface drivers/net/ppp/ppp_generic.c:3329 [inline] #1: ffffffff8deb4be8 (rtnl_mutex){+.+.}-{3:3}, at: ppp_unattached_ioctl drivers/net/ppp/ppp_generic.c:1043 [inline] #1: ffffffff8deb4be8 (rtnl_mutex){+.+.}-{3:3}, at: ppp_ioctl+0x18a4/0x2dc0 drivers/net/ppp/ppp_generic.c:716 1 lock held by syz-executor.1/13398: #0: ffffffff8d4645e8 (ppp_mutex){+.+.}-{3:3}, at: ppp_ioctl+0x91/0x2dc0 drivers/net/ppp/ppp_generic.c:712 1 lock held by syz-executor.2/13403: #0: ffffffff8deb4be8 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x23e/0x1060 net/core/dev_ioctl.c:587 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.1.0-rc7-syzkaller-00103-gef4d3ea40565 #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+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 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+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13386 Comm: syz-executor.4 Not tainted 6.1.0-rc7-syzkaller-00103-gef4d3ea40565 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:lock_is_held_type+0x0/0x140 kernel/locking/lockdep.c:5696 Code: 48 c7 c6 e0 43 4c 8a 48 c7 c7 e0 3f 4c 8a 89 44 24 04 e8 8f c1 b9 ff 0f 0b 8b 44 24 04 eb bd 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1e fa 41 57 41 56 41 55 41 bd ff ff ff ff 41 54 55 53 48 83 RSP: 0018:ffffc90005857210 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 1ffff92000b0ae48 RCX: ffffffff81630ed0 RDX: 0000000000000003 RSI: 00000000ffffffff RDI: ffffffff8c58fb00 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8e51a3d7 R10: fffffbfff1ca347a R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffff888012067908 R15: 0000000000000000 FS: 00007f20b1f3d700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0142fe608 CR3: 0000000027576000 CR4: 0000000000350ef0 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3e/0x70 kernel/rcu/update.c:125 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x500/0x630 kernel/locking/lockdep.c:5639 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170 rwsem_down_write_slowpath+0x657/0x12e0 kernel/locking/rwsem.c:1194 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write_common kernel/locking/rwsem.c:1302 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x1e8/0x220 kernel/locking/rwsem.c:1563 kernfs_add_one+0xa7/0x4f0 fs/kernfs/dir.c:748 __kernfs_create_file+0x2a0/0x350 fs/kernfs/file.c:1072 sysfs_add_file_mode_ns+0x213/0x3f0 fs/sysfs/file.c:294 sysfs_merge_group+0x19a/0x310 fs/sysfs/group.c:342 dpm_sysfs_add+0x245/0x290 drivers/base/power/sysfs.c:707 device_add+0xa86/0x1e90 drivers/base/core.c:3474 add_one_compat_dev drivers/infiniband/core/device.c:966 [inline] add_one_compat_dev+0x523/0x830 drivers/infiniband/core/device.c:920 rdma_dev_init_net+0x2b9/0x4b0 drivers/infiniband/core/device.c:1185 ops_init+0xb9/0x680 net/core/net_namespace.c:135 setup_net+0x5d1/0xc50 net/core/net_namespace.c:332 copy_net_ns+0x31c/0x760 net/core/net_namespace.c:478 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x395/0x450 kernel/nsproxy.c:178 copy_process+0x306e/0x7190 kernel/fork.c:2256 kernel_clone+0xeb/0x980 kernel/fork.c:2671 __do_sys_clone3+0x1cd/0x2e0 kernel/fork.c:2970 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f20b128c0d9 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:00007f20b1f3d038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f20b13ac120 RCX: 00007f20b128c0d9 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007f20b1f3d050 RBP: 00007f20b12e7ae9 R08: 0000000000000000 R09: 0000000000000058 R10: 00007f20b1f3d050 R11: 0000000000000246 R12: 0000000000000058 R13: 00007fff59f8b6df R14: 00007f20b1f3d300 R15: 0000000000022000