INFO: task syz.2.5922:18374 blocked for more than 148 seconds.
Not tainted 6.15.0-rc4-syzkaller-00147-gebd297a2affa #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.5922 state:D stack:28344 pid:18374 tgid:18374 ppid:5829 task_flags:0x400040 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x116f/0x5de0 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0xe7/0x3a0 kernel/sched/core.c:6860
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
__mutex_lock_common kernel/locking/mutex.c:678 [inline]
__mutex_lock+0x6c7/0xb90 kernel/locking/mutex.c:746
tty_release_struct+0xad/0xe0 drivers/tty/tty_io.c:1700
tty_release+0xe2d/0x1430 drivers/tty/tty_io.c:1861
__fput+0x3ff/0xb70 fs/file_table.c:465
task_work_run+0x14d/0x240 kernel/task_work.c:227
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:329 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218
do_syscall_64+0xda/0x260 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f01fdf8e969
RSP: 002b:00007ffe2c2bf138 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 000000000004d41c RCX: 00007f01fdf8e969
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f01fe1b7ba0 R08: 0000000000000001 R09: 000000032c2bf42f
R10: 00007f01fde00000 R11: 0000000000000246 R12: 00007f01fe1b5fac
R13: 00007f01fe1b5fa0 R14: ffffffffffffffff R15: 00007ffe2c2bf250
Showing all locks held in the system:
1 lock held by kthreadd/2:
4 locks held by kworker/0:0/9:
3 locks held by kworker/0:1/10:
#0: ffff88801b478d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc900000f7d18 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffffffff8e3caaf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x280/0x3c0 kernel/rcu/tree_exp.h:304
4 locks held by kworker/u8:0/12:
1 lock held by kworker/R-mm_pe/14:
4 locks held by kworker/1:0/24:
1 lock held by khungtaskd/31:
#0: ffffffff8e3bf5c0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e3bf5c0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8e3bf5c0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6764
3 locks held by kworker/u8:2/36:
4 locks held by kworker/u8:5/989:
#0: ffff88805eb63148 ((wq_completion)wg-kex-wg2){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc90003d97d18 ((work_completion)(&peer->transmit_handshake_work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffff88805e6c1308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0xec/0x650 drivers/net/wireguard/noise.c:529
#3: ffff88805cd95278 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_create_initiation+0x100/0x650 drivers/net/wireguard/noise.c:530
2 locks held by kworker/u8:6/996:
2 locks held by kworker/R-bat_e/3392:
6 locks held by kworker/u8:7/3458:
4 locks held by kworker/u8:9/3490:
4 locks held by kworker/u8:10/3492:
3 locks held by kworker/1:2/4613:
3 locks held by syslogd/5171:
3 locks held by dhcpcd/5482:
2 locks held by getty/5565:
#0: ffff8880367120a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002ffe2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41b/0x14f0 drivers/tty/n_tty.c:2222
1 lock held by syz-executor/5801:
1 lock held by syz-executor/5816:
1 lock held by syz-executor/5817:
4 locks held by syz-executor/5825:
4 locks held by kworker/0:4/5867:
#0: ffff888035291548 ((wq_completion)wg-kex-wg2#2){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213
#1: ffffc90004277d18 ((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))) *)(( unsigned long)((worker))))); (typeof((__typeof__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214
#2: ffff88805e6c1308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x1c2/0x880 drivers/net/wireguard/noise.c:598
#3: ffff88805cd95278 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x5ac/0x880 drivers/net/wireguard/noise.c:632
4 locks held by kworker/1:5/5868:
2 locks held by kworker/0:5/5869:
3 locks held by kworker/1:6/5896:
3 locks held by kworker/0:6/5897:
1 lock held by kworker/R-bond1/9881:
1 lock held by syz.0.5867/18263:
1 lock held by syz.2.5922/18374:
#0: ffffffff8f0a5a28 (tty_mutex){+.+.}-{4:4}, at: tty_release_struct+0xad/0xe0 drivers/tty/tty_io.c:1700
4 locks held by kworker/u8:1/18390:
3 locks held by kworker/u8:3/18391:
3 locks held by kworker/u8:4/18392:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc4-syzkaller-00147-gebd297a2affa #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
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:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline]
watchdog+0xf70/0x12c0 kernel/hung_task.c:437
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 24 Comm: kworker/1:0 Not tainted 6.15.0-rc4-syzkaller-00147-gebd297a2affa #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
Workqueue: wg-kex-wg0 wg_packet_handshake_receive_worker
RIP: 0010:hlock_class+0x13/0x70 kernel/locking/lockdep.c:233
Code: 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f b7 47 20 66 25 ff 1f 0f b7 c0 48 0f a3 05 4d eb 12 14 <73> 15 48 8d 04 80 48 8d 04 80 48 8d 04 c5 60 8f aa 95 c3 cc cc cc
RSP: 0018:ffffc90000a07978 EFLAGS: 00000003
RAX: 0000000000000007 RBX: ffff88801daf0be0 RCX: 000000009be35b6b
RDX: 0000000000000000 RSI: ffff88801daf0be0 RDI: ffff88801daf0bb8
RBP: ffff88801daf0af0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000006 R11: 0000000000000000 R12: 0000000000000007
R13: 0000000000000001 R14: ffff88801daf0000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff888124ae2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8e23f80178 CR3: 000000000e180000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_acquire+0x974/0x1ba0 kernel/locking/lockdep.c:5231
lock_acquire kernel/locking/lockdep.c:5866 [inline]
lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5823
rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
rcu_read_lock include/linux/rcupdate.h:841 [inline]
class_rcu_constructor include/linux/rcupdate.h:1155 [inline]
unwind_next_frame+0xd1/0x20a0 arch/x86/kernel/unwind_orc.c:479
arch_stack_walk+0x94/0x100 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:576
poison_slab_object mm/kasan/common.c:247 [inline]
__kasan_slab_free+0x51/0x70 mm/kasan/common.c:264
kasan_slab_free include/linux/kasan.h:233 [inline]
slab_free_hook mm/slub.c:2398 [inline]
slab_free mm/slub.c:4656 [inline]
kmem_cache_free+0x2d4/0x4d0 mm/slub.c:4758
__skb_ext_put+0x102/0x2c0 net/core/skbuff.c:7128
skb_ext_put include/linux/skbuff.h:4860 [inline]
skb_ext_put include/linux/skbuff.h:4857 [inline]
skb_release_head_state+0x1c2/0x290 net/core/skbuff.c:1154
skb_release_all net/core/skbuff.c:1160 [inline]
__kfree_skb net/core/skbuff.c:1176 [inline]
sk_skb_reason_drop+0xeb/0x1a0 net/core/skbuff.c:1214
kfree_skb_reason include/linux/skbuff.h:1279 [inline]
kfree_skb include/linux/skbuff.h:1288 [inline]
ip6_mc_input+0x780/0xfd0 net/ipv6/ip6_input.c:591
dst_input include/net/dst.h:469 [inline]
dst_input include/net/dst.h:467 [inline]
ip6_rcv_finish+0x3a2/0x5b0 net/ipv6/ip6_input.c:79
ip_sabotage_in+0x21b/0x290 net/bridge/br_netfilter_hooks.c:993
nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
nf_hook_slow+0xbb/0x200 net/netfilter/core.c:626
nf_hook.constprop.0+0x422/0x750 include/linux/netfilter.h:269
NF_HOOK include/linux/netfilter.h:312 [inline]
ipv6_rcv+0xa4/0x680 net/ipv6/ip6_input.c:309
__netif_receive_skb_one_core+0x12d/0x1e0 net/core/dev.c:5887
__netif_receive_skb+0x1d/0x160 net/core/dev.c:6000
netif_receive_skb_internal net/core/dev.c:6086 [inline]
netif_receive_skb+0x137/0x7b0 net/core/dev.c:6145
NF_HOOK include/linux/netfilter.h:314 [inline]
NF_HOOK include/linux/netfilter.h:308 [inline]
br_pass_frame_up+0x346/0x490 net/bridge/br_input.c:70
br_handle_frame_finish+0xebb/0x1c20 net/bridge/br_input.c:226
br_nf_hook_thresh+0x301/0x410 net/bridge/br_netfilter_hooks.c:1170
br_nf_pre_routing_finish_ipv6+0x76a/0xfb0 net/bridge/br_netfilter_ipv6.c:154
NF_HOOK include/linux/netfilter.h:314 [inline]
br_nf_pre_routing_ipv6+0x3cd/0x8c0 net/bridge/br_netfilter_ipv6.c:184
br_nf_pre_routing+0x860/0x15b0 net/bridge/br_netfilter_hooks.c:508
nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:282 [inline]
br_handle_frame+0xad5/0x14a0 net/bridge/br_input.c:433
__netif_receive_skb_core.constprop.0+0xa23/0x4a00 net/core/dev.c:5773
__netif_receive_skb_one_core+0xb0/0x1e0 net/core/dev.c:5885
__netif_receive_skb+0x1d/0x160 net/core/dev.c:6000
process_backlog+0x442/0x15e0 net/core/dev.c:6352
__napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7324
napi_poll net/core/dev.c:7388 [inline]
net_rx_action+0xa97/0x1010 net/core/dev.c:7510
handle_softirqs+0x216/0x8e0 kernel/softirq.c:579
do_softirq kernel/softirq.c:480 [inline]
do_softirq+0xb2/0xf0 kernel/softirq.c:467
__local_bh_enable_ip+0x100/0x120 kernel/softirq.c:407
local_bh_enable include/linux/bottom_half.h:33 [inline]
fpregs_unlock arch/x86/include/asm/fpu/api.h:77 [inline]
kernel_fpu_end+0x5e/0x70 arch/x86/kernel/fpu/core.c:460
blake2s_compress+0x7f/0xe0 arch/x86/crypto/blake2s-glue.c:49
blake2s_final+0xc9/0x150 lib/crypto/blake2s.c:54
hmac.constprop.0+0x252/0x420 drivers/net/wireguard/noise.c:325
kdf.constprop.0+0x122/0x280 drivers/net/wireguard/noise.c:360
message_ephemeral+0x5f/0x70 drivers/net/wireguard/noise.c:493
wg_noise_handshake_consume_initiation+0x248/0x880 drivers/net/wireguard/noise.c:605
wg_receive_handshake_packet+0x219/0xbf0 drivers/net/wireguard/receive.c:144
wg_packet_handshake_receive_worker+0x17f/0x3a0 drivers/net/wireguard/receive.c:213
process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3319 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245