INFO: task syz.0.21:4458 blocked for more than 143 seconds.
Not tainted 6.1.147-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.21 state:D stack:25728 pid:4458 ppid:4388 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x10ec/0x40b0 kernel/sched/core.c:6561
schedule+0xb9/0x180 kernel/sched/core.c:6637
perf_pending_task_sync kernel/events/core.c:5031 [inline]
_free_event+0x171/0x10a0 kernel/events/core.c:5037
put_event kernel/events/core.c:5162 [inline]
perf_event_release_kernel+0x832/0x8c0 kernel/events/core.c:5287
perf_release+0x37/0x40 kernel/events/core.c:5297
__fput+0x22c/0x920 fs/file_table.c:320
task_work_run+0x1ca/0x250 kernel/task_work.c:203
exit_task_work include/linux/task_work.h:39 [inline]
do_exit+0x93e/0x2400 kernel/exit.c:880
do_group_exit+0x217/0x2d0 kernel/exit.c:1022
get_signal+0x1272/0x1350 kernel/signal.c:2871
arch_do_signal_or_restart+0xb0/0x1230 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa51464f830
RSP: 002b:00007ffca8eed5f8 EFLAGS: 00000283
RAX: 0000000000000000 RBX: 00007ffca8eee0f0 RCX: 00007fa514977120
RDX: 00007ffca8eed600 RSI: 00007ffca8eed730 RDI: 000000000000000b
RBP: 000000000000000b R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000000 R12: 0000000000000073
R13: 00007ffca8eee270 R14: 9999999999999999 R15: 0000000000000000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8cb2b7b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cb2bfd0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517
1 lock held by khungtaskd/28:
#0: ffffffff8cb2ae20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
#0: ffffffff8cb2ae20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
#0: ffffffff8cb2ae20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513
2 locks held by getty/4030:
#0: ffff88814cdc1098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41b/0x1380 drivers/tty/n_tty.c:2198
1 lock held by syz.3.57/4651:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.147-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106
nmi_cpu_backtrace+0x3f4/0x470 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1d4/0x450 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xeee/0xf30 kernel/hung_task.c:377
kthread+0x29d/0x330 kernel/kthread.c:376
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: 4651 Comm: syz.3.57 Not tainted 6.1.147-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:254 [inline]
RIP: 0010:native_apic_msr_write+0x35/0x50 arch/x86/include/asm/apic.h:206
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 89 f6 31 d2 e9 9f 47 f7 02 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc900001e0e38 EFLAGS: 00000046
RAX: 0000000000000126 RBX: 0000000000000126 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 0000000000000126 RDI: 0000000000000838
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1c3e976
R10: fffffbfff1c3e976 R11: 1ffffffff1c3e975 R12: dffffc0000000000
R13: 0000000010005a98 R14: ffffffff8c5e0b40 R15: dffffc0000000000
FS: 00005555821cb500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000000000b CR3: 0000000074e51000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
apic_write arch/x86/include/asm/apic.h:394 [inline]
lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:478
clockevents_program_event+0x1bc/0x310 kernel/time/clockevents.c:334
hrtimer_interrupt+0x59d/0x9c0 kernel/time/hrtimer.c:1891
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline]
__sysvec_apic_timer_interrupt+0x153/0x5a0 arch/x86/kernel/apic/apic.c:1124
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline]
RIP: 0010:rcu_is_watching+0x36/0xa0 kernel/rcu/tree.c:721
Code: e8 9f 30 ab 08 89 c3 83 f8 08 73 60 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 80 09 5e 8c 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 30 dd 65 00 48 c7 c3 a8 57 03 00 49 03 1e 48 89
RSP: 0018:ffffc90003b27ad0 EFLAGS: 00000246
RAX: 1ffffffff18bc131 RBX: 0000000000000001 RCX: 139cd1a428a7a800
RDX: ffff88802a203b80 RSI: ffffffff8adef300 RDI: ffffffff8adef2c0
RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff1c3e976
R10: fffffbfff1c3e976 R11: 1ffffffff1c3e975 R12: 1ffff92000764f74
R13: 0000000000000000 R14: ffffffff8c5e0988 R15: dffffc0000000000
trace_x86_fpu_regs_activated arch/x86/include/asm/trace/fpu.h:57 [inline]
fpregs_activate+0xa7/0x230 arch/x86/kernel/fpu/context.h:50
fpregs_mark_activate+0x23/0x80 arch/x86/kernel/fpu/core.c:779
restore_fpregs_from_user arch/x86/kernel/fpu/signal.c:330 [inline]
__fpu_restore_sig arch/x86/kernel/fpu/signal.c:359 [inline]
fpu__restore_sig+0x992/0x1190 arch/x86/kernel/fpu/signal.c:493
restore_sigcontext arch/x86/kernel/signal.c:140 [inline]
__ia32_sys_rt_sigreturn+0x649/0x790 arch/x86/kernel/signal.c:675
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc068c4f830
Code: 10 83 e0 01 83 e2 01 88 15 c2 5e e9 00 88 05 bf 5e e9 00 c3 50 48 8d 35 41 15 1c 00 48 8d 3d 47 15 1c 00 31 c0 e8 30 f7 ff ff <53> 89 fb 48 83 ec 10 64 8b 04 25 94 ff ff ff 85 c0 74 2a 89 fe 31
RSP: 002b:00007ffcf75a2338 EFLAGS: 00000283
RAX: 0000000000000000 RBX: 00007ffcf75a2e30 RCX: 00007fc068f77120
RDX: 00007ffcf75a2340 RSI: 00007ffcf75a2470 RDI: 000000000000000b
RBP: 000000000000000b R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000000 R12: 0000000000000073
R13: 00007ffcf75a2fb0 R14: 9999999999999999 R15: 0000000000000000