rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2682 jiffies s: 167957 root: 0x1/. rcu: blocking rcu_node structures (internal RCU debug): Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 16118 Comm: syz-executor.2 Not tainted 6.10.0-rc4-next-20240621-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:io_serial_out+0x7e/0xc0 drivers/tty/serial/8250/8250_port.c:413 Code: fc 89 e9 41 d3 e7 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 7c 78 ba fc 44 03 3b 44 89 f0 44 89 fa ee <5b> 41 5c 41 5e 41 5f 5d c3 cc cc cc cc 89 e9 80 e1 07 38 c1 7c a7 RSP: 0018:ffffc90000007290 EFLAGS: 00000002 RAX: 0000000000000065 RBX: ffffffff94b08b80 RCX: 0000000000000000 RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: ffffffff853f694b R09: 1ffff11003fc0046 R10: dffffc0000000000 R11: ffffffff853f6900 R12: dffffc0000000000 R13: ffffffff9481cbd1 R14: 0000000000000065 R15: 00000000000003f8 FS: 00005555840f1480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc4913b4018 CR3: 0000000057d18000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial8250_console_write+0x14ed/0x1ed0 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2975 [inline] console_flush_all+0x880/0xf50 kernel/printk/printk.c:3047 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3118 vprintk_emit+0x7a1/0x900 kernel/printk/printk.c:2420 _printk+0xd5/0x120 kernel/printk/printk.c:2447 printk_stack_address arch/x86/kernel/dumpstack.c:72 [inline] show_trace_log_lvl+0x43a/0x520 arch/x86/kernel/dumpstack.c:285 sched_show_task+0x578/0x740 kernel/sched/core.c:7503 report_rtnl_holders+0x1ba/0x2d0 net/core/rtnetlink.c:104 call_timer_fn+0x18e/0x650 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2447 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:393 [inline] RIP: 0010:deref_stack_reg+0x46/0x260 arch/x86/kernel/unwind_orc.c:403 Code: 00 00 00 fc ff df e8 b9 56 52 00 48 8d 6b 08 49 89 ec 49 c1 ec 03 43 80 3c 3c 00 74 08 48 89 ef e8 bf bd b8 00 48 89 6c 24 10 <4c> 89 74 24 18 48 8b 43 08 48 89 44 24 20 48 8d 6b 10 49 89 ed 49 RSP: 0018:ffffc90000bf7348 EFLAGS: 00000246 RAX: ffffffff81412417 RBX: ffffc90000bf7480 RCX: ffff888023b0bc00 RDX: 0000000000000000 RSI: ffffc90000bf7f48 RDI: ffffc90000bf7480 RBP: ffffc90000bf7488 R08: 0000000000000005 R09: ffffffff8141100f R10: 0000000000000003 R11: ffff888023b0bc00 R12: 1ffff9200017ee91 R13: dffffc0000000000 R14: ffffc90000bf74c0 R15: dffffc0000000000 unwind_next_frame+0x1ab8/0x2a00 arch/x86/kernel/unwind_orc.c:648 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __set_page_owner+0x92/0x800 mm/page_owner.c:320 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1500 prep_new_page mm/page_alloc.c:1508 [inline] get_page_from_freelist+0x2ccb/0x2d80 mm/page_alloc.c:3487 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4745 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2263 vm_area_alloc_pages mm/vmalloc.c:3576 [inline] __vmalloc_area_node mm/vmalloc.c:3652 [inline] __vmalloc_node_range_noprof+0x971/0x1460 mm/vmalloc.c:3833 vmalloc_user_noprof+0x74/0x80 mm/vmalloc.c:3987 kcov_ioctl+0x59/0x640 kernel/kcov.c:706 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 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:0x7fc49127ce0b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007ffd94118860 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc49127ce0b RDX: 0000000000040000 RSI: ffffffff80086301 RDI: 00000000000000d8 RBP: 00007fc4913b4018 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd94118fa8 R13: 000000000000000c R14: 0000000000000003 R15: 0000000000000000 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd0dfa7ed9c RSP: 002b:00007ffd78c5e900 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fd0e06e4620 RCX: 00007fd0dfa7ed9c RDX: 000000000000005c RSI: 00007fd0e06e4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd78c5e954 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fd0e06e4670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 7140 jiffies. task:kworker/u8:8 state:D stack:19600 pid:2483 tgid:2483 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_dad_work Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4193 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 7158 jiffies. task:syz-executor.3 state:D stack:21024 pid:15955 tgid:15955 ppid:1 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2212 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:0x7fb72867ed9c RSP: 002b:00007fffbc235fe0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fb7292e4620 RCX: 00007fb72867ed9c RDX: 000000000000002c RSI: 00007fb7292e4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fffbc236034 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fb7292e4670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 7193 jiffies. task:syz-executor.4 state:D stack:20128 pid:15871 tgid:15871 ppid:1 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2212 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:0x7f0a5f27ed9c RSP: 002b:00007fff1333e9d0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f0a5fee4620 RCX: 00007f0a5f27ed9c RDX: 0000000000000028 RSI: 00007f0a5fee4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fff1333ea24 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f0a5fee4670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 7226 jiffies. task:kworker/0:3 state:D stack:20176 pid:5125 tgid:5125 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 linkwatch_event+0xe/0x60 net/core/link_watch.c:276 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: holding rtnl_mutex for 7245 jiffies. task:kworker/u8:11 state:D stack:18552 pid:2864 tgid:2864 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 synchronize_rcu_expedited+0x684/0x830 kernel/rcu/tree_exp.h:974 synchronize_rcu+0x11b/0x360 kernel/rcu/tree.c:3975 lockdep_unregister_key+0x4b7/0x540 kernel/locking/lockdep.c:6541 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1079 qdisc_put net/sched/sch_generic.c:1105 [inline] dev_shutdown+0x357/0x440 net/sched/sch_generic.c:1493 unregister_netdevice_many_notify+0x977/0x16b0 net/core/dev.c:11259 unregister_netdevice_many net/core/dev.c:11327 [inline] default_device_exit_batch+0xa0f/0xa90 net/core/dev.c:11810 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:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 7274 jiffies. task:syz-executor.2 state:D stack:19600 pid:15885 tgid:15885 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 nsim_init_netdevsim drivers/net/netdevsim/netdev.c:678 [inline] nsim_create+0x408/0x890 drivers/net/netdevsim/netdev.c:750 __nsim_dev_port_add+0x6c0/0xae0 drivers/net/netdevsim/dev.c:1390 nsim_dev_port_add_all+0x33/0xf0 drivers/net/netdevsim/dev.c:1446 nsim_drv_probe+0x85f/0xb80 drivers/net/netdevsim/dev.c:1604 really_probe+0x2b8/0xad0 drivers/base/dd.c:657 __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:799 driver_probe_device+0x50/0x430 drivers/base/dd.c:829 __device_attach_driver+0x2d6/0x530 drivers/base/dd.c:957 bus_for_each_drv+0x24e/0x2e0 drivers/base/bus.c:457 __device_attach+0x333/0x520 drivers/base/dd.c:1029 bus_probe_device+0x189/0x260 drivers/base/bus.c:532 device_add+0x856/0xbf0 drivers/base/core.c:3679 nsim_bus_dev_new drivers/net/netdevsim/bus.c:442 [inline] new_device_store+0x3f3/0x890 drivers/net/netdevsim/bus.c:173 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:0x7f2b0567bdef RSP: 002b:00007fff0c2fd0a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f2b0567bdef RDX: 0000000000000003 RSI: 00007fff0c2fd0f0 RDI: 0000000000000005 RBP: 00007f2b056da35e R08: 0000000000000000 R09: 00007fff0c2fcef7 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 00007fff0c2fd0f0 R14: 00007f2b062e4620 R15: 0000000000000003 DEBUG: waiting rtnl_mutex for 7307 jiffies. task:syz-executor.1 state:D stack:21024 pid:16110 tgid:16110 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:147 [inline] __rtnl_newlink net/core/rtnetlink.c:3805 [inline] rtnl_newlink+0xb5d/0x22b0 net/core/rtnetlink.c:3828 rtnetlink_rcv_msg+0x892/0x1170 net/core/rtnetlink.c:6726 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2212 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:0x7f2fae87ed9c RSP: 002b:00007fff0f8a3c30 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f2faf4e4620 RCX: 00007f2fae87ed9c RDX: 000000000000003c RSI: 00007f2faf4e4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fff0f8a3c84 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f2faf4e4670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 7293 jiffies. task:kworker/0:4 state:D stack:19248 pid:5164 tgid:5164 ppid:2 flags:0x00004000 Workqueue: infiniband ib_cache_event_task Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 ib_get_eth_speed+0x153/0x800 drivers/infiniband/core/verbs.c:1983 siw_query_port+0x4a/0x440 drivers/infiniband/sw/siw/siw_verbs.c:179 ib_cache_update+0x1a9/0xb80 drivers/infiniband/core/cache.c:1494 ib_cache_event_task+0xf3/0x1e0 drivers/infiniband/core/cache.c:1568 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 6460 jiffies. task:kworker/0:6 state:D stack:19480 pid:8333 tgid:8333 ppid:2 flags:0x00004000 Workqueue: events_power_efficient reg_check_chans_work Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3087 jiffies. task:syz-executor.4 state:D stack:24992 pid:16119 tgid:16119 ppid:16117 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2212 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:0x7f834467ed9c RSP: 002b:00007ffeb1e400a0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f83452e4620 RCX: 00007f834467ed9c RDX: 0000000000000028 RSI: 00007f83452e4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffeb1e400f4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f83452e4670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 2532 jiffies. task:syz-executor.3 state:D stack:24992 pid:16122 tgid:16122 ppid:16121 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2212 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:0x7f926f87ed9c RSP: 002b:00007ffcd9813010 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f92704e4620 RCX: 00007f926f87ed9c RDX: 0000000000000028 RSI: 00007f92704e4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffcd9813064 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f92704e4670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 1665 jiffies. task:syz-executor.0 state:D stack:24992 pid:16125 tgid:16125 ppid:16124 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2212 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:0x7f8b63a7ed9c RSP: 002b:00007fffb78d8ec0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f8b646e4620 RCX: 00007f8b63a7ed9c RDX: 0000000000000028 RSI: 00007f8b646e4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fffb78d8f14 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f8b646e4670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 1137 jiffies. task:syz-executor.1 state:D stack:24944 pid:16128 tgid:16128 ppid:16127 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2212 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:0x7f143a27ed9c RSP: 002b:00007ffeb4b54f30 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f143aee4620 RCX: 00007f143a27ed9c RDX: 0000000000000028 RSI: 00007f143aee4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffeb4b54f84 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f143aee4670 R15: 0000000000000000 Showing all locks held in the system: 3 locks held by kworker/u8:8/2483: #0: ffff88802a7e4148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88802a7e4148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900096a7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900096a7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4193 3 locks held by kworker/u8:10/2854: #0: ffff88801578c148 ((wq_completion)ib-unreg-wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88801578c148 ((wq_completion)ib-unreg-wq){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90009df7d00 ((work_completion)(&device->unregistration_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90009df7d00 ((work_completion)(&device->unregistration_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffff8880696306a0 (&device->unregistration_lock){+.+.}-{3:3}, at: __ib_unregister_device+0x2a/0x170 drivers/infiniband/core/device.c:1471 5 locks held by kworker/u8:11/2864: #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90009c37d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90009c37d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5eb450 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11796 #4: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:959 2 locks held by getty/4845: #0: ffff88802b2350a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:3/5125: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90004097d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90004097d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 3 locks held by kworker/0:4/5164: #0: ffff8880157cd548 ((wq_completion)infiniband){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff8880157cd548 ((wq_completion)infiniband){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900042e7d00 ((work_completion)(&work->work)#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900042e7d00 ((work_completion)(&work->work)#2){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: ib_get_eth_speed+0x153/0x800 drivers/infiniband/core/verbs.c:1983 3 locks held by kworker/0:6/8333: #0: ffff888015081948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015081948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900034dfd00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900034dfd00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 1 lock held by syz-executor.4/15871: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 7 locks held by syz-executor.2/15885: #0: ffff88802ab12420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2872 [inline] #0: ffff88802ab12420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586 #1: ffff888061da6888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff888022f27e18 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8ef04068 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x1b4/0x890 drivers/net/netdevsim/bus.c:166 #4: ffff88802852a0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff88802852a0e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004 #5: ffff88802852d250 (&devlink->lock_key#40){+.+.}-{3:3}, at: nsim_drv_probe+0xcb/0xb80 drivers/net/netdevsim/dev.c:1534 #6: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: nsim_init_netdevsim drivers/net/netdevsim/netdev.c:678 [inline] #6: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: nsim_create+0x408/0x890 drivers/net/netdevsim/netdev.c:750 1 lock held by syz-executor.3/15955: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.0/16084: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.1/16110: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:147 [inline] #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: __rtnl_newlink net/core/rtnetlink.c:3805 [inline] #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_newlink+0xb5d/0x22b0 net/core/rtnetlink.c:3828 3 locks held by syz-executor.2/16118: #0: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789 #1: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #1: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #1: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95 #2: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #2: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #2: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6688 1 lock held by syz-executor.4/16119: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.3/16122: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.0/16125: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.1/16128: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 =============================================