INFO: task kcompactd0:30 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kcompactd0 state:D stack:28264 pid: 30 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
io_schedule+0xee/0x170 kernel/sched/core.c:8371
folio_wait_bit_common+0x4f2/0xa60 mm/filemap.c:1371
lock_page include/linux/pagemap.h:780 [inline]
__unmap_and_move mm/migrate.c:980 [inline]
unmap_and_move mm/migrate.c:1204 [inline]
migrate_pages+0xa5a/0x3810 mm/migrate.c:1481
compact_zone+0x1abb/0x3860 mm/compaction.c:2399
kcompactd_do_work+0x2c9/0x730 mm/compaction.c:2839
kcompactd+0x86b/0xf30 mm/compaction.c:2941
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by khugepaged/33:
#0: ffffffff8bc68a68 (lock#5){+.+.}-{3:3}, at: __lru_add_drain_all+0x65/0x760 mm/swap.c:797
1 lock held by kswapd0/97:
1 lock held by kswapd1/98:
3 locks held by kworker/1:3/2949:
1 lock held by systemd-journal/2965:
1 lock held by systemd-udevd/2967:
1 lock held by systemd-timesyn/3053:
2 locks held by cron/6202:
1 lock held by in:imklog/6211:
2 locks held by kworker/u4:5/6474:
#0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478
#1: ffff8880b9d279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880
1 lock held by syz-fuzzer/6506:
1 lock held by syz-fuzzer/6516:
3 locks held by kworker/0:11/10224:
2 locks held by syz-executor.0/22994:
#0: ffff888011023888 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline]
#0: ffff888011023888 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: page_cache_ra_unbounded+0x1b3/0x940 mm/readahead.c:194
#1: ffffffff8bca8d28 (pcpu_drain_mutex){+.+.}-{3:3}, at: __drain_all_pages+0x4f/0x6c0 mm/page_alloc.c:3181
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-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: 8366 Comm: kworker/u4:6 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:strlen+0x54/0x90 lib/string.c:487
Code: 75 48 80 7d 00 00 74 39 48 bb 00 00 00 00 00 fc ff df 48 89 e8 48 83 c0 01 48 89 c2 48 89 c1 48 c1 ea 03 83 e1 07 0f b6 14 1a <38> ca 7f 04 84 d2 75 1f 80 38 00 75 de 48 83 c4 08 48 29 e8 5b 5d
RSP: 0018:ffffc90017d277a0 EFLAGS: 00000206
RAX: ffffffff89a95da6 RBX: dffffc0000000000 RCX: 0000000000000006
RDX: 0000000000000000 RSI: ffff888010dba138 RDI: ffffffff89a95da0
RBP: ffffffff89a95da0 R08: 0000000000000000 R09: 0000000000000001
R10: fffffbfff1b22e5a R11: 000000000000003f R12: 0000000000000000
R13: ffffffff8ba80e20 R14: ffff888010dba138 R15: ffffc90017d27880
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9993bc3fa0 CR3: 000000000b88e000 CR4: 0000000000350ee0
Call Trace:
strlen include/linux/fortify-string.h:102 [inline]
trace_event_get_offsets_lock_acquire include/trace/events/lock.h:13 [inline]
perf_trace_lock_acquire+0xbe/0x550 include/trace/events/lock.h:13
trace_lock_acquire include/trace/events/lock.h:13 [inline]
lock_acquire+0x416/0x510 kernel/locking/lockdep.c:5608
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:349 [inline]
__get_locked_pte+0x2b6/0x4d0 mm/memory.c:1722
get_locked_pte include/linux/mm.h:2160 [inline]
__text_poke+0x1ae/0x8c0 arch/x86/kernel/alternative.c:1000
text_poke_bp_batch+0x2eb/0x560 arch/x86/kernel/alternative.c:1310
text_poke_flush arch/x86/kernel/alternative.c:1451 [inline]
text_poke_flush arch/x86/kernel/alternative.c:1448 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
jump_label_update+0x1d5/0x430 kernel/jump_label.c:830
static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177
static_key_enable+0x16/0x20 kernel/jump_label.c:190
toggle_allocation_gate mm/kfence/core.c:732 [inline]
toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:724
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: 75 48 jne 0x4a
2: 80 7d 00 00 cmpb $0x0,0x0(%rbp)
6: 74 39 je 0x41
8: 48 bb 00 00 00 00 00 movabs $0xdffffc0000000000,%rbx
f: fc ff df
12: 48 89 e8 mov %rbp,%rax
15: 48 83 c0 01 add $0x1,%rax
19: 48 89 c2 mov %rax,%rdx
1c: 48 89 c1 mov %rax,%rcx
1f: 48 c1 ea 03 shr $0x3,%rdx
23: 83 e1 07 and $0x7,%ecx
26: 0f b6 14 1a movzbl (%rdx,%rbx,1),%edx
* 2a: 38 ca cmp %cl,%dl <-- trapping instruction
2c: 7f 04 jg 0x32
2e: 84 d2 test %dl,%dl
30: 75 1f jne 0x51
32: 80 38 00 cmpb $0x0,(%rax)
35: 75 de jne 0x15
37: 48 83 c4 08 add $0x8,%rsp
3b: 48 29 e8 sub %rbp,%rax
3e: 5b pop %rbx
3f: 5d pop %rbp