INFO: task kcompactd0:31 blocked for more than 143 seconds.
Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kcompactd0 state:D stack:27744 pid: 31 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5184 [inline]
__schedule+0xa09/0x4f10 kernel/sched/core.c:6496
schedule+0xd2/0x1f0 kernel/sched/core.c:6568
io_schedule+0xba/0x130 kernel/sched/core.c:8683
folio_wait_bit_common+0x4f2/0xa80 mm/filemap.c:1298
lock_page include/linux/pagemap.h:960 [inline]
__unmap_and_move mm/migrate.c:1013 [inline]
unmap_and_move mm/migrate.c:1166 [inline]
migrate_pages+0xc62/0x5980 mm/migrate.c:1445
compact_zone+0x1ac4/0x3750 mm/compaction.c:2432
proactive_compact_node+0x103/0x1c0 mm/compaction.c:2684
kcompactd+0x5af/0xf20 mm/compaction.c:2994
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8bd864f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8bd861f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8bd87040 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
2 locks held by getty/3279:
#0: ffff88807f5e8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2177
1 lock held by syz-executor.0/28313:
1 lock held by syz-executor.0/28415:
1 lock held by syz-executor.0/28489:
1 lock held by syz-executor.0/28613:
2 locks held by syz-executor.0/28695:
1 lock held by syz-executor.0/28751:
1 lock held by syz-executor.0/28868:
1 lock held by syz-executor.0/29014:
1 lock held by syz-executor.0/29267:
1 lock held by syz-executor.0/29330:
4 locks held by kworker/u4:2/29513:
2 locks held by syz-executor.0/29661:
#0: ffff8880186e8fd8 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff8880186e8fd8 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault+0x276/0x11f0 arch/x86/mm/fault.c:1338
#1: ffff888140dff6c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:816 [inline]
#1: ffff888140dff6c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_fault+0xba5/0x2650 mm/filemap.c:3108
1 lock held by syz-executor.0/29662:
#0: ffff888140dff6c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:806 [inline]
#0: ffff888140dff6c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:182 [inline]
#0: ffff888140dff6c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0xf8a/0x1a50 block/ioctl.c:485
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
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:111
nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xc18/0xf50 kernel/hung_task.c:369
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 29513 Comm: kworker/u4:2 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker
RIP: 0010:__orc_find+0x47/0xf0 arch/x86/kernel/unwind_orc.c:50
Code: 4c 39 e7 49 89 fd 0f 87 9a 00 00 00 49 bf 00 00 00 00 00 fc ff df 49 89 fe 48 89 fd eb 0c 48 8d 6b 04 49 89 de 49 39 ec 72 4d <4c> 89 e0 48 29 e8 48 89 c2 48 c1 e8 3f 48 c1 fa 02 48 01 d0 48 d1
RSP: 0018:ffffc900001e0528 EFLAGS: 00000202
RAX: ffffffff84f2bc7b RBX: ffffffff8dfb0d90 RCX: ffffffff84f2bc6d
RDX: 0000000000000000 RSI: ffffffff8e83fcd2 RDI: ffffffff8dfb0d88
RBP: ffffffff8dfb0d88 R08: ffffffff8bc00220 R09: ffffc900001e0614
R10: fffff5200003c0c7 R11: 000000000008a07b R12: ffffffff8dfb0d8c
R13: ffffffff8dfb0d88 R14: ffffffff8dfb0d88 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ed23000 CR3: 000000000ba8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
orc_find arch/x86/kernel/unwind_orc.c:173 [inline]
unwind_next_frame+0x2a3/0x1cc0 arch/x86/kernel/unwind_orc.c:443
arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38
kasan_set_track+0x21/0x30 mm/kasan/common.c:45
kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:370
____kasan_slab_free mm/kasan/common.c:366 [inline]
____kasan_slab_free+0x166/0x1c0 mm/kasan/common.c:328
kasan_slab_free include/linux/kasan.h:200 [inline]
slab_free_hook mm/slub.c:1754 [inline]
slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1780
slab_free mm/slub.c:3534 [inline]
kfree+0xe2/0x4d0 mm/slub.c:4562
skb_free_head+0xac/0x110 net/core/skbuff.c:660
skb_release_data+0x677/0x810 net/core/skbuff.c:682
skb_release_all net/core/skbuff.c:747 [inline]
__kfree_skb net/core/skbuff.c:761 [inline]
kfree_skb_reason.part.0+0xdd/0x320 net/core/skbuff.c:783
kfree_skb_reason+0x85/0x110 include/linux/refcount.h:279
__udp6_lib_rcv+0x145a/0x2db0 net/ipv6/udp.c:1007
ip6_protocol_deliver_rcu+0x2f9/0x1950 net/ipv6/ip6_input.c:436
ip6_input_finish+0x14c/0x2c0 net/ipv6/ip6_input.c:481
NF_HOOK include/linux/netfilter.h:307 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
ip6_input+0x9c/0xd0 net/ipv6/ip6_input.c:490
dst_input include/net/dst.h:461 [inline]
ip6_rcv_finish net/ipv6/ip6_input.c:76 [inline]
NF_HOOK include/linux/netfilter.h:307 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
ipv6_rcv+0x27f/0x3b0 net/ipv6/ip6_input.c:306
__netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5480
__netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5594
process_backlog+0x3a0/0x7c0 net/core/dev.c:5922
__napi_poll+0xb3/0x6d0 net/core/dev.c:6506
napi_poll net/core/dev.c:6573 [inline]
net_rx_action+0x9c1/0xd90 net/core/dev.c:6684
__do_softirq+0x29b/0x9c2 kernel/softirq.c:571
do_softirq.part.0+0xde/0x130 kernel/softirq.c:472
do_softirq kernel/softirq.c:464 [inline]
__local_bh_enable_ip+0x102/0x120 kernel/softirq.c:396
wg_socket_send_skb_to_peer+0x14b/0x220 drivers/net/wireguard/socket.c:184
wg_socket_send_buffer_to_peer+0x11e/0x170 drivers/net/wireguard/socket.c:200
wg_packet_send_handshake_initiation+0x20d/0x340 drivers/net/wireguard/send.c:40
wg_packet_handshake_send_worker+0x18/0x30 drivers/net/wireguard/send.c:51
process_one_work+0x991/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302