rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2686 jiffies s: 68905 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: 18399 Comm: syz-executor Not tainted 6.10.0-next-20240719-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:io_serial_in+0x76/0xb0 drivers/tty/serial/8250/8250_port.c:406 Code: b0 bd 52 fc 89 e9 41 d3 e6 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 01 2b ba fc 44 03 33 44 89 f2 ec <0f> b6 c0 5b 41 5e 41 5f 5d c3 cc cc cc cc 89 e9 80 e1 07 38 c1 7c RSP: 0018:ffffc90000007278 EFLAGS: 00000002 RAX: 1ffffffff2966d00 RBX: ffffffff94b36de0 RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: ffffffff85411b56 R09: 1ffff11003e96046 R10: dffffc0000000000 R11: ffffffff85411b10 R12: dffffc0000000000 R13: ffffffff94848f10 R14: 00000000000003fd R15: dffffc0000000000 FS: 000055556f5a8500(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcdb4662e8 CR3: 000000007bf88000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_in drivers/tty/serial/8250/8250.h:137 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:159 [inline] wait_for_lsr drivers/tty/serial/8250/8250_port.c:2068 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline] serial8250_console_write+0x1373/0x1ed0 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:3030 [inline] console_flush_all+0x880/0xf50 kernel/printk/printk.c:3102 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3173 vprintk_emit+0x7a1/0x900 kernel/printk/printk.c:2423 _printk+0xd5/0x120 kernel/printk/printk.c:2450 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+0x506/0x6d0 kernel/sched/core.c:7512 report_rtnl_holders+0x327/0x400 net/core/rtnetlink.c:110 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:unwind_next_frame+0x1b8/0x2a00 arch/x86/kernel/unwind_orc.c:494 Code: 30 42 80 3c 30 00 74 08 48 89 df e8 92 3d ba 00 48 03 2b 48 8d 75 ff 31 ff e8 f4 d4 52 00 48 ff cd 4c 89 24 24 4c 89 7c 24 70 <4c> 89 6c 24 48 0f 84 41 01 00 00 48 c7 c3 00 00 00 81 48 89 ef 48 RSP: 0018:ffffc9000ccd73a8 EFLAGS: 00000283 RAX: 0000000000000000 RBX: ffffc9000ccd74c8 RCX: ffff888074ca1e00 RDX: ffffc9000ccd74b5 RSI: ffffffff8204cb61 RDI: 0000000000000000 RBP: ffffffff8204cb61 R08: ffffffff814108fc R09: ffffc9000ccd7570 R10: 0000000000000003 R11: ffffffff817f7f10 R12: ffffc9000ccd7480 R13: ffffc9000ccd74d0 R14: dffffc0000000000 R15: ffffffff8204cb62 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:1492 prep_new_page mm/page_alloc.c:1500 [inline] get_page_from_freelist+0x2ccb/0x2d80 mm/page_alloc.c:3473 __alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4731 alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2263 vm_area_alloc_pages mm/vmalloc.c:3584 [inline] __vmalloc_area_node mm/vmalloc.c:3660 [inline] __vmalloc_node_range_noprof+0x971/0x1460 mm/vmalloc.c:3841 vmalloc_user_noprof+0x74/0x80 mm/vmalloc.c:3995 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:0x7f2aff575b1b 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:00007ffe9d2a4c40 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f2aff575b1b RDX: 0000000000040000 RSI: ffffffff80086301 RDI: 00000000000000e0 RBP: 00007f2aff7066b8 R08: 00000000000000da R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000c R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000009 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/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_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 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:0x7fa7d9575f19 RSP: 002b:00007fa7d8fff048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa7d9706110 RCX: 00007fa7d9575f19 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000006 RBP: 00007fa7d95e4e68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fa7d9706110 R15: 00007ffe8cf0a6b8 DEBUG: waiting rtnl_mutex for 2877 jiffies. task:kworker/0:0 state:D stack:23760 pid:17998 tgid:17998 ppid:2 flags:0x00004000 Workqueue: events_power_efficient reg_check_chans_work Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __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:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 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 2814 jiffies. task:syz-executor state:D stack:24992 pid:18400 tgid:18400 ppid:18397 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/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:0x7fc88f777cac RSP: 002b:00007ffcdb466180 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fc890434620 RCX: 00007fc88f777cac RDX: 0000000000000028 RSI: 00007fc890434670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffcdb4661d4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fc890434670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 2838 jiffies. task:syz-executor state:D stack:24160 pid:18403 tgid:18403 ppid:18398 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/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:0x7f2893f77cac RSP: 002b:00007ffc4bad3890 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f2894c34620 RCX: 00007f2893f77cac RDX: 0000000000000028 RSI: 00007f2894c34670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffc4bad38e4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f2894c34670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 6632 jiffies. task:kworker/u8:4 state:D stack:19800 pid:61 tgid:61 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_dad_work Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __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:4194 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 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 6651 jiffies. task:dhcpcd state:D stack:19920 pid:4774 tgid:4774 ppid:4773 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnl_dumpit+0x9e/0x210 net/core/rtnetlink.c:6593 netlink_dump+0x647/0xd80 net/netlink/af_netlink.c:2325 netlink_recvmsg+0x6bb/0x11d0 net/netlink/af_netlink.c:1983 sock_recvmsg_nosec net/socket.c:1046 [inline] sock_recvmsg+0x22f/0x280 net/socket.c:1068 ____sys_recvmsg+0x1db/0x470 net/socket.c:2816 ___sys_recvmsg net/socket.c:2858 [inline] __sys_recvmsg+0x2f0/0x3e0 net/socket.c:2888 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:0x7f3f931da91e RSP: 002b:00007ffc9f408628 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00007ffc9f409750 RCX: 00007f3f931da91e RDX: 0000000000000000 RSI: 00007ffc9f409670 RDI: 0000000000000018 RBP: 00007ffc9f4096e0 R08: 0000000000000000 R09: 0000000000020000 R10: 00000000000000d3 R11: 0000000000000246 R12: 0000000000000c24 R13: 00007ffc9f409654 R14: 00007ffc9f409670 R15: 00007ffc9f409660 DEBUG: waiting rtnl_mutex for 6676 jiffies. task:syz-executor state:D stack:20080 pid:18068 tgid:18068 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/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:0x7f0f69577cac RSP: 002b:00007ffd7e157210 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f0f6a234620 RCX: 00007f0f69577cac RDX: 0000000000000028 RSI: 00007f0f6a234670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd7e157264 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f0f6a234670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 6676 jiffies. task:syz-executor state:D stack:20656 pid:18260 tgid:18260 ppid:18249 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/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:0x7fa654d77cac RSP: 002b:00007ffff3d321e0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fa655a34620 RCX: 00007fa654d77cac RDX: 0000000000000028 RSI: 00007fa655a34670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffff3d32234 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fa655a34670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 6702 jiffies. task:syz-executor state:D stack:24992 pid:18365 tgid:18365 ppid:18358 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/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:0x7effc5b77cac RSP: 002b:00007ffd66208bc0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007effc6834620 RCX: 00007effc5b77cac RDX: 0000000000000040 RSI: 00007effc6834670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd66208c14 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007effc6834670 R15: 0000000000000000 DEBUG: holding rtnl_mutex for 6731 jiffies. task:kworker/u8:0 state:D stack:22616 pid:17757 tgid:17757 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 synchronize_rcu_expedited+0x684/0x830 kernel/rcu/tree_exp.h:982 synchronize_rcu+0x11b/0x360 kernel/rcu/tree.c:4020 lockdep_unregister_key+0x4b7/0x540 kernel/locking/lockdep.c:6548 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1079 netdev_for_each_tx_queue include/linux/netdevice.h:2513 [inline] dev_shutdown+0x9b/0x450 net/sched/sch_generic.c:1490 unregister_netdevice_many_notify+0x97b/0x1c40 net/core/dev.c:11333 unregister_netdevice_many net/core/dev.c:11405 [inline] default_device_exit_batch+0xa0f/0xa90 net/core/dev.c:11888 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:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 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 Showing all locks held in the system: 3 locks held by kworker/0:1/9: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900000e7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900000e7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 3 locks held by kworker/u8:4/61: #0: ffff88802a4a0148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff88802a4a0148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900015cfd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900015cfd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4194 2 locks held by dhcpcd/4774: #0: ffff888060b89678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: netlink_dump+0xcb/0xd80 net/netlink/af_netlink.c:2271 #1: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #1: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_dumpit+0x9e/0x210 net/core/rtnetlink.c:6593 2 locks held by getty/4860: #0: ffff88802a9660a0 (&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/u8:5/12156: 5 locks held by kworker/u8:0/17757: #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000ba6fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc9000ba6fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5fddd0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11874 #4: ffffffff8e33ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: ffffffff8e33ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:967 3 locks held by kworker/0:0/17998: #0: ffff888015081948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015081948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000a7f7d00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc9000a7f7d00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 1 lock held by syz-executor/18068: #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 1 lock held by syz-executor/18260: #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 1 lock held by syz-executor/18365: #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 4 locks held by syz.0.2805/18396: #0: ffffffff8f670390 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffff88806d4b4678 (nlk_cb_mutex-GENERIC){+.+.}-{3:3}, at: __netlink_dump_start+0x119/0x790 net/netlink/af_netlink.c:2404 #2: ffffffff8f670248 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:35 [inline] #2: ffffffff8f670248 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:60 [inline] #2: ffffffff8f670248 (genl_mutex){+.+.}-{3:3}, at: genl_dumpit+0xd6/0x1a0 net/netlink/genetlink.c:1026 #3: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: nl802154_dump_wpan_phy+0x9f/0x9b0 net/ieee802154/nl802154.c:604 2 locks held by syz-executor/18399: #0: ffffc90000007c00 (net/core/rtnetlink.c:83){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789 #1: ffffffff8e337a60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #1: ffffffff8e337a60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #1: ffffffff8e337a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6695 1 lock held by syz-executor/18400: #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 1 lock held by syz-executor/18403: #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 3 locks held by kworker/u9:2/18406: #0: ffff8881472db148 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff8881472db148 ((wq_completion)hci0){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000b7bfd00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc9000b7bfd00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff88805ff6cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327 1 lock held by udevd/18409: ============================================= DEBUG: waiting rtnl_mutex for 6865 jiffies. task:kworker/0:1 state:D stack:19496 pid:9 tgid:9 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __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:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 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 6140 jiffies. task:syz.0.2805 state:D stack:24624 pid:18396 tgid:18392 ppid:17662 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 nl802154_dump_wpan_phy+0x9f/0x9b0 net/ieee802154/nl802154.c:604 genl_dumpit+0x107/0x1a0 net/netlink/genetlink.c:1027 netlink_dump+0x647/0xd80 net/netlink/af_netlink.c:2325 __netlink_dump_start+0x5a2/0x790 net/netlink/af_netlink.c:2440 genl_family_rcv_msg_dumpit net/netlink/genetlink.c:1076 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1192 [inline] genl_rcv_msg+0x88c/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/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_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 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:0x7fa7d9575f19 RSP: 002b:00007fa7d8fff048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa7d9706110 RCX: 00007fa7d9575f19 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000006 RBP: 00007fa7d95e4e68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fa7d9706110 R15: 00007ffe8cf0a6b8 DEBUG: waiting rtnl_mutex for 3316 jiffies. task:kworker/0:0 state:D stack:23760 pid:17998 tgid:17998 ppid:2 flags:0x00004000 Workqueue: events_power_efficient reg_check_chans_work Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __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:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 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 3253 jiffies. task:syz-executor state:D stack:24992 pid:18400 tgid:18400 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/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:0x7fc88f777cac RSP: 002b:00007ffcdb466180 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fc890434620 RCX: 00007fc88f777cac RDX: 0000000000000028 RSI: 00007fc890434670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffcdb4661d4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fc890434670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 3277 jiffies. task:syz-executor state:D stack:24160 pid:18403 tgid:18403 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/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:0x7f2893f77cac RSP: 002b:00007ffc4bad3890 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f2894c34620 RCX: 00007f2893f77cac RDX: 0000000000000028 RSI: 00007f2894c34670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffc4bad38e4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f2894c34670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 7070 jiffies. task:kworker/u8:4 state:D stack:19800 pid:61 tgid:61 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_dad_work Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __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:4194 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 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 7090 jiffies. task:dhcpcd state:D stack:19920 pid:4774 tgid:4774 ppid:4773 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnl_dumpit+0x9e/0x210 net/core/rtnetlink.c:6593 netlink_dump+0x647/0xd80 net/netlink/af_netlink.c:2325 netlink_recvmsg+0x6bb/0x11d0 net/netlink/af_netlink.c:1983 sock_recvmsg_nosec net/socket.c:1046 [inline] sock_recvmsg+0x22f/0x280 net/socket.c:1068 ____sys_recvmsg+0x1db/0x470 net/socket.c:2816 ___sys_recvmsg net/socket.c:2858 [inline] __sys_recvmsg+0x2f0/0x3e0 net/socket.c:2888 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:0x7f3f931da91e RSP: 002b:00007ffc9f408628 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00007ffc9f409750 RCX: 00007f3f931da91e RDX: 0000000000000000 RSI: 00007ffc9f409670 RDI: 0000000000000018 RBP: 00007ffc9f4096e0 R08: 0000000000000000 R09: 0000000000020000 R10: 00000000000000d3 R11: 0000000000000246 R12: 0000000000000c24 R13: 00007ffc9f409654 R14: 00007ffc9f409670 R15: 00007ffc9f409660 DEBUG: waiting rtnl_mutex for 7115 jiffies. task:syz-executor state:D stack:20080 pid:18068 tgid:18068 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/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:0x7f0f69577cac RSP: 002b:00007ffd7e157210 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f0f6a234620 RCX: 00007f0f69577cac RDX: 0000000000000028 RSI: 00007f0f6a234670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd7e157264 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f0f6a234670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 7116 jiffies. task:syz-executor state:D stack:20656 pid:18260 tgid:18260 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/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:0x7fa654d77cac RSP: 002b:00007ffff3d321e0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fa655a34620 RCX: 00007fa654d77cac RDX: 0000000000000028 RSI: 00007fa655a34670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffff3d32234 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fa655a34670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 7141 jiffies. task:syz-executor state:D stack:24992 pid:18365 tgid:18365 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/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:0x7effc5b77cac RSP: 002b:00007ffd66208bc0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007effc6834620 RCX: 00007effc5b77cac RDX: 0000000000000040 RSI: 00007effc6834670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd66208c14 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007effc6834670 R15: 0000000000000000 DEBUG: holding rtnl_mutex for 7170 jiffies. task:kworker/u8:0 state:D stack:22616 pid:17757 tgid:17757 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:967 synchronize_rcu+0x11b/0x360 kernel/rcu/tree.c:4020 lockdep_unregister_key+0x4b7/0x540 kernel/locking/lockdep.c:6548 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1079 netdev_for_each_tx_queue include/linux/netdevice.h:2513 [inline] dev_shutdown+0x9b/0x450 net/sched/sch_generic.c:1490 unregister_netdevice_many_notify+0x97b/0x1c40 net/core/dev.c:11333 unregister_netdevice_many net/core/dev.c:11405 [inline] default_device_exit_batch+0xa0f/0xa90 net/core/dev.c:11888 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:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 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 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8e33ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e33ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:967 3 locks held by kworker/0:1/9: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900000e7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900000e7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 5 locks held by kworker/u8:2/35: 3 locks held by kworker/u8:4/61: #0: ffff88802a4a0148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff88802a4a0148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900015cfd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900015cfd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4194 2 locks held by dhcpcd/4774: #0: ffff888060b89678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: netlink_dump+0xcb/0xd80 net/netlink/af_netlink.c:2271 #1: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #1: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_dumpit+0x9e/0x210 net/core/rtnetlink.c:6593 2 locks held by getty/4860: #0: ffff88802a9660a0 (&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:6/5159: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900040d7d00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900040d7d00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 5 locks held by kworker/u8:0/17757: #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000ba6fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc9000ba6fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5fddd0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11874 #4: ffffffff8e33ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #4: ffffffff8e33ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:967 3 locks held by kworker/0:0/17998: #0: ffff888015081948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015081948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000a7f7d00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc9000a7f7d00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 1 lock held by syz-executor/18068: #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 1 lock held by syz-executor/18260: #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 1 lock held by syz-executor/18365: #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 1 lock held by syz.3.2804/18385: #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3507 4 locks held by syz.0.2805/18396: #0: ffffffff8f670390 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffff88806d4b4678 (nlk_cb_mutex-GENERIC){+.+.}-{3:3}, at: __netlink_dump_start+0x119/0x790 net/netlink/af_netlink.c:2404 #2: ffffffff8f670248 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:35 [inline] #2: ffffffff8f670248 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:60 [inline] #2: ffffffff8f670248 (genl_mutex){+.+.}-{3:3}, at: genl_dumpit+0xd6/0x1a0 net/netlink/genetlink.c:1026 #3: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: nl802154_dump_wpan_phy+0x9f/0x9b0 net/ieee802154/nl802154.c:604 1 lock held by syz-executor/18400: #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 1 lock held by syz-executor/18403: #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 5 locks held by kworker/u9:2/18406: #0: ffff8881472db148 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff8881472db148 ((wq_completion)hci0){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000b7bfd00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc9000b7bfd00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff88805ff6cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327 #3: ffff88805ff6c078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5512 #4: ffffffff8f776468 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:1962 [inline] #4: ffffffff8f776468 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_failed+0x185/0x340 net/bluetooth/hci_conn.c:1265 3 locks held by syz-executor/18411: #0: ffff8880b94449d8 (&pcp->lock){+.+.}-{2:2}, at: spin_trylock include/linux/spinlock.h:361 [inline] #0: ffff8880b94449d8 (&pcp->lock){+.+.}-{2:2}, at: rmqueue_pcplist mm/page_alloc.c:3017 [inline] #0: ffff8880b94449d8 (&pcp->lock){+.+.}-{2:2}, at: rmqueue mm/page_alloc.c:3067 [inline] #0: ffff8880b94449d8 (&pcp->lock){+.+.}-{2:2}, at: get_page_from_freelist+0x71e/0x2d80 mm/page_alloc.c:3470 #1: ffffc90000007c00 (net/core/rtnetlink.c:83){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789 #2: ffffffff8e337a60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #2: ffffffff8e337a60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #2: ffffffff8e337a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6695 =============================================