INFO: task kcompactd0:30 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:kcompactd0 state:D stack:24048 pid: 30 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6250
schedule+0x12b/0x1f0 kernel/sched/core.c:6323
io_schedule+0x83/0x100 kernel/sched/core.c:8368
folio_wait_bit_common+0x8aa/0xe00 mm/filemap.c:1356
lock_page include/linux/pagemap.h:697 [inline]
__unmap_and_move+0x9d9/0xda0 mm/migrate.c:986
unmap_and_move+0x321/0xd70 mm/migrate.c:1210
migrate_pages+0x562/0x16f0 mm/migrate.c:1487
compact_zone+0x2d23/0x3d10 mm/compaction.c:2393
proactive_compact_node mm/compaction.c:2647 [inline]
kcompactd+0x1c23/0x2920 mm/compaction.c:2957
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cb1d840 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by khugepaged/33:
1 lock held by kswapd0/98:
1 lock held by kswapd1/99:
3 locks held by kworker/0:2/137:
3 locks held by systemd-journal/2927:
2 locks held by systemd-udevd/2937:
2 locks held by systemd-timesyn/3022:
1 lock held by in:imklog/6151:
1 lock held by cron/6129:
2 locks held by syz-fuzzer/6456:
2 locks held by syz-fuzzer/9244:
3 locks held by systemd-udevd/10931:
3 locks held by kworker/1:3/8760:
2 locks held by syz-executor.5/10384:
#0: ffff888145ba5008 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline]
#0: ffff888145ba5008 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x1ab/0x9b0 mm/readahead.c:194
#1: ffffffff8cbe1008 (pcpu_drain_mutex){+.+.}-{3:3}, at: __drain_all_pages+0x58/0x690 mm/page_alloc.c:3189
=============================================
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+0x1dc/0x2d8 lib/dump_stack.c:106
nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105
nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 8623 Comm: kworker/u4:9 Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3683 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3702 [inline]
RIP: 0010:validate_chain+0x1d0/0x8240 kernel/locking/lockdep.c:3757
Code: f8 48 85 c0 48 0f 44 d8 48 85 db 74 47 4c 8d 7b 18 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 f3 3f 69 00 49 8b 07 <4c> 39 f0 74 1c 48 83 c3 08 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74
RSP: 0018:ffffc9001739f380 EFLAGS: 00000046
RAX: 116a7b9cdfe636aa RBX: ffffffff8fb1c280 RCX: ffffffff81669308
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff6cee0
RBP: ffffc9001739f690 R08: dffffc0000000000 R09: fffffbfff1fed9dd
R10: fffffbfff1fed9dd R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffff92002e73e90 R14: 116a7b9cdfe636aa R15: ffffffff8fb1c298
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c003558000 CR3: 000000000c88e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
__lock_acquire+0x1382/0x2b00 kernel/locking/lockdep.c:5015
lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625
__mutex_lock_common+0x1d5/0x2590 kernel/locking/mutex.c:607
__mutex_lock kernel/locking/mutex.c:740 [inline]
mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792
jump_label_lock kernel/jump_label.c:27 [inline]
static_key_disable_cpuslocked+0x99/0x1b0 kernel/jump_label.c:205
static_key_disable+0x16/0x20 kernel/jump_label.c:215
toggle_allocation_gate+0x3c8/0x460 mm/kfence/core.c:640
process_one_work+0x853/0x1140 kernel/workqueue.c:2298
worker_thread+0xac1/0x1320 kernel/workqueue.c:2445
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
----------------
Code disassembly (best guess):
0: f8 clc
1: 48 85 c0 test %rax,%rax
4: 48 0f 44 d8 cmove %rax,%rbx
8: 48 85 db test %rbx,%rbx
b: 74 47 je 0x54
d: 4c 8d 7b 18 lea 0x18(%rbx),%r15
11: 4c 89 f8 mov %r15,%rax
14: 48 c1 e8 03 shr $0x3,%rax
18: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
1d: 74 08 je 0x27
1f: 4c 89 ff mov %r15,%rdi
22: e8 f3 3f 69 00 callq 0x69401a
27: 49 8b 07 mov (%r15),%rax
* 2a: 4c 39 f0 cmp %r14,%rax <-- trapping instruction
2d: 74 1c je 0x4b
2f: 48 83 c3 08 add $0x8,%rbx
33: 48 89 d8 mov %rbx,%rax
36: 48 c1 e8 03 shr $0x3,%rax
3a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
3f: 74 .byte 0x74