INFO: task syz.0.4185:13867 blocked for more than 145 seconds.
Not tainted 6.11.0-rc5-syzkaller-00219-g1934261d8974 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.4185 state:D stack:28352 pid:13867 tgid:13865 ppid:5439 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xe37/0x5490 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 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+0x5b8/0x9c0 kernel/locking/mutex.c:752
tty_open_by_driver drivers/tty/tty_io.c:2052 [inline]
tty_open+0x55b/0xfb0 drivers/tty/tty_io.c:2135
chrdev_open+0x26d/0x6f0 fs/char_dev.c:414
do_dentry_open+0x91f/0x15f0 fs/open.c:959
vfs_open+0x82/0x3f0 fs/open.c:1089
do_open fs/namei.c:3727 [inline]
path_openat+0x2141/0x2d20 fs/namei.c:3886
do_filp_open+0x1dc/0x430 fs/namei.c:3913
do_sys_openat2+0x17a/0x1e0 fs/open.c:1416
do_sys_open fs/open.c:1431 [inline]
__do_sys_openat fs/open.c:1447 [inline]
__se_sys_openat fs/open.c:1442 [inline]
__x64_sys_openat+0x175/0x210 fs/open.c:1442
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0b7f978850
RSP: 002b:00007f0b80749b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f0b7f978850
RDX: 0000000000000002 RSI: 00007f0b80749c10 RDI: 00000000ffffff9c
RBP: 00007f0b80749c10 R08: 0000000000000000 R09: 00007f0b80749987
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f0b7fb15f80 R15: 00007ffdf7a9b2d8
Showing all locks held in the system:
4 locks held by kworker/0:1/9:
1 lock held by kworker/R-mm_pe/13:
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool kernel/workqueue.c:2730 [inline]
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0x87c/0xe30 kernel/workqueue.c:3524
5 locks held by kworker/1:0/25:
1 lock held by khungtaskd/30:
#0: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff8ddb9fe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626
4 locks held by kworker/1:1/46:
4 locks held by kworker/u8:5/144:
#0: ffff88804ec4f148 ((wq_completion)wg-kex-wg0#7){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1: ffffc90002d97d80 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2: ffff8880631c1248 (&wg->static_identity.lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0xed/0x650 drivers/net/wireguard/noise.c:529
#3: ffff88807aa34e38 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_create_initiation+0x101/0x650 drivers/net/wireguard/noise.c:530
3 locks held by kworker/0:2/942:
2 locks held by kworker/u8:7/1107:
4 locks held by kworker/u8:8/1126:
1 lock held by kworker/R-dm_bu/2375:
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x420 kernel/workqueue.c:2671
4 locks held by kworker/u8:10/2533:
3 locks held by syslogd/4659:
2 locks held by dhcpcd/4890:
2 locks held by getty/4978:
#0: ffff888030ae70a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211
2 locks held by syz-executor/5435:
1 lock held by syz-executor/5438:
3 locks held by syz-executor/5444:
4 locks held by syz-executor/5445:
1 lock held by syz-executor/5448:
#0: ffff8880300c8308 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_target+0xab/0x290 net/netfilter/x_tables.c:254
1 lock held by kworker/R-wg-cr/5468:
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x420 kernel/workqueue.c:2671
1 lock held by kworker/R-wg-cr/5470:
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x420 kernel/workqueue.c:2671
1 lock held by kworker/R-wg-cr/5474:
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_attach_to_pool+0x27/0x420 kernel/workqueue.c:2671
2 locks held by kworker/R-wg-cr/5475:
1 lock held by kworker/R-wg-cr/5476:
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool kernel/workqueue.c:2730 [inline]
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0x87c/0xe30 kernel/workqueue.c:3524
1 lock held by kworker/R-wg-cr/5478:
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool kernel/workqueue.c:2730 [inline]
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0x87c/0xe30 kernel/workqueue.c:3524
1 lock held by kworker/R-wg-cr/5479:
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool kernel/workqueue.c:2730 [inline]
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0x87c/0xe30 kernel/workqueue.c:3524
1 lock held by kworker/R-wg-cr/5481:
1 lock held by kworker/R-wg-cr/5482:
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: worker_detach_from_pool kernel/workqueue.c:2730 [inline]
#0: ffffffff8dc73f48 (wq_pool_attach_mutex){+.+.}-{3:3}, at: rescuer_thread+0x87c/0xe30 kernel/workqueue.c:3524
1 lock held by kworker/R-wg-cr/5483:
2 locks held by kworker/0:3/5484:
4 locks held by kworker/0:4/5486:
5 locks held by kworker/1:5/5487:
2 locks held by kworker/0:5/5506:
4 locks held by kworker/0:6/5524:
4 locks held by kworker/0:7/5531:
1 lock held by syz.0.4185/13867:
#0: ffffffff8e9bb748 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2052 [inline]
#0: ffffffff8e9bb748 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55b/0xfb0 drivers/tty/tty_io.c:2135
2 locks held by kworker/1:3/13874:
3 locks held by kworker/0:0/13877:
3 locks held by kworker/1:9/13878:
9 locks held by kworker/0:8/13880:
3 locks held by kworker/0:9/13881:
2 locks held by syz-executor/13884:
3 locks held by kworker/1:12/13885:
#0: ffff88802f9b2d48 ((wq_completion)wg-kex-wg0#4){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1: ffffc9001847fd80 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"((typeof(*((worker))) *)((worker)))); (typeof((typeof(*((worker))) *)((worker)))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2: ffff88807aa30338 (&handshake->lock){++++}-{3:3}, at: wg_noise_handshake_begin_session+0x30/0xe80 drivers/net/wireguard/noise.c:822
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc5-syzkaller-00219-g1934261d8974 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf0c/0x1240 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 13880 Comm: kworker/0:8 Not tainted 6.11.0-rc5-syzkaller-00219-g1934261d8974 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:182 [inline]
RIP: 0010:write_comp_data+0x11/0x90 kernel/kcov.c:245
Code: cc cc cc cc 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 49 89 d2 49 89 f8 49 89 f1 65 48 8b 15 7f 1a 78 7e <65> 8b 05 80 1a 78 7e a9 00 01 ff 00 74 1d f6 c4 01 74 67 a9 00 00
RSP: 0018:ffffc90000006e28 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc90000006ef8 RCX: ffffffff813cdd16
RDX: ffff888022309e00 RSI: 0000000000000000 RDI: 0000000000000005
RBP: ffffc90000007b98 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000000 R12: ffffc90000006f00
R13: ffffc90000006f08 R14: ffffc90000000000 R15: 0000000000000002
FS: 0000000000000000(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc259e67ff8 CR3: 000000000db7c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
on_stack arch/x86/include/asm/stacktrace.h:60 [inline]
stack_access_ok+0x96/0x270 arch/x86/kernel/unwind_orc.c:393
deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline]
unwind_next_frame+0x1b94/0x23a0 arch/x86/kernel/unwind_orc.c:648
arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
poison_kmalloc_redzone mm/kasan/common.c:370 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:387
kmalloc_noprof include/linux/slab.h:681 [inline]
kzalloc_noprof include/linux/slab.h:807 [inline]
ref_tracker_alloc+0x17c/0x5b0 lib/ref_tracker.c:203
__netdev_tracker_alloc include/linux/netdevice.h:4047 [inline]
netdev_hold include/linux/netdevice.h:4076 [inline]
dst_init+0xda/0x580 net/core/dst.c:52
dst_alloc+0xbb/0x1a0 net/core/dst.c:93
ip6_dst_alloc+0x2c/0x90 net/ipv6/route.c:342
icmp6_dst_alloc+0x70/0x490 net/ipv6/route.c:3275
ndisc_send_skb+0x1279/0x1c30 net/ipv6/ndisc.c:491
ndisc_send_na+0x46b/0xa50 net/ipv6/ndisc.c:576
ndisc_recv_ns+0x8cb/0x1430 net/ipv6/ndisc.c:960
ndisc_rcv+0x558/0x620 net/ipv6/ndisc.c:1860
icmpv6_rcv+0x11da/0x1930 net/ipv6/icmp.c:979
ip6_protocol_deliver_rcu+0xf70/0x1510 net/ipv6/ip6_input.c:438
ip6_input_finish+0x14f/0x2f0 net/ipv6/ip6_input.c:483
NF_HOOK include/linux/netfilter.h:314 [inline]
NF_HOOK include/linux/netfilter.h:308 [inline]
ip6_input+0xa1/0xd0 net/ipv6/ip6_input.c:492
ip6_mc_input+0x48b/0xfd0 net/ipv6/ip6_input.c:586
dst_input include/net/dst.h:460 [inline]
dst_input include/net/dst.h:458 [inline]
ip6_rcv_finish net/ipv6/ip6_input.c:79 [inline]
NF_HOOK include/linux/netfilter.h:314 [inline]
NF_HOOK include/linux/netfilter.h:308 [inline]
ipv6_rcv+0x45a/0x680 net/ipv6/ip6_input.c:310
__netif_receive_skb_one_core+0x12e/0x1e0 net/core/dev.c:5661
__netif_receive_skb+0x1d/0x160 net/core/dev.c:5775
process_backlog+0x443/0x15f0 net/core/dev.c:6108
__napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:6772
napi_poll net/core/dev.c:6841 [inline]
net_rx_action+0xa92/0x1010 net/core/dev.c:6963
handle_softirqs+0x216/0x8f0 kernel/softirq.c:554
do_softirq kernel/softirq.c:455 [inline]
do_softirq+0xb2/0xf0 kernel/softirq.c:442
__local_bh_enable_ip+0x100/0x120 kernel/softirq.c:382
spin_unlock_bh include/linux/spinlock.h:396 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline]
nsim_dev_trap_report_work+0x870/0xc80 drivers/net/netdevsim/dev.c:850
process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xed0 kernel/workqueue.c:3389
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244