INFO: task syz.4.757:8838 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.757 state:D stack:26248 pid:8838 ppid:6011 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x15ae/0x4660 kernel/sched/core.c:6700
schedule+0xbd/0x170 kernel/sched/core.c:6774
perf_pending_task_sync kernel/events/core.c:5236 [inline]
_free_event+0x176/0xfb0 kernel/events/core.c:5242
put_event kernel/events/core.c:5370 [inline]
perf_event_release_kernel+0x7c8/0x850 kernel/events/core.c:5495
perf_release+0x3b/0x40 kernel/events/core.c:5505
__fput+0x221/0x940 fs/file_table.c:418
task_work_run+0x1d4/0x260 kernel/task_work.c:245
exit_task_work include/linux/task_work.h:43 [inline]
do_exit+0x986/0x2530 kernel/exit.c:884
do_group_exit+0x22d/0x2f0 kernel/exit.c:1026
get_signal+0x12a6/0x1390 kernel/signal.c:2903
arch_do_signal_or_restart+0xc2/0x7b0 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fcb3b99de99
RSP: 002b:00007fcb3c82d028 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: 0000000000000024 RBX: 00007fcb3bc25fa0 RCX: 00007fcb3b99de99
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000200000000000
RBP: 00007fcb3ba33eaf R08: 0000000000000002 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcb3bc26038 R14: 00007fcb3bc25fa0 R15: 00007ffe7afbcbd8
Showing all locks held in the system:
1 lock held by rcu_tasks_trace/15:
#0: ffffffff8d132ad0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0xb11/0xdf0 kernel/rcu/tasks.h:607
1 lock held by khungtaskd/29:
#0: ffffffff8d131da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
#0: ffffffff8d131da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
#0: ffffffff8d131da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633
2 locks held by getty/5528:
#0: ffff88803100a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x428/0x1370 drivers/tty/n_tty.c:2217
2 locks held by kworker/0:3/5762:
#0: ffff888017c72538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2628 [inline]
#0: ffff888017c72538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2730
#1: ffffc900044cfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2628 [inline]
#1: ffffc900044cfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2730
3 locks held by kworker/0:5/5817:
1 lock held by syz.2.1327/10950:
2 locks held by syz.3.1345/10979:
#0: ffffffff8d187ee8 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x2e/0x140 kernel/trace/trace_event_perf.c:239
#1: ffffffff8d137778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
#1: ffffffff8d137778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x306/0x880 kernel/rcu/tree_exp.h:1004
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
nmi_cpu_backtrace+0x3a6/0x3e0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf59/0xfa0 kernel/hung_task.c:379
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 6465 Comm: kworker/u4:13 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:pmd_offset include/linux/pgtable.h:123 [inline]
RIP: 0010:pmd_alloc include/linux/mm.h:2864 [inline]
RIP: 0010:walk_to_pmd+0x107/0x240 mm/memory.c:1808
Code: 74 08 4c 89 ff e8 c9 c2 15 00 49 8b 2f 48 89 ee 48 83 e6 9f 31 ff e8 18 4f bd ff 48 83 e5 9f 0f 84 e3 00 00 00 e8 c9 4a bd ff <43> 80 3c 2c 00 74 08 4c 89 ff e8 9a c2 15 00 4d 8b 37 48 b8 00 f0
RSP: 0018:ffffc90005107770 EFLAGS: 00000293
RAX: ffffffff81c99aa7 RBX: 00002aaaaaaab000 RCX: ffff888069f03c00
RDX: 0000000000000000 RSI: 0000000017c65007 RDI: 0000000000000000
RBP: 0000000017c65007 R08: ffffea0000077a07 R09: 1ffffd400000ef40
R10: dffffc0000000000 R11: fffff9400000ef41 R12: 1ffff11002f8c8aa
R13: dffffc0000000000 R14: ffff888017c68000 R15: ffff888017c64550
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff3795eb158 CR3: 000000000cf32000 CR4: 00000000003506f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000200000000300
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
__get_locked_pte+0x27/0xc0 mm/memory.c:1819
get_locked_pte include/linux/mm.h:2741 [inline]
__text_poke+0x2a4/0xb40 arch/x86/kernel/alternative.c:2036
text_poke arch/x86/kernel/alternative.c:2121 [inline]
text_poke_bp_batch+0x7b3/0x980 arch/x86/kernel/alternative.c:2510
text_poke_flush arch/x86/kernel/alternative.c:2623 [inline]
text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2630
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked+0x123/0x240 kernel/jump_label.c:207
static_key_enable+0x1a/0x20 kernel/jump_label.c:220
toggle_allocation_gate+0xa8/0x260 mm/kfence/core.c:847
process_one_work kernel/workqueue.c:2653 [inline]
process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2730
worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2811
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293