INFO: task khugepaged:33 blocked for more than 143 seconds.
Not tainted 5.15.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:khugepaged state:D stack:23984 pid: 33 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6250
schedule+0xd2/0x260 kernel/sched/core.c:6323
schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
__flush_work+0x56c/0xb10 kernel/workqueue.c:3084
__lru_add_drain_all+0x3fd/0x760 mm/swap.c:848
khugepaged_do_scan mm/khugepaged.c:2222 [inline]
khugepaged+0x112/0x5390 mm/khugepaged.c:2283
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INFO: task syz-executor.3:26109 blocked for more than 143 seconds.
Not tainted 5.15.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:27624 pid:26109 ppid: 6551 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6250
schedule+0xd2/0x260 kernel/sched/core.c:6323
synchronize_rcu_expedited+0x471/0x620 kernel/rcu/tree_exp.h:852
synchronize_rcu+0x132/0x190 kernel/rcu/tree.c:3744
synchronize_net+0x4a/0x50 net/core/dev.c:10984
packet_release+0xa2a/0xcc0 net/packet/af_packet.c:3135
__sock_release+0xcd/0x280 net/socket.c:649
sock_close+0x18/0x20 net/socket.c:1314
__fput+0x286/0x9f0 fs/file_table.c:280
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f4a2323c72b
RSP: 002b:00007fff089c3d40 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f4a2323c72b
RDX: 00007f4a233a3258 RSI: 0000000000000081 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00007f4a233a3258
R13: 00007fff089c3e60 R14: 00007f4a2339cf60 R15: 00000000000c3dde
INFO: task syz-executor.2:26114 blocked for more than 144 seconds.
Not tainted 5.15.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:27624 pid:26114 ppid: 6549 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6250
schedule+0xd2/0x260 kernel/sched/core.c:6323
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382
__mutex_lock_common kernel/locking/mutex.c:680 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740
exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
synchronize_rcu_expedited+0x2d5/0x620 kernel/rcu/tree_exp.h:836
synchronize_rcu+0x132/0x190 kernel/rcu/tree.c:3744
synchronize_net+0x4a/0x50 net/core/dev.c:10984
packet_release+0xa2a/0xcc0 net/packet/af_packet.c:3135
__sock_release+0xcd/0x280 net/socket.c:649
sock_close+0x18/0x20 net/socket.c:1314
__fput+0x286/0x9f0 fs/file_table.c:280
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fb50f97272b
RSP: 002b:00007ffd9d264cd0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fb50f97272b
RDX: 00007fb50fad8f50 RSI: 0000000000000081 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fb50fad8f50
R13: 00007ffd9d264df0 R14: 00007fb50fad2f60 R15: 00000000000c40b1
INFO: task syz-executor.4:26117 blocked for more than 145 seconds.
Not tainted 5.15.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27624 pid:26117 ppid: 6584 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6250
schedule+0xd2/0x260 kernel/sched/core.c:6323
schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
__synchronize_srcu+0x1f2/0x290 kernel/rcu/srcutree.c:930
tracepoint_synchronize_unregister include/linux/tracepoint.h:93 [inline]
perf_trace_event_unreg.isra.0+0xbc/0x2b0 kernel/trace/trace_event_perf.c:168
perf_trace_destroy+0xb5/0xf0 kernel/trace/trace_event_perf.c:243
_free_event+0x2ee/0x1390 kernel/events/core.c:4982
put_event kernel/events/core.c:5076 [inline]
perf_event_release_kernel+0x6f2/0x940 kernel/events/core.c:5191
perf_release+0x33/0x40 kernel/events/core.c:5201
__fput+0x286/0x9f0 fs/file_table.c:280
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f41fc95672b
RSP: 002b:00007ffca3636510 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f41fc95672b
RDX: 0000000000000000 RSI: ffffffff893abd41 RDI: 0000000000000004
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2d421900
R10: 0000000000000a72 R11: 0000000000000293 R12: 00007f41fcab7b60
R13: 00007f41fcab7b60 R14: 00007f41fcab6f60 R15: 00000000000c433e
Showing all locks held in the system:
2 locks held by ksoftirqd/1/19:
3 locks held by kworker/1:0/20:
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269
#1: ffffc90000da7db0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273
#2: ffffffff8d108828 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:251
1 lock held by khungtaskd/27:
#0: ffffffff8b983a20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
2 locks held by kworker/1:2/137:
#0: ffff888010c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888010c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888010c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff888010c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff888010c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff888010c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269
#1: ffffc900020afdb0 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273
1 lock held by systemd-journal/2960:
#0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478
1 lock held by in:imklog/6232:
2 locks held by rs:main Q:Reg/6233:
#0: ffff88801d78b270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
#1: ffff88814a9ee460 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 fs/read_write.c:643
1 lock held by syz-executor.3/26109:
#0: ffffffff8b98ccb0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x44/0x440 kernel/rcu/tree.c:3985
2 locks held by syz-executor.2/26114:
#0: ffffffff8d108828 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline]
#0: ffffffff8d108828 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x180 drivers/net/tun.c:3397
#1: ffffffff8b98cda8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
#1: ffffffff8b98cda8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4fa/0x620 kernel/rcu/tree_exp.h:836
1 lock held by syz-executor.4/26117:
#0: ffffffff8d108828 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline]
#0: ffffffff8d108828 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3a/0x180 drivers/net/tun.c:3397
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105
nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:295
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 26183 Comm: kworker/1:4 Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: wg-crypt-wg0 wg_packet_decrypt_worker
RIP: 0010:get_stack_info+0x2/0x90 arch/x86/kernel/dumpstack_64.c:193
Code: 77 0f 53 89 fb 77 0b 48 8b 04 dd 00 d2 85 89 5b c3 c3 48 89 de 48 c7 c7 c0 93 79 8b e8 c7 2d ca 02 eb e4 0f 1f 44 00 00 41 55 <49> 89 d5 41 54 55 48 89 cd 53 65 48 8b 1c 25 40 70 02 00 48 85 f6
RSP: 0018:ffffc90000dbff20 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffffc90000dc0008 RCX: ffffc90000dbffa0
RDX: ffffc90000dbff80 RSI: ffff88801771ba00 RDI: ffffc90000dbff30
RBP: ffff88801771ba00 R08: 0000000000000001 R09: ffffc90000dbff80
R10: fffff520001b7ffb R11: 000000000000003f R12: ffffc90000dbffa0
R13: ffffc90000dbffa8 R14: ffffc90000dbffb8 R15: ffffc90000dbff80
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f392666f740 CR3: 000000001bd7a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__unwind_start+0x4ae/0x800 arch/x86/kernel/unwind_orc.c:681
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0x5c/0xe0 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38
kasan_set_track+0x21/0x30 mm/kasan/common.c:46
kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:370
____kasan_slab_free mm/kasan/common.c:366 [inline]
____kasan_slab_free mm/kasan/common.c:328 [inline]
__kasan_slab_free+0xff/0x130 mm/kasan/common.c:374
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:1723 [inline]
slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1749
slab_free mm/slub.c:3513 [inline]
kmem_cache_free+0x92/0x5e0 mm/slub.c:3529
kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:700
__kfree_skb net/core/skbuff.c:757 [inline]
consume_skb net/core/skbuff.c:912 [inline]
consume_skb+0xcf/0x160 net/core/skbuff.c:906
packet_rcv+0xea/0x13e0 net/packet/af_packet.c:2214
dev_queue_xmit_nit+0x7a9/0xa90 net/core/dev.c:2326
xmit_one net/core/dev.c:3585 [inline]
dev_hard_start_xmit+0xad/0x920 net/core/dev.c:3606
__dev_queue_xmit+0x299a/0x3630 net/core/dev.c:4226
br_dev_queue_push_xmit+0x25a/0x740 net/bridge/br_forward.c:53
NF_HOOK include/linux/netfilter.h:307 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
br_forward_finish net/bridge/br_forward.c:66 [inline]
NF_HOOK include/linux/netfilter.h:307 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
__br_forward+0x476/0x620 net/bridge/br_forward.c:115
deliver_clone net/bridge/br_forward.c:131 [inline]
maybe_deliver+0x331/0x430 net/bridge/br_forward.c:189
br_flood+0x13a/0x450 net/bridge/br_forward.c:231
br_handle_frame_finish+0xf66/0x1850 net/bridge/br_input.c:168
nf_hook_bridge_pre net/bridge/br_input.c:252 [inline]
br_handle_frame+0xe6b/0x1180 net/bridge/br_input.c:370
__netif_receive_skb_core+0x9e1/0x3770 net/core/dev.c:5356
__netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5460
__netif_receive_skb+0x24/0x1b0 net/core/dev.c:5576
process_backlog+0x2a5/0x6c0 net/core/dev.c:6452
__napi_poll+0xaf/0x440 net/core/dev.c:7020
napi_poll net/core/dev.c:7087 [inline]
net_rx_action+0x801/0xb40 net/core/dev.c:7174
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
do_softirq.part.0+0xde/0x130 kernel/softirq.c:459
do_softirq kernel/softirq.c:451 [inline]
__local_bh_enable_ip+0x102/0x120 kernel/softirq.c:383
spin_unlock_bh include/linux/spinlock.h:394 [inline]
ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline]
wg_packet_decrypt_worker+0x168/0x5d0 drivers/net/wireguard/receive.c:505
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: 77 0f ja 0x11
2: 53 push %rbx
3: 89 fb mov %edi,%ebx
5: 77 0b ja 0x12
7: 48 8b 04 dd 00 d2 85 mov -0x767a2e00(,%rbx,8),%rax
e: 89
f: 5b pop %rbx
10: c3 retq
11: c3 retq
12: 48 89 de mov %rbx,%rsi
15: 48 c7 c7 c0 93 79 8b mov $0xffffffff8b7993c0,%rdi
1c: e8 c7 2d ca 02 callq 0x2ca2de8
21: eb e4 jmp 0x7
23: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
28: 41 55 push %r13
* 2a: 49 89 d5 mov %rdx,%r13 <-- trapping instruction
2d: 41 54 push %r12
2f: 55 push %rbp
30: 48 89 cd mov %rcx,%rbp
33: 53 push %rbx
34: 65 48 8b 1c 25 40 70 mov %gs:0x27040,%rbx
3b: 02 00
3d: 48 85 f6 test %rsi,%rsi