rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2656 jiffies s: 40149 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: 8736 Comm: syz-executor.0 Not tainted 6.10.0-rc4-next-20240620-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:stack_trace_consume_entry+0x6a/0x280 kernel/stacktrace.c:89
Code: 89 ec 49 c1 ec 03 41 0f b6 04 14 84 c0 0f 85 1a 01 00 00 44 3b 45 00 73 3c 48 8d 7b 0c 49 89 fd 49 c1 ed 03 41 0f b6 44 15 00 <84> c0 0f 85 36 01 00 00 44 8b 37 45 85 f6 74 22 41 ff ce 41 0f b6
RSP: 0018:ffffc900000073f0 EFLAGS: 00000a07
RAX: 0000000000000000 RBX: ffffc90000007520 RCX: ffff888028d9bc00
RDX: dffffc0000000000 RSI: ffffffff8ba00130 RDI: ffffc9000000752c
RBP: ffffc90000007528 R08: 000000000000001e R09: ffffc90000007530
R10: 0000000000000003 R11: ffffffff817f20c0 R12: 1ffff92000000ea5
R13: 1ffff92000000ea5 R14: ffffc90000007520 R15: 1ffff92000000ea6
FS: 00007fb83c5a16c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555678d6938 CR3: 000000001ef72000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_stack_walk+0x143/0x1b0 arch/x86/kernel/stacktrace.c:27
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
poison_kmalloc_redzone mm/kasan/common.c:370 [inline]
__kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:387
kasan_kmalloc include/linux/kasan.h:211 [inline]
__kmalloc_cache_noprof+0x19c/0x2c0 mm/slub.c:4176
kmalloc_noprof include/linux/slab.h:660 [inline]
dst_cow_metrics_generic+0x56/0x1c0 net/core/dst.c:178
dst_metrics_write_ptr include/net/dst.h:133 [inline]
dst_metric_set include/net/dst.h:194 [inline]
icmp6_dst_alloc+0x270/0x420 net/ipv6/route.c:3288
ndisc_send_skb+0x32a/0x1380 net/ipv6/ndisc.c:489
addrconf_rs_timer+0x36e/0x660 net/ipv6/addrconf.c:4039
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:console_flush_all+0x9f7/0xf50 kernel/printk/printk.c:3048
Code: 20 00 90 0f 0b 90 e9 f3 f9 ff ff e8 33 27 20 00 e8 de d8 19 0a 4d 85 f6 74 c0 e8 24 27 20 00 fb 49 bd 00 00 00 00 00 fc ff df <43> 80 3c 2f 00 48 8b 5c 24 30 74 08 48 89 df e8 55 99 86 00 4c 8b
RSP: 0018:ffffc90003caef80 EFLAGS: 00000246
RAX: ffffffff817350dc RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc90009d6a000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc90003caf110 R08: ffffffff81735083 R09: 1ffffffff25fc2e8
R10: dffffc0000000000 R11: fffffbfff25fc2e9 R12: ffffffff8eb2bde0
R13: dffffc0000000000 R14: 0000000000000200 R15: 1ffffffff1d657c7
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
_fat_msg+0x13a/0x190 fs/fat/misc.c:62
fat__get_entry fs/fat/dir.c:102 [inline]
fat_get_entry+0x8b1/0xae0 fs/fat/dir.c:128
fat_get_short_entry fs/fat/dir.c:885 [inline]
fat_subdirs+0x227/0x3c0 fs/fat/dir.c:951
fat_read_root+0x568/0x7f0 fs/fat/inode.c:1420
fat_fill_super+0x3a2b/0x5280 fs/fat/inode.c:1870
mount_bdev+0x20a/0x2d0 fs/super.c:1668
legacy_get_tree+0xee/0x190 fs/fs_context.c:662
vfs_get_tree+0x90/0x2a0 fs/super.c:1789
do_new_mount+0x2be/0xb40 fs/namespace.c:3379
do_mount fs/namespace.c:3719 [inline]
__do_sys_mount fs/namespace.c:3925 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3902
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:0x7fb83b87e62a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007fb83c5a0ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fb83c5a0f80 RCX: 00007fb83b87e62a
RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007fb83c5a0f40
RBP: 00000000200000c0 R08: 00007fb83c5a0f80 R09: 0000000002010000
R10: 0000000002010000 R11: 0000000000000202 R12: 0000000020000000
R13: 00007fb83c5a0f40 R14: 0000000000000336 R15: 0000000020000f40
DEBUG: holding rtnl_mutex for 3774 jiffies.
task:syz-executor.2 state:D stack:23376 pid:8658 tgid:8658 ppid:8243 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
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
unregister_netdevice_many net/core/dev.c:11327 [inline]
unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11206
unregister_netdevice include/linux/netdevice.h:3120 [inline]
__tun_detach+0x6b6/0x1600 drivers/net/tun.c:685
tun_detach drivers/net/tun.c:701 [inline]
tun_chr_close+0x108/0x1b0 drivers/net/tun.c:3500
__fput+0x24a/0x8a0 fs/file_table.c:422
task_work_run+0x24f/0x310 kernel/task_work.c:180
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fab8987cf29
RSP: 002b:00007fff2a939228 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fab899b5980 RCX: 00007fab8987cf29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fab899b5980 R08: 000000008140fd0c R09: 0000000800000000
R10: 0000000080000000 R11: 0000000000000246 R12: 000000000005b094
R13: 00007fab899b405c R14: 0000000000000032 R15: 00007fab899b5980
DEBUG: waiting rtnl_mutex for 3446 jiffies.
task:syz-executor.3 state:D stack:26480 pid:8695 tgid:8694 ppid:5123 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__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:6724
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
sock_write_iter+0x2dd/0x400 net/socket.c:1160
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:0x7f809707cf29
RSP: 002b:00007f8096bff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f80971b3f80 RCX: 00007f809707cf29
RDX: 0000000000000024 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007f80970ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f80971b3f80 R15: 00007ffdd515f3d8
DEBUG: waiting rtnl_mutex for 3277 jiffies.
task:syz-executor.1 state:D stack:26112 pid:8713 tgid:8712 ppid:5909 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210
netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
netlink_unicast+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_sendmsg+0x525/0x7d0 net/socket.c:2597
___sys_sendmsg net/socket.c:2651 [inline]
__sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc02f47cf29
RSP: 002b:00007fc03012f0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fc02f5b3f80 RCX: 00007fc02f47cf29
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003
RBP: 00007fc02f4ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc02f5b3f80 R15: 00007ffe96dbaee8
Showing all locks held in the system:
3 locks held by kworker/u8:2/35:
3 locks held by kworker/u8:3/53:
5 locks held by kworker/u8:4/62:
3 locks held by kworker/u8:6/1042:
3 locks held by kworker/u8:7/2787:
2 locks held by kworker/u8:8/2860:
2 locks held by getty/4840:
#0: ffff88802abcb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
2 locks held by syz-executor.0/5117:
4 locks held by kworker/u8:9/5654:
3 locks held by kworker/u8:10/7029:
#0: ffff888029919948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline]
#0: ffff888029919948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305
#1: ffffc9000cf87d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc9000cf87d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733
2 locks held by syz-executor.2/8658:
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3500
#1: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#1: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:959
1 lock held by syz-executor.3/8695:
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724
2 locks held by syz-executor.1/8713:
#0: ffffffff8f660770 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
6 locks held by syz-executor.0/8736:
#0: ffff88801185c0e0 (&type->s_umount_key#67/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344
#1: ffffffff8e210f60 (console_lock){+.+.}-{0:0}, at: _printk+0xd5/0x120 kernel/printk/printk.c:2447
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:338 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:287 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: console_flush_all+0x147/0xf50 kernel/printk/printk.c:3033
#3: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789
#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: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline]
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6688
=============================================
DEBUG: holding rtnl_mutex for 3878 jiffies.
task:syz-executor.2 state:D stack:23376 pid:8658 tgid:8658 ppid:8243 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
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
unregister_netdevice_many net/core/dev.c:11327 [inline]
unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11206
unregister_netdevice include/linux/netdevice.h:3120 [inline]
__tun_detach+0x6b6/0x1600 drivers/net/tun.c:685
tun_detach drivers/net/tun.c:701 [inline]
tun_chr_close+0x108/0x1b0 drivers/net/tun.c:3500
__fput+0x24a/0x8a0 fs/file_table.c:422
task_work_run+0x24f/0x310 kernel/task_work.c:180
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fab8987cf29
RSP: 002b:00007fff2a939228 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fab899b5980 RCX: 00007fab8987cf29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fab899b5980 R08: 000000008140fd0c R09: 0000000800000000
R10: 0000000080000000 R11: 0000000000000246 R12: 000000000005b094
R13: 00007fab899b405c R14: 0000000000000032 R15: 00007fab899b5980
DEBUG: waiting rtnl_mutex for 3550 jiffies.
task:syz-executor.3 state:D stack:26480 pid:8695 tgid:8694 ppid:5123 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__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:6724
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
sock_write_iter+0x2dd/0x400 net/socket.c:1160
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:0x7f809707cf29
RSP: 002b:00007f8096bff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f80971b3f80 RCX: 00007f809707cf29
RDX: 0000000000000024 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007f80970ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f80971b3f80 R15: 00007ffdd515f3d8
DEBUG: waiting rtnl_mutex for 3381 jiffies.
task:syz-executor.1 state:D stack:26112 pid:8713 tgid:8712 ppid:5909 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210
netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
netlink_unicast+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_sendmsg+0x525/0x7d0 net/socket.c:2597
___sys_sendmsg net/socket.c:2651 [inline]
__sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc02f47cf29
RSP: 002b:00007fc03012f0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fc02f5b3f80 RCX: 00007fc02f47cf29
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003
RBP: 00007fc02f4ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc02f5b3f80 R15: 00007ffe96dbaee8
Showing all locks held in the system:
3 locks held by kworker/u8:3/53:
5 locks held by kworker/u8:4/62:
3 locks held by kworker/u8:6/1042:
3 locks held by kworker/u8:7/2787:
2 locks held by kworker/u8:8/2860:
2 locks held by getty/4840:
#0: ffff88802abcb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
2 locks held by syz-executor.0/5117:
4 locks held by kworker/u8:9/5654:
3 locks held by kworker/u8:10/7029:
#0: ffff888029919948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline]
#0: ffff888029919948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305
#1: ffffc9000cf87d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc9000cf87d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733
2 locks held by syz-executor.2/8658:
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3500
#1: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#1: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:959
1 lock held by syz-executor.3/8695:
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724
2 locks held by syz-executor.1/8713:
#0: ffffffff8f660770 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
6 locks held by syz-executor.0/8736:
#0: ffff88801185c0e0 (&type->s_umount_key#67/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344
#1: ffffffff8e210f60 (console_lock){+.+.}-{0:0}, at: _printk+0xd5/0x120 kernel/printk/printk.c:2447
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:338 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:287 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: console_flush_all+0x147/0xf50 kernel/printk/printk.c:3033
#3: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789
#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: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline]
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6688
=============================================
DEBUG: holding rtnl_mutex for 3982 jiffies.
task:syz-executor.2 state:D stack:23376 pid:8658 tgid:8658 ppid:8243 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
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
unregister_netdevice_many net/core/dev.c:11327 [inline]
unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11206
unregister_netdevice include/linux/netdevice.h:3120 [inline]
__tun_detach+0x6b6/0x1600 drivers/net/tun.c:685
tun_detach drivers/net/tun.c:701 [inline]
tun_chr_close+0x108/0x1b0 drivers/net/tun.c:3500
__fput+0x24a/0x8a0 fs/file_table.c:422
task_work_run+0x24f/0x310 kernel/task_work.c:180
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fab8987cf29
RSP: 002b:00007fff2a939228 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fab899b5980 RCX: 00007fab8987cf29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fab899b5980 R08: 000000008140fd0c R09: 0000000800000000
R10: 0000000080000000 R11: 0000000000000246 R12: 000000000005b094
R13: 00007fab899b405c R14: 0000000000000032 R15: 00007fab899b5980
DEBUG: waiting rtnl_mutex for 3654 jiffies.
task:syz-executor.3 state:D stack:26480 pid:8695 tgid:8694 ppid:5123 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__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:6724
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
sock_write_iter+0x2dd/0x400 net/socket.c:1160
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:0x7f809707cf29
RSP: 002b:00007f8096bff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f80971b3f80 RCX: 00007f809707cf29
RDX: 0000000000000024 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007f80970ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f80971b3f80 R15: 00007ffdd515f3d8
DEBUG: waiting rtnl_mutex for 3485 jiffies.
task:syz-executor.1 state:D stack:26112 pid:8713 tgid:8712 ppid:5909 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210
netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
netlink_unicast+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_sendmsg+0x525/0x7d0 net/socket.c:2597
___sys_sendmsg net/socket.c:2651 [inline]
__sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc02f47cf29
RSP: 002b:00007fc03012f0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fc02f5b3f80 RCX: 00007fc02f47cf29
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003
RBP: 00007fc02f4ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc02f5b3f80 R15: 00007ffe96dbaee8
Showing all locks held in the system:
3 locks held by kworker/u8:3/53:
5 locks held by kworker/u8:4/62:
4 locks held by kworker/u8:5/985:
3 locks held by kworker/u8:7/2787:
2 locks held by kworker/u8:8/2860:
2 locks held by getty/4840:
#0: ffff88802abcb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
2 locks held by syz-executor.0/5117:
4 locks held by kworker/u8:9/5654:
3 locks held by kworker/u8:10/7029:
#0: ffff888029919948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline]
#0: ffff888029919948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305
#1: ffffc9000cf87d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc9000cf87d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733
2 locks held by syz-executor.2/8658:
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3500
#1: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#1: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:959
1 lock held by syz-executor.3/8695:
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724
2 locks held by syz-executor.1/8713:
#0: ffffffff8f660770 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
6 locks held by syz-executor.0/8736:
#0: ffff88801185c0e0 (&type->s_umount_key#67/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344
#1: ffffffff8e210f60 (console_lock){+.+.}-{0:0}, at: _printk+0xd5/0x120 kernel/printk/printk.c:2447
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:338 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:287 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: console_flush_all+0x147/0xf50 kernel/printk/printk.c:3033
#3: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789
#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: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline]
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6688
=============================================
DEBUG: holding rtnl_mutex for 4086 jiffies.
task:syz-executor.2 state:D stack:23376 pid:8658 tgid:8658 ppid:8243 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
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
unregister_netdevice_many net/core/dev.c:11327 [inline]
unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11206
unregister_netdevice include/linux/netdevice.h:3120 [inline]
__tun_detach+0x6b6/0x1600 drivers/net/tun.c:685
tun_detach drivers/net/tun.c:701 [inline]
tun_chr_close+0x108/0x1b0 drivers/net/tun.c:3500
__fput+0x24a/0x8a0 fs/file_table.c:422
task_work_run+0x24f/0x310 kernel/task_work.c:180
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fab8987cf29
RSP: 002b:00007fff2a939228 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fab899b5980 RCX: 00007fab8987cf29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fab899b5980 R08: 000000008140fd0c R09: 0000000800000000
R10: 0000000080000000 R11: 0000000000000246 R12: 000000000005b094
R13: 00007fab899b405c R14: 0000000000000032 R15: 00007fab899b5980
DEBUG: waiting rtnl_mutex for 3758 jiffies.
task:syz-executor.3 state:D stack:26480 pid:8695 tgid:8694 ppid:5123 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__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:6724
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
sock_write_iter+0x2dd/0x400 net/socket.c:1160
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:0x7f809707cf29
RSP: 002b:00007f8096bff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f80971b3f80 RCX: 00007f809707cf29
RDX: 0000000000000024 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007f80970ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f80971b3f80 R15: 00007ffdd515f3d8
DEBUG: waiting rtnl_mutex for 3589 jiffies.
task:syz-executor.1 state:D stack:26112 pid:8713 tgid:8712 ppid:5909 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210
netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
netlink_unicast+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_sendmsg+0x525/0x7d0 net/socket.c:2597
___sys_sendmsg net/socket.c:2651 [inline]
__sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc02f47cf29
RSP: 002b:00007fc03012f0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fc02f5b3f80 RCX: 00007fc02f47cf29
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003
RBP: 00007fc02f4ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc02f5b3f80 R15: 00007ffe96dbaee8
DEBUG: waiting rtnl_mutex for 601 jiffies.
task:kworker/u8:10 state:D stack:22640 pid:7029 tgid:7029 ppid:2 flags:0x00004000
Workqueue: ipv6_addrconf addrconf_verify_work
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733
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
Showing all locks held in the system:
3 locks held by kworker/u8:3/53:
5 locks held by kworker/u8:4/62:
4 locks held by kworker/u8:5/985:
3 locks held by kworker/u8:7/2787:
2 locks held by kworker/u8:8/2860:
2 locks held by getty/4840:
#0: ffff88802abcb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
2 locks held by syz-executor.0/5117:
4 locks held by kworker/u8:9/5654:
3 locks held by kworker/u8:10/7029:
#0: ffff888029919948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline]
#0: ffff888029919948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305
#1: ffffc9000cf87d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc9000cf87d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733
1 lock held by syz-executor.2/8243:
2 locks held by syz-executor.2/8658:
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3500
#1: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#1: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:959
1 lock held by syz-executor.3/8695:
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724
2 locks held by syz-executor.1/8713:
#0: ffffffff8f660770 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
6 locks held by syz-executor.0/8736:
#0: ffff88801185c0e0 (&type->s_umount_key#67/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344
#1: ffffffff8e210f60 (console_lock){+.+.}-{0:0}, at: _printk+0xd5/0x120 kernel/printk/printk.c:2447
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:338 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:287 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: console_flush_all+0x147/0xf50 kernel/printk/printk.c:3033
#3: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789
#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: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline]
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6688
=============================================
DEBUG: holding rtnl_mutex for 4190 jiffies.
task:syz-executor.2 state:D stack:23376 pid:8658 tgid:8658 ppid:8243 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
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
unregister_netdevice_many net/core/dev.c:11327 [inline]
unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11206
unregister_netdevice include/linux/netdevice.h:3120 [inline]
__tun_detach+0x6b6/0x1600 drivers/net/tun.c:685
tun_detach drivers/net/tun.c:701 [inline]
tun_chr_close+0x108/0x1b0 drivers/net/tun.c:3500
__fput+0x24a/0x8a0 fs/file_table.c:422
task_work_run+0x24f/0x310 kernel/task_work.c:180
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fab8987cf29
RSP: 002b:00007fff2a939228 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fab899b5980 RCX: 00007fab8987cf29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fab899b5980 R08: 000000008140fd0c R09: 0000000800000000
R10: 0000000080000000 R11: 0000000000000246 R12: 000000000005b094
R13: 00007fab899b405c R14: 0000000000000032 R15: 00007fab899b5980
DEBUG: waiting rtnl_mutex for 3862 jiffies.
task:syz-executor.3 state:D stack:26480 pid:8695 tgid:8694 ppid:5123 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__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:6724
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
sock_write_iter+0x2dd/0x400 net/socket.c:1160
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:0x7f809707cf29
RSP: 002b:00007f8096bff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f80971b3f80 RCX: 00007f809707cf29
RDX: 0000000000000024 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007f80970ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f80971b3f80 R15: 00007ffdd515f3d8
DEBUG: waiting rtnl_mutex for 3693 jiffies.
task:syz-executor.1 state:D stack:26112 pid:8713 tgid:8712 ppid:5909 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210
netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
netlink_unicast+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_sendmsg+0x525/0x7d0 net/socket.c:2597
___sys_sendmsg net/socket.c:2651 [inline]
__sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc02f47cf29
RSP: 002b:00007fc03012f0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fc02f5b3f80 RCX: 00007fc02f47cf29
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003
RBP: 00007fc02f4ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc02f5b3f80 R15: 00007ffe96dbaee8
DEBUG: waiting rtnl_mutex for 705 jiffies.
task:kworker/u8:10 state:D stack:22640 pid:7029 tgid:7029 ppid:2 flags:0x00004000
Workqueue: ipv6_addrconf addrconf_verify_work
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733
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
Showing all locks held in the system:
3 locks held by kworker/u8:3/53:
5 locks held by kworker/u8:4/62:
4 locks held by kworker/u8:5/985:
3 locks held by kworker/u8:7/2787:
2 locks held by kworker/u8:8/2860:
2 locks held by getty/4840:
#0: ffff88802abcb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
2 locks held by syz-executor.0/5117:
1 lock held by syz-executor.3/5123:
4 locks held by kworker/u8:9/5654:
3 locks held by kworker/u8:10/7029:
#0: ffff888029919948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline]
#0: ffff888029919948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305
#1: ffffc9000cf87d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc9000cf87d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733
1 lock held by syz-executor.2/8243:
2 locks held by syz-executor.2/8658:
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3500
#1: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#1: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:959
1 lock held by syz-executor.3/8695:
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724
2 locks held by syz-executor.1/8713:
#0: ffffffff8f660770 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
6 locks held by syz-executor.0/8736:
#0: ffff88801185c0e0 (&type->s_umount_key#67/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344
#1: ffffffff8e210f60 (console_lock){+.+.}-{0:0}, at: _printk+0xd5/0x120 kernel/printk/printk.c:2447
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:338 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:287 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: console_flush_all+0x147/0xf50 kernel/printk/printk.c:3033
#3: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789
#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: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline]
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6688
=============================================
DEBUG: holding rtnl_mutex for 4294 jiffies.
task:syz-executor.2 state:D stack:23376 pid:8658 tgid:8658 ppid:8243 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
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
unregister_netdevice_many net/core/dev.c:11327 [inline]
unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11206
unregister_netdevice include/linux/netdevice.h:3120 [inline]
__tun_detach+0x6b6/0x1600 drivers/net/tun.c:685
tun_detach drivers/net/tun.c:701 [inline]
tun_chr_close+0x108/0x1b0 drivers/net/tun.c:3500
__fput+0x24a/0x8a0 fs/file_table.c:422
task_work_run+0x24f/0x310 kernel/task_work.c:180
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fab8987cf29
RSP: 002b:00007fff2a939228 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fab899b5980 RCX: 00007fab8987cf29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fab899b5980 R08: 000000008140fd0c R09: 0000000800000000
R10: 0000000080000000 R11: 0000000000000246 R12: 000000000005b094
R13: 00007fab899b405c R14: 0000000000000032 R15: 00007fab899b5980
DEBUG: waiting rtnl_mutex for 3966 jiffies.
task:syz-executor.3 state:D stack:26480 pid:8695 tgid:8694 ppid:5123 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__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:6724
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
sock_write_iter+0x2dd/0x400 net/socket.c:1160
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:0x7f809707cf29
RSP: 002b:00007f8096bff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f80971b3f80 RCX: 00007f809707cf29
RDX: 0000000000000024 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007f80970ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f80971b3f80 R15: 00007ffdd515f3d8
DEBUG: waiting rtnl_mutex for 3797 jiffies.
task:syz-executor.1 state:D stack:26112 pid:8713 tgid:8712 ppid:5909 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210
netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
netlink_unicast+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_sendmsg+0x525/0x7d0 net/socket.c:2597
___sys_sendmsg net/socket.c:2651 [inline]
__sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc02f47cf29
RSP: 002b:00007fc03012f0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fc02f5b3f80 RCX: 00007fc02f47cf29
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003
RBP: 00007fc02f4ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc02f5b3f80 R15: 00007ffe96dbaee8
DEBUG: waiting rtnl_mutex for 809 jiffies.
task:kworker/u8:10 state:D stack:22640 pid:7029 tgid:7029 ppid:2 flags:0x00004000
Workqueue: ipv6_addrconf addrconf_verify_work
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733
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
Showing all locks held in the system:
3 locks held by kworker/u8:3/53:
5 locks held by kworker/u8:4/62:
4 locks held by kworker/u8:5/985:
3 locks held by kworker/u8:7/2787:
2 locks held by kworker/u8:8/2860:
2 locks held by getty/4840:
#0: ffff88802abcb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
2 locks held by syz-executor.0/5117:
1 lock held by syz-executor.3/5123:
4 locks held by kworker/u8:9/5654:
3 locks held by kworker/u8:10/7029:
#0: ffff888029919948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline]
#0: ffff888029919948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305
#1: ffffc9000cf87d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline]
#1: ffffc9000cf87d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305
#2: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733
1 lock held by syz-executor.2/8243:
2 locks held by syz-executor.2/8658:
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3500
#1: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#1: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:959
1 lock held by syz-executor.3/8695:
#0: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724
2 locks held by syz-executor.1/8713:
#0: ffffffff8f660770 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8f5f7008 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
6 locks held by syz-executor.0/8736:
#0: ffff88801185c0e0 (&type->s_umount_key#67/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344
#1: ffffffff8e210f60 (console_lock){+.+.}-{0:0}, at: _printk+0xd5/0x120 kernel/printk/printk.c:2447
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:338 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:287 [inline]
#2: ffffffff8e210b70 (console_srcu){....}-{0:0}, at: console_flush_all+0x147/0xf50 kernel/printk/printk.c:3033
#3: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789
#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: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline]
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline]
#5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6688
=============================================
DEBUG: holding rtnl_mutex for 4398 jiffies.
task:syz-executor.2 state:D stack:23376 pid:8658 tgid:8658 ppid:8243 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
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
unregister_netdevice_many net/core/dev.c:11327 [inline]
unregister_netdevice_queue+0x303/0x370 net/core/dev.c:11206
unregister_netdevice include/linux/netdevice.h:3120 [inline]
__tun_detach+0x6b6/0x1600 drivers/net/tun.c:685
tun_detach drivers/net/tun.c:701 [inline]
tun_chr_close+0x108/0x1b0 drivers/net/tun.c:3500
__fput+0x24a/0x8a0 fs/file_table.c:422
task_work_run+0x24f/0x310 kernel/task_work.c:180
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fab8987cf29
RSP: 002b:00007fff2a939228 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fab899b5980 RCX: 00007fab8987cf29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fab899b5980 R08: 000000008140fd0c R09: 0000000800000000
R10: 0000000080000000 R11: 0000000000000246 R12: 000000000005b094
R13: 00007fab899b405c R14: 0000000000000032 R15: 00007fab899b5980
DEBUG: waiting rtnl_mutex for 4070 jiffies.
task:syz-executor.3 state:D stack:26480 pid:8695 tgid:8694 ppid:5123 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__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:6724
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
sock_write_iter+0x2dd/0x400 net/socket.c:1160
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:0x7f809707cf29
RSP: 002b:00007f8096bff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f80971b3f80 RCX: 00007f809707cf29
RDX: 0000000000000024 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007f80970ec074 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f80971b3f80 R15: 00007ffdd515f3d8
DEBUG: waiting rtnl_mutex for 3901 jiffies.
task:syz-executor.1 state:D stack:26112 pid:8713 tgid:8712 ppid:5909 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16451
genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210