rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { P19173 0-.... } 2679 jiffies s: 129417 root: 0x1/T
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: 19455 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: 0000:ffffc90000007278 EFLAGS: 00000002
RAX: 1ffffffff2966d00 RBX: ffffffff94b36de0 RCX: 0000000000000000
RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020
RBP: 0000000000000000 R08: ffffffff85411b56 R09: 1ffff11003f6b046
R10: dffffc0000000000 R11: ffffffff85411b10 R12: dffffc0000000000
R13: ffffffff94848f10 R14: 00000000000003fd R15: dffffc0000000000
FS: 000055557ca3a500(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffed844cc18 CR3: 000000005d468000 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:__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 5e ae 5c f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 83 48 c4 f5 65 8b 05 04 3f 65 74 85 c0 74 43 48 c7 04 24 0e 36
RSP: 0000:ffffc9000302f020 EFLAGS: 00000206
RAX: 863b2fa98909a800 RBX: 1ffff92000605e08 RCX: ffffffff817022aa
RDX: dffffc0000000000 RSI: ffffffff8bcad540 RDI: 0000000000000001
RBP: ffffc9000302f0a8 R08: ffffffff93010807 R09: 1ffffffff2602100
R10: dffffc0000000000 R11: fffffbfff2602101 R12: dffffc0000000000
R13: 1ffff92000605e04 R14: ffffc9000302f040 R15: 0000000000000246
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
rmqueue_bulk mm/page_alloc.c:2316 [inline]
__rmqueue_pcplist+0x1f37/0x23a0 mm/page_alloc.c:2988
rmqueue_pcplist mm/page_alloc.c:3030 [inline]
rmqueue mm/page_alloc.c:3067 [inline]
get_page_from_freelist+0x7da/0x2d80 mm/page_alloc.c:3470
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4731
alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2263
folio_alloc_mpol_noprof mm/mempolicy.c:2281 [inline]
vma_alloc_folio_noprof+0x12e/0x230 mm/mempolicy.c:2312
folio_prealloc+0x31/0x170
wp_page_copy mm/memory.c:3335 [inline]
do_wp_page+0x11cc/0x52f0 mm/memory.c:3727
handle_pte_fault+0x1138/0x6eb0 mm/memory.c:5538
__handle_mm_fault mm/memory.c:5665 [inline]
handle_mm_fault+0x1029/0x1980 mm/memory.c:5833
do_user_addr_fault arch/x86/mm/fault.c:1338 [inline]
handle_page_fault arch/x86/mm/fault.c:1481 [inline]
exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7fa60b36c388
Code: 84 e4 74 66 e8 89 04 00 00 41 89 c4 85 c0 0f 84 4e 01 00 00 49 c7 c5 a8 ff ff ff 64 45 8b 75 00 48 89 da 89 ee bf 02 00 00 00 93 09 00 00 45 85 e4 79 05 64 45 89 75 00 48 8b 84 24 c8 00 00
RSP: 002b:00007ffed844cc20 EFLAGS: 00010206
RAX: 0000000000004c00 RBX: 0000000000000000 RCX: 00007fa60b36c813
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 000055557ca3a7d0 R11: 0000000000000246 R12: 0000000000004c00
R13: ffffffffffffffa8 R14: 0000000000000009 R15: 0000000000000009
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
DEBUG: waiting rtnl_mutex for 2748 jiffies.
task:syz-executor state:D stack:24992 pid:19456 tgid:19456 ppid:19455 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:0x7fa60b377cac
RSP: 002b:00007ffed844cab0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fa60c034620 RCX: 00007fa60b377cac
RDX: 0000000000000028 RSI: 00007fa60c034670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffed844cb04 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007fa60c034670 R15: 0000000000000000
DEBUG: holding rtnl_mutex for 5862 jiffies.
task:syz-executor state:R running task stack:20992 pid:19173 tgid:19173 ppid:19168 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5239 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6603
preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6782
preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6806
preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12
vprintk_emit+0x82d/0x900 kernel/printk/printk.c:2426
_printk+0xd5/0x120 kernel/printk/printk.c:2450
batadv_check_known_mac_addr+0x2b1/0x410 net/batman-adv/hard-interface.c:526
batadv_hard_if_event+0x3a5/0x1620 net/batman-adv/hard-interface.c:998
notifier_call_chain+0x19f/0x3e0 kernel/notifier.c:93
call_netdevice_notifiers_extack net/core/dev.c:2032 [inline]
call_netdevice_notifiers net/core/dev.c:2046 [inline]
dev_set_mac_address+0x3d9/0x510 net/core/dev.c:9100
dev_set_mac_address_user+0x31/0x50 net/core/dev.c:9114
do_setlink+0x8b6/0x41f0 net/core/rtnetlink.c:2942
__rtnl_newlink net/core/rtnetlink.c:3783 [inline]
rtnl_newlink+0x17a9/0x2070 net/core/rtnetlink.c:3830
rtnetlink_rcv_msg+0x744/0xd00 net/core/rtnetlink.c:6734
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:0x7f40f0177cac
RSP: 002b:00007ffe6635faf0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f40f0e34620 RCX: 00007f40f0177cac
RDX: 000000000000002c RSI: 00007f40f0e34670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffe6635fb44 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f40f0e34670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 6465 jiffies.
task:kworker/u8:3 state:D stack:19184 pid:52 tgid:52 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 6484 jiffies.
task:syz-executor state:D stack:21728 pid:19238 tgid:19238 ppid:19237 flags:0x00004000
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
fib_seq_sum+0x31/0x290 net/core/fib_notifier.c:46
register_fib_notifier+0x42/0x370 net/core/fib_notifier.c:107
nsim_fib_create+0x902/0xa70 drivers/net/netdevsim/fib.c:1595
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:0x7f6f44374a9f
RSP: 002b:00007ffc8bdef860 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f6f44374a9f
RDX: 0000000000000003 RSI: 00007ffc8bdef8b0 RDI: 0000000000000005
RBP: 00007f6f443e45d6 R08: 0000000000000000 R09: 00007ffc8bdef6b7
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 00007ffc8bdef8b0 R14: 00007f6f45034620 R15: 0000000000000003
DEBUG: waiting rtnl_mutex for 6498 jiffies.
task:syz-executor state:D stack:21072 pid:19163 tgid:19163 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:0x7f37ddb77cac
RSP: 002b:00007ffd6339a900 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f37de834620 RCX: 00007f37ddb77cac
RDX: 0000000000000040 RSI: 00007f37de834670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffd6339a954 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f37de834670 R15: 0000000000000000
DEBUG: waiting rtnl_mutex for 6525 jiffies.
task:dhcpcd state:D stack:20672 pid:4770 tgid:4770 ppid:4769 flags:0x00000002
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_dump_start+0x5a2/0x790 net/netlink/af_netlink.c:2440
netlink_dump_start include/linux/netlink.h:339 [inline]
rtnetlink_dump_start net/core/rtnetlink.c:6623 [inline]
rtnetlink_rcv_msg+0xb42/0xd00 net/core/rtnetlink.c:6690
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:0x7f3e7133cad7
RSP: 002b:00007ffc3e6ca2b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007ffc3e6cb3e0 RCX: 00007f3e7133cad7
RDX: 0000000000000014 RSI: 00007ffc3e6cb300 RDI: 0000000000000016
RBP: 00007ffc3e6cb370 R08: 00007ffc3e6cb2e4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000012
R13: 00007ffc3e6cb2e4 R14: 00007ffc3e6cb300 R15: 0000000000000105
Showing all locks held in the system:
5 locks held by kworker/u8:0/11:
3 locks held by kworker/u8:3/52:
#0: ffff88802a173948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
#0: ffff88802a173948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
#1: ffffc90000bc7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
#1: ffffc90000bc7d00 ((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/4770:
#0: ffff88804be7c678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0x119/0x790 net/netlink/af_netlink.c:2404
#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/4855:
#0: ffff88802a6390a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
2 locks held by kworker/u8:1/8918:
3 locks held by kworker/0:2/15418:
#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: ffffc90014c97d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
#1: ffffc90014c97d00 ((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
1 lock held by syz-executor/19159:
#0: ffffffff8e33ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#0: ffffffff8e33ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:967
1 lock held by syz-executor/19163:
#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 syz-executor/19173:
7 locks held by syz-executor/19238:
#0: ffff88807d4be420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline]
#0: ffff88807d4be420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586
#1: ffff88805d001888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2: ffff8880210a1f08 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3: ffffffff8ef0c528 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x1b4/0x890 drivers/net/netdevsim/bus.c:166
#4: ffff88807b9d20e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#4: ffff88807b9d20e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1004
#5: ffff88807b9d1250 (&devlink->lock_key#100){+.+.}-{3:3}, at: nsim_drv_probe+0xcb/0xb80 drivers/net/netdevsim/dev.c:1534
#6: ffffffff8f60a948 (rtnl_mutex){+.+.}-{3:3}, at: fib_seq_sum+0x31/0x290 net/core/fib_notifier.c:46
4 locks held by syz-executor/19241:
#0: ffff88807d4be420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline]
#0: ffff88807d4be420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586
#1: ffff88807833dc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2: ffff8880210a1f08 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3: ffffffff8ef0c528 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x1b4/0x890 drivers/net/netdevsim/bus.c:166
4 locks held by udevd/19429:
#0: ffff88804f5ae8b8 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182
#1: ffff888029b88488 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154
#2: ffff88804ffb0008 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155
#3: ffff88807b9d20e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#3: ffff88807b9d20e8 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2743
4 locks held by syz-executor/19455:
#0: ffff88802c1eb580 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:690 [inline]
#0: ffff88802c1eb580 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x2f9/0x6e0 mm/memory.c:5999
#1: ffff8880b94449d8 (&pcp->lock){+.+.}-{2:2}, at: spin_trylock include/linux/spinlock.h:361 [inline]
#1: ffff8880b94449d8 (&pcp->lock){+.+.}-{2:2}, at: rmqueue_pcplist mm/page_alloc.c:3017 [inline]
#1: ffff8880b94449d8 (&pcp->lock){+.+.}-{2:2}, at: rmqueue mm/page_alloc.c:3067 [inline]
#1: ffff8880b94449d8 (&pcp->lock){+.+.}-{2:2}, at: get_page_from_freelist+0x71e/0x2d80 mm/page_alloc.c:3470
#2: ffffc90000007c00 (net/core/rtnetlink.c:83){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789
#3: ffffffff8e337a60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#3: ffffffff8e337a60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#3: ffffffff8e337a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6695
1 lock held by syz-executor/19456:
#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
=============================================
DEBUG: waiting rtnl_mutex for 3106 jiffies.
task:syz-executor state:D stack:24992 pid:19456 tgid:19456 ppid:19455 flags:0x00004000
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:0x7fa60b377cac
RSP: 002b:00007ffed844cab0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fa60c034620 RCX: 00007fa60b377cac
RDX: 0000000000000028 RSI: 00007fa60c034670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffed844cb04 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007fa60c034670 R15: 0000000000000000
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/u8:3/52:
#0: ffff88802a173948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
#0: ffff88802a173948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
#1: ffffc90000bc7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
#1: ffffc90000bc7d00 ((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/4770:
#0: ffff88804be7c678 (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/4855:
#0: ffff88802a6390a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
4 locks held by syz-executor/5089:
#0: ffff88802e980198 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock include/linux/mmap_lock.h:106 [inline]
#0: ffff88802e980198 (&mm->mmap_lock){++++}-{3:3}, at: exit_mmap+0x2a9/0xc80 mm/mmap.c:3420
#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: is_bpf_text_address+0x26/0x2a0 kernel/bpf/core.c:767
#2: ffffc90000007c00 (net/core/rtnetlink.c:83){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789
#3: ffffffff8e337a60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#3: ffffffff8e337a60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#3: ffffffff8e337a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6695
3 locks held by kworker/0:3/5153:
#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: ffffc900040d7d00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
#1: ffffc900040d7d00 ((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
3 locks held by kworker/u8:1/8918:
1 lock held by syz-executor/19159:
#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-executor/19163:
#0: ffff88805424cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:488 [inline]
#0: ffff88805424cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2699
#1: ffff88805424c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x572/0x11a0 net/bluetooth/hci_sync.c:5131
#2: ffffffff8f776468 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline]
#2: ffffffff8f776468 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2592
#3: ffffffff8e33ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#3: ffffffff8e33ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:967
1 lock held by syz-executor/19173:
#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
8 locks held by syz-executor/19238:
4 locks held by syz-executor/19241:
#0: ffff88807d4be420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline]
#0: ffff88807d4be420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586
#1: ffff88807833dc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325
#2: ffff8880210a1f08 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326
#3: ffffffff8ef0c528 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x1b4/0x890 drivers/net/netdevsim/bus.c:166
4 locks held by udevd/19429:
#0: ffff88804f5ae8b8 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182
#1: ffff888029b88488 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154
#2: ffff88804ffb0008 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155
#3: ffff88807b9d20e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#3: ffff88807b9d20e8 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2743
1 lock held by syz-executor/19456:
#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/19459:
#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 syz-executor/19464:
1 lock held by syz-executor/19465:
=============================================