rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2667 jiffies s: 123265 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: 11348 Comm: syz-executor.3 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_in+0x76/0xb0 drivers/tty/serial/8250/8250_port.c:406
Code: 40 12 54 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 41 79 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:ffffc90000007298 EFLAGS: 00000002
RAX: 1ffffffff2961100 RBX: ffffffff94b08b80 RCX: 0000000000000000
RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020
RBP: 0000000000000000 R08: ffffffff853f6886 R09: 1ffff11003f6e046
R10: dffffc0000000000 R11: ffffffff853f6840 R12: dffffc0000000000
R13: ffffffff9481cc00 R14: 00000000000003fd R15: dffffc0000000000
FS: 00007f25d10276c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2223136bd0 CR3: 000000004d864000 CR4: 00000000003506f0
DR0: 0000000000002800 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 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: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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 ae 95 61 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 63 43 ca f5 65 8b 05 a4 89 6b 74 85 c0 74 43 48 c7 04 24 0e 36
RSP: 0018:ffffc90003fe7a60 EFLAGS: 00000206
RAX: d02fdb8dbe6b0300 RBX: 1ffff920007fcf50 RCX: ffffffff816fd09a
RDX: dffffc0000000000 RSI: ffffffff8bcac8a0 RDI: 0000000000000001
RBP: ffffc90003fe7af0 R08: ffffffff92fe484f R09: 1ffffffff25fc909
R10: dffffc0000000000 R11: fffffbfff25fc90a R12: dffffc0000000000
R13: 1ffff920007fcf4c R14: ffffc90003fe7a80 R15: 0000000000000246
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
__wake_up_common_lock+0x18c/0x1e0 kernel/sched/wait.c:108
io_cqring_wake io_uring/io_uring.h:271 [inline]
io_cq_unlock_post io_uring/io_uring.c:590 [inline]
__io_cqring_overflow_flush+0x504/0x690 io_uring/io_uring.c:628
io_cqring_do_overflow_flush io_uring/io_uring.c:640 [inline]
io_cqring_wait io_uring/io_uring.c:2448 [inline]
__do_sys_io_uring_enter io_uring/io_uring.c:3213 [inline]
__se_sys_io_uring_enter+0x1b76/0x2670 io_uring/io_uring.c:3105
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:0x7f25d027d0a9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f25d10270c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: ffffffffffffffda RBX: 00007f25d03b3f80 RCX: 00007f25d027d0a9
RDX: 0000000000400000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007f25d02ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f25d03b3f80 R15: 00007fffbdbcc578
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:0x7f97f007ed9c
RSP: 002b:00007ffec7f4d780 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f97f0ce4620 RCX: 00007f97f007ed9c
RDX: 000000000000002c RSI: 00007f97f0ce4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffec7f4d7d4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f97f0ce4670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 4704 jiffies.
task:syz-executor.1 state:D stack:21024 pid:11963 tgid:11963 ppid:11959 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:0x7ff8cc87ed9c
RSP: 002b:00007fffd92095e0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007ff8cd4e4620 RCX: 00007ff8cc87ed9c
RDX: 0000000000000068 RSI: 00007ff8cd4e4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fffd9209634 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007ff8cd4e4670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 4730 jiffies.
task:syz-executor.4 state:D stack:20288 pid:11915 tgid:11915 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:0x7f608387ed9c
RSP: 002b:00007fff3b5e1670 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f60844e4620 RCX: 00007f608387ed9c
RDX: 0000000000000020 RSI: 00007f60844e4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fff3b5e16c4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f60844e4670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 4765 jiffies.
task:kworker/u8:7 state:D stack:20536 pid:2782 tgid:2782 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 4785 jiffies.
task:syz-executor.0 state:D stack:21024 pid:11961 tgid:11961 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:0x7f038d07ed9c
RSP: 002b:00007ffe1e150bf0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f038dce4620 RCX: 00007f038d07ed9c
RDX: 0000000000000068 RSI: 00007f038dce4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffe1e150c44 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f038dce4670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 4844 jiffies.
task:syz-executor.3 state:D stack:21024 pid:11945 tgid:11945 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
register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3871
nsim_fib_create+0x8a6/0xa70 drivers/net/netdevsim/fib.c:1587
nsim_drv_probe+0x747/0xb80 drivers/net/netdevsim/dev.c:1582
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:0x7f308ec7bdef
RSP: 002b:00007ffccaf2ce40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f308ec7bdef
RDX: 0000000000000003 RSI: 00007ffccaf2ce90 RDI: 0000000000000005
RBP: 00007f308ecda35e R08: 0000000000000000 R09: 00007ffccaf2cc97
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 00007ffccaf2ce90 R14: 00007f308f8e4620 R15: 0000000000000003
DEBUG: holding rtnl_mutex for 4882 jiffies.
task:kworker/u8:8 state:D stack:20120 pid:2801 tgid:2801 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
netdev_for_each_tx_queue include/linux/netdevice.h:2504 [inline]
dev_shutdown+0x9b/0x440 net/sched/sch_generic.c:1490
unregister_netdevice_many_notify+0x977/0x16b0 net/core/dev.c:11259
cleanup_net+0x75d/0xcc0 net/core/net_namespace.c:635
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 4907 jiffies.
task:kworker/0:5 state:D stack:22032 pid:5170 tgid:5170 ppid:2 flags:0x00004000
Workqueue: events switchdev_deferred_process_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
switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104
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 4857 jiffies.
task:kworker/0:6 state:D stack:20112 pid:10283 tgid:10283 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: waiting rtnl_mutex for 3041 jiffies.
task:syz-executor.4 state:D stack:24672 pid:11988 tgid:11988 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:0x7f430c87ed9c
RSP: 002b:00007ffc82476570 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f430d4e4620 RCX: 00007f430c87ed9c
RDX: 0000000000000028 RSI: 00007f430d4e4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffc824765c4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f430d4e4670 R15: 0000000000000000
Showing all locks held in the system:
3 locks held by kworker/u8:6/1049:
3 locks held by kworker/u8:7/2782:
#0: ffff888029c76148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline]
#0: ffff888029c76148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305
#1: ffffc900094afd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc900094afd00 ((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
5 locks held by kworker/u8:8/2801:
#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: ffffc900094cfd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc900094cfd00 (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: cleanup_net+0x6af/0xcc0 net/core/net_namespace.c:630
#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/4855:
#0: ffff88802a7da0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
3 locks held by kworker/0:5/5170:
#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: ffffc90003f6fd00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc90003f6fd00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104
3 locks held by kworker/0:6/10283:
#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: ffffc9000bb2fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc9000bb2fd00 ((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
1 lock held by syz-executor.1/10526:
1 lock held by syz-executor.2/10843:
1 lock held by syz-executor.4/11062:
4 locks held by syz-executor.3/11348:
#0: ffff88802df4e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_cqring_do_overflow_flush io_uring/io_uring.c:639 [inline]
#0: ffff88802df4e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_cqring_wait io_uring/io_uring.c:2448 [inline]
#0: ffff88802df4e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: __do_sys_io_uring_enter io_uring/io_uring.c:3213 [inline]
#0: ffff88802df4e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: __se_sys_io_uring_enter+0x1b6a/0x2670 io_uring/io_uring.c:3105
#1: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789
#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: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95
#3: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
#3: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline]
#3: 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/11915:
#0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723
1 lock held by syz-executor.2/11942:
#0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723
7 locks held by syz-executor.3/11945:
#0: ffff88802fa74420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2872 [inline]
#0: ffff88802fa74420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586
#1: ffff888041212888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2: ffff888022e72c38 (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: ffff88805f8300e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#4: ffff88805f8300e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004
#5: ffff88805f831250 (&devlink->lock_key#38){+.+.}-{3:3}, at: nsim_drv_probe+0xcb/0xb80 drivers/net/netdevsim/dev.c:1534
#6: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3871
1 lock held by syz-executor.0/11961:
#0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723
1 lock held by syz-executor.1/11963:
#0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723
1 lock held by syz-executor.4/11988:
#0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723
=============================================
DEBUG: waiting rtnl_mutex for 5127 jiffies.
task:syz-executor.2 state:D stack:21024 pid:11942 tgid:11942 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:0x7f97f007ed9c
RSP: 002b:00007ffec7f4d780 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f97f0ce4620 RCX: 00007f97f007ed9c
RDX: 000000000000002c RSI: 00007f97f0ce4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffec7f4d7d4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f97f0ce4670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 5162 jiffies.
task:syz-executor.1 state:D stack:21024 pid:11963 tgid:11963 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:0x7ff8cc87ed9c
RSP: 002b:00007fffd92095e0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007ff8cd4e4620 RCX: 00007ff8cc87ed9c
RDX: 0000000000000068 RSI: 00007ff8cd4e4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fffd9209634 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007ff8cd4e4670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 5187 jiffies.
task:syz-executor.4 state:D stack:20288 pid:11915 tgid:11915 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:0x7f608387ed9c
RSP: 002b:00007fff3b5e1670 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f60844e4620 RCX: 00007f608387ed9c
RDX: 0000000000000020 RSI: 00007f60844e4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fff3b5e16c4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f60844e4670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 5222 jiffies.
task:kworker/u8:7 state:D stack:20536 pid:2782 tgid:2782 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 5242 jiffies.
task:syz-executor.0 state:D stack:21024 pid:11961 tgid:11961 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:0x7f038d07ed9c
RSP: 002b:00007ffe1e150bf0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f038dce4620 RCX: 00007f038d07ed9c
RDX: 0000000000000068 RSI: 00007f038dce4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffe1e150c44 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f038dce4670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 5302 jiffies.
task:syz-executor.3 state:D stack:21024 pid:11945 tgid:11945 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
register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3871
nsim_fib_create+0x8a6/0xa70 drivers/net/netdevsim/fib.c:1587
nsim_drv_probe+0x747/0xb80 drivers/net/netdevsim/dev.c:1582
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:0x7f308ec7bdef
RSP: 002b:00007ffccaf2ce40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f308ec7bdef
RDX: 0000000000000003 RSI: 00007ffccaf2ce90 RDI: 0000000000000005
RBP: 00007f308ecda35e R08: 0000000000000000 R09: 00007ffccaf2cc97
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 00007ffccaf2ce90 R14: 00007f308f8e4620 R15: 0000000000000003
DEBUG: holding rtnl_mutex for 5340 jiffies.
task:kworker/u8:8 state:D stack:20120 pid:2801 tgid:2801 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
netdev_for_each_tx_queue include/linux/netdevice.h:2504 [inline]
dev_shutdown+0x9b/0x440 net/sched/sch_generic.c:1490
unregister_netdevice_many_notify+0x977/0x16b0 net/core/dev.c:11259
cleanup_net+0x75d/0xcc0 net/core/net_namespace.c:635
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 5364 jiffies.
task:kworker/0:5 state:D stack:22032 pid:5170 tgid:5170 ppid:2 flags:0x00004000
Workqueue: events switchdev_deferred_process_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
switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104
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 5314 jiffies.
task:kworker/0:6 state:D stack:20112 pid:10283 tgid:10283 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: waiting rtnl_mutex for 3499 jiffies.
task:syz-executor.4 state:D stack:24672 pid:11988 tgid:11988 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:0x7f430c87ed9c
RSP: 002b:00007ffc82476570 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f430d4e4620 RCX: 00007f430c87ed9c
RDX: 0000000000000028 RSI: 00007f430d4e4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffc824765c4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f430d4e4670 R15: 0000000000000000
Showing all locks held in the system:
5 locks held by kworker/u8:5/64:
#0: ffff8880b953e8d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:568
#1: ffff8880b9528948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
#2: ffff8880b952a718 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 kernel/time/timer.c:1051
#3: ffffffff94a9bd10 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x16d/0x510 lib/debugobjects.c:708
#4: ffffffff8e1e4a08 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:145
2 locks held by kworker/u8:6/1049:
3 locks held by kworker/u8:7/2782:
#0: ffff888029c76148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline]
#0: ffff888029c76148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305
#1: ffffc900094afd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc900094afd00 ((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
5 locks held by kworker/u8:8/2801:
#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: ffffc900094cfd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc900094cfd00 (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: cleanup_net+0x6af/0xcc0 net/core/net_namespace.c:630
#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/4855:
#0: ffff88802a7da0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
2 locks held by syz-fuzzer/5095:
3 locks held by kworker/0:5/5170:
#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: ffffc90003f6fd00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc90003f6fd00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104
3 locks held by kworker/0:6/10283:
#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: ffffc9000bb2fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc9000bb2fd00 ((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
1 lock held by syz-executor.1/10526:
1 lock held by syz-executor.4/11062:
5 locks held by syz-executor.3/11348:
#0: ffff88802df4e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_cqring_do_overflow_flush io_uring/io_uring.c:639 [inline]
#0: ffff88802df4e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_cqring_wait io_uring/io_uring.c:2448 [inline]
#0: ffff88802df4e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: __do_sys_io_uring_enter io_uring/io_uring.c:3213 [inline]
#0: ffff88802df4e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: __se_sys_io_uring_enter+0x1b6a/0x2670 io_uring/io_uring.c:3105
#1: ffff88802df4e3d8 (&ctx->completion_lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline]
#1: ffff88802df4e3d8 (&ctx->completion_lock){+.+.}-{2:2}, at: io_cq_lock io_uring/io_uring.c:569 [inline]
#1: ffff88802df4e3d8 (&ctx->completion_lock){+.+.}-{2:2}, at: __io_cqring_overflow_flush+0x1c7/0x690 io_uring/io_uring.c:607
#2: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789
#3: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
#3: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline]
#3: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95
#4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
#4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline]
#4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6688
2 locks held by kworker/1:3/11881:
1 lock held by syz-executor.4/11915:
#0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723
1 lock held by syz-executor.2/11942:
#0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723
7 locks held by syz-executor.3/11945:
#0: ffff88802fa74420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2872 [inline]
#0: ffff88802fa74420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586
#1: ffff888041212888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2: ffff888022e72c38 (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: ffff88805f8300e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#4: ffff88805f8300e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004
#5: ffff88805f831250 (&devlink->lock_key#38){+.+.}-{3:3}, at: nsim_drv_probe+0xcb/0xb80 drivers/net/netdevsim/dev.c:1534
#6: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3871
1 lock held by syz-executor.0/11961:
#0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723
1 lock held by syz-executor.1/11963:
#0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723
1 lock held by syz-executor.4/11988:
#0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723
1 lock held by syz-executor.3/11992:
#0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723
=============================================
DEBUG: waiting rtnl_mutex for 5567 jiffies.
task:syz-executor.2 state:D stack:21024 pid:11942 tgid:11942 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