rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-.... } 2645 jiffies s: 229077 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 23669 Comm: syz.3.3827 Not tainted 6.10.0-rc6-next-20240702-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: 00 f2 53 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 e1 c2 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:ffffc90000a18278 EFLAGS: 00000002
RAX: 1ffffffff2964500 RBX: ffffffff94b228c0 RCX: 0000000000000000
RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020
RBP: 0000000000000000 R08: ffffffff853f90d6 R09: 1ffff110040a3046
R10: dffffc0000000000 R11: ffffffff853f9090 R12: dffffc0000000000
R13: ffffffff94836bc0 R14: 00000000000003fd R15: dffffc0000000000
FS: 00007f57c698a6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056501e0a6600 CR3: 0000000075a88000 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:2960 [inline]
console_flush_all+0x880/0xf50 kernel/printk/printk.c:3032
console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3103
vprintk_emit+0x7a1/0x900 kernel/printk/printk.c:2423
_printk+0xd5/0x120 kernel/printk/printk.c:2450
show_trace_log_lvl+0x476/0x520 arch/x86/kernel/dumpstack.c:237
sched_show_task+0x506/0x6d0 kernel/sched/core.c:7509
report_rtnl_holders+0x320/0x3f0 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:lock_release+0x630/0x9f0 kernel/locking/lockdep.c:5840
Code: 3c 3b 00 74 08 4c 89 f7 e8 5d c0 8a 00 f6 84 24 91 00 00 00 02 75 77 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25
RSP: 0018:ffffc90004667a00 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff920008ccf52 RCX: ffffc90004667a03
RDX: 0000000000000001 RSI: ffffffff8bcada80 RDI: ffffffff8c207bc0
RBP: ffffc90004667b40 R08: ffffffff8faf7eaf R09: 1ffffffff1f5efd5
R10: dffffc0000000000 R11: fffffbfff1f5efd6 R12: 1ffff920008ccf4c
R13: 0000000000000246 R14: ffffc90004667a90 R15: dffffc0000000000
__raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline]
_raw_spin_unlock+0x16/0x50 kernel/locking/spinlock.c:186
spin_unlock include/linux/spinlock.h:391 [inline]
io_cq_unlock_post io_uring/io_uring.c:594 [inline]
__io_cqring_overflow_flush+0x4ba/0x690 io_uring/io_uring.c:633
io_cqring_do_overflow_flush io_uring/io_uring.c:645 [inline]
io_cqring_wait io_uring/io_uring.c:2480 [inline]
__do_sys_io_uring_enter io_uring/io_uring.c:3246 [inline]
__se_sys_io_uring_enter+0x1b76/0x2670 io_uring/io_uring.c:3138
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:0x7f57c5b75f19
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f57c698a048 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: ffffffffffffffda RBX: 00007f57c5d03f60 RCX: 00007f57c5b75f19
RDX: 00000000000045d0 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 00007f57c5be4bcd R08: 0000000000000000 R09: 0000000001000000
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f57c5d03f60 R15: 00007fffca734948
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749
__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+0x847/0x1180 net/core/rtnetlink.c:6725
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:0x7fa2d0d77cac
RSP: 002b:00007fffdb149f90 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fa2d1a34620 RCX: 00007fa2d0d77cac
RDX: 0000000000000028 RSI: 00007fa2d1a34670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fffdb149fe4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007fa2d1a34670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 2597 jiffies.
task:syz-executor state:D stack:24992 pid:27818 tgid:27818 ppid:27817 flags:0x00000000
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749
__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+0x847/0x1180 net/core/rtnetlink.c:6725
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:0x7f12f7377cac
RSP: 002b:00007fffce91f9d0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f12f8034620 RCX: 00007f12f7377cac
RDX: 0000000000000028 RSI: 00007f12f8034670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fffce91fa24 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f12f8034670 R15: 0000000000000000
DEBUG: holding rtnl_mutex for 5104 jiffies.
task:kworker/u8:14 state:D stack:20656 pid:19827 tgid:19827 ppid:2 flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
synchronize_rcu_expedited+0x684/0x830 kernel/rcu/tree_exp.h:982
dev_deactivate_many+0x4a7/0xb10 net/sched/sch_generic.c:1371
__dev_close_many+0x1a4/0x300 net/core/dev.c:1545
dev_close_many+0x24e/0x4c0 net/core/dev.c:1583
dev_close+0x1c0/0x2c0 net/core/dev.c:1609
__bond_release_one+0xc16/0x1290 drivers/net/bonding/bond_main.c:2502
bond_uninit+0x147/0x2e0 drivers/net/bonding/bond_main.c:5934
unregister_netdevice_many_notify+0x16a9/0x1d20 net/core/dev.c:11378
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/0xd40 kernel/workqueue.c:3383
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 5139 jiffies.
task:syz-executor state:D stack:21024 pid:27785 tgid:27785 ppid:27781 flags:0x00000000
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749
__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+0x847/0x1180 net/core/rtnetlink.c:6725
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:0x7fba8c577cac
RSP: 002b:00007ffe6535dec0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fba8d234620 RCX: 00007fba8c577cac
RDX: 000000000000005c RSI: 00007fba8d234670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffe6535df14 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007fba8d234670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 5172 jiffies.
task:syz-executor state:D stack:21024 pid:27673 tgid:27673 ppid:1 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749
__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+0x847/0x1180 net/core/rtnetlink.c:6725
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:0x7ff1fc577cac
RSP: 002b:00007ffde7ce0c20 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007ff1fd234620 RCX: 00007ff1fc577cac
RDX: 0000000000000028 RSI: 00007ff1fd234670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffde7ce0c74 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007ff1fd234670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 5201 jiffies.
task:syz-executor state:D stack:21024 pid:27786 tgid:27786 ppid:27782 flags:0x00000000
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749
__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+0x847/0x1180 net/core/rtnetlink.c:6725
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:0x7faa7d177cac
RSP: 002b:00007fff80c0fed0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007faa7de34620 RCX: 00007faa7d177cac
RDX: 0000000000000050 RSI: 00007faa7de34670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fff80c0ff24 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007faa7de34670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 5234 jiffies.
task:syz-executor state:D stack:21024 pid:27783 tgid:27783 ppid:27780 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:773
__nsim_dev_port_del+0x14b/0x1b0 drivers/net/netdevsim/dev.c:1425
nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1437 [inline]
nsim_dev_reload_destroy+0x28a/0x490 drivers/net/netdevsim/dev.c:1658
nsim_drv_remove+0x58/0x160 drivers/net/netdevsim/dev.c:1673
device_remove drivers/base/dd.c:566 [inline]
__device_release_driver drivers/base/dd.c:1272 [inline]
device_release_driver_internal+0x4a9/0x7c0 drivers/base/dd.c:1295
bus_remove_device+0x34f/0x420 drivers/base/bus.c:574
device_del+0x57a/0x9b0 drivers/base/core.c:3868
device_unregister+0x20/0xc0 drivers/base/core.c:3909
nsim_bus_dev_del drivers/net/netdevsim/bus.c:462 [inline]
del_device_store+0x363/0x480 drivers/net/netdevsim/bus.c:226
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:0x7face4974a9f
RSP: 002b:00007fff318f9e20 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007face4974a9f
RDX: 0000000000000001 RSI: 00007fff318f9e70 RDI: 0000000000000005
RBP: 00007face49e46cc R08: 0000000000000000 R09: 00007fff318f9c77
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 00007fff318f9e70 R14: 00007face5634620 R15: 0000000000000003
DEBUG: waiting rtnl_mutex for 5260 jiffies.
task:syz-executor state:D stack:21024 pid:27707 tgid:27707 ppid:1 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749
__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+0x847/0x1180 net/core/rtnetlink.c:6725
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:0x7f3c4a777cac
RSP: 002b:00007ffd1f474030 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f3c4b4335c0 RCX: 00007f3c4a777cac
RDX: 0000000000000030 RSI: 00007f3c4b433610 RDI: 0000000000000006
RBP: 0000000000000000 R08: 00007ffd1f474084 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000006
R13: 0000000000000000 R14: 00007f3c4b433610 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 5294 jiffies.
task:kworker/u8:0 state:D stack:21976 pid:25797 tgid:25797 ppid:2 flags:0x00004000
Workqueue: ipv6_addrconf addrconf_dad_work
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749
__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/0xd40 kernel/workqueue.c:3383
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 5312 jiffies.
task:kworker/0:2 state:D stack:19480 pid:928 tgid:928 ppid:2 flags:0x00004000
Workqueue: events switchdev_deferred_process_work
Call Trace:
context_switch kernel/sched/core.c:5248 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6600
__schedule_loop kernel/sched/core.c:6677 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6692
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749
__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/0xd40 kernel/workqueue.c:3383
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:2/928:
#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: ffffc90003fafd00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc90003fafd00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104
2 locks held by getty/4853:
#0: ffff88802a3b70a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
3 locks held by syz-executor/5085:
#0: ffff88801f83f4a8 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:691 [inline]
#0: ffff88801f83f4a8 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x2f9/0x6e0 mm/memory.c:5987
#1: ffff88802b648518 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1675 [inline]
#1: ffff88802b648518 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1840 [inline]
#1: ffff88802b648518 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1f0/0xdf0 fs/ext4/inode.c:6126
#2: ffff88802b64c950 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x203f/0x22a0 fs/jbd2/transaction.c:463
5 locks held by kworker/u8:14/19827:
#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: ffffc900091e7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc900091e7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f5f2190 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594
#3: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: cleanup_net+0x6af/0xcc0 net/core/net_namespace.c:630
#4: ffffffff8e33ac38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#4: ffffffff8e33ac38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:967
3 locks held by syz.3.3827/23669:
#0: ffff8880683ec0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_cqring_do_overflow_flush io_uring/io_uring.c:644 [inline]
#0: ffff8880683ec0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_cqring_wait io_uring/io_uring.c:2480 [inline]
#0: ffff8880683ec0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: __do_sys_io_uring_enter io_uring/io_uring.c:3246 [inline]
#0: ffff8880683ec0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: __se_sys_io_uring_enter+0x1b6a/0x2670 io_uring/io_uring.c:3138
#1: ffffc90000a18c00 (net/core/rtnetlink.c:83){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789
#2: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
#2: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline]
#2: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6704
1 lock held by syz.1.3883/23854:
3 locks held by kworker/u8:0/25797:
#0: ffff888029bb8948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline]
#0: ffff888029bb8948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305
#1: ffffc90003a77d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc90003a77d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4193
3 locks held by kworker/0:1/26664:
#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: ffffc90004867d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc90004867d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
1 lock held by syz-executor/27673:
#0: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline]
#0: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725
1 lock held by syz-executor/27707:
#0: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline]
#0: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725
7 locks held by syz-executor/27783:
#0: ffff88802a056420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline]
#0: ffff88802a056420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586
#1: ffff88803d8fac88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2: ffff888022b3ba58 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3: ffffffff8ef04908 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216
#4: ffff8880566a40e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#4: ffff8880566a40e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1094 [inline]
#4: ffff8880566a40e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1292
#5: ffff8880566a5250 (&devlink->lock_key#165){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672
#6: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:773
1 lock held by syz-executor/27785:
#0: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline]
#0: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725
1 lock held by syz-executor/27786:
#0: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline]
#0: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725
1 lock held by syz-executor/27815:
#0: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline]
#0: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725
1 lock held by syz-executor/27818:
#0: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline]
#0: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725
=============================================