INFO: task syz.4.285:5271 blocked for more than 143 seconds. Not tainted 6.1.132-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.285 state:D stack:23288 pid:5271 ppid:4261 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 schedule+0xbf/0x180 kernel/sched/core.c:6637 perf_pending_task_sync kernel/events/core.c:5033 [inline] _free_event+0x169/0x1090 kernel/events/core.c:5039 put_event kernel/events/core.c:5164 [inline] perf_event_release_kernel+0x873/0x900 kernel/events/core.c:5289 perf_release+0x37/0x40 kernel/events/core.c:5299 __fput+0x3f6/0x8d0 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0xa6e/0x26a0 kernel/exit.c:871 do_group_exit+0x202/0x2b0 kernel/exit.c:1021 get_signal+0x16cb/0x17a0 kernel/signal.c:2871 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 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+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f526798d169 RSP: 002b:00007f52688c8fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: fffffffffffffff4 RBX: 00007f5267ba5fa0 RCX: 00007f526798d169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000630c1000 RBP: 00007f5267a0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5267ba5fa0 R15: 00007ffcfb3fc8f8 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32e910 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d32f110 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 3 locks held by kworker/1:0/22: #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #1: ffffc900001c7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #2: ffffffff8d333d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #2: ffffffff8d333d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962 1 lock held by khungtaskd/28: #0: ffffffff8d32e740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32e740 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32e740 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6510 5 locks held by kworker/u4:5/2957: #0: ffff888017e16938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #1: ffffc9000cd97d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #2: ffffffff8e543c50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x166/0xd20 net/core/net_namespace.c:594 #3: ffffffff8e5507a8 (rtnl_mutex){+.+.}-{3:3}, at: ip6gre_exit_batch_net+0xc2/0x490 net/ipv6/ip6_gre.c:1666 #4: ffffffff8d333d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #4: ffffffff8d333d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x930 kernel/rcu/tree_exp.h:962 2 locks held by getty/4016: #0: ffff88814c73e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000325e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x54a/0x1620 drivers/tty/n_tty.c:2198 2 locks held by kworker/1:5/4293: #0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #1: ffffc90003fe7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 3 locks held by syz.1.629/6818: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.132-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ca/0x430 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+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6818 Comm: syz.1.629 Not tainted 6.1.132-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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 5f fc 33 03 66 2e 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc90000007e58 EFLAGS: 00000046 RAX: 0000000000000101 RBX: ffffffff8cdf6b30 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 0000000000000101 RDI: 0000000000000838 RBP: 0000000000000101 R08: ffffffff817ce69d R09: fffffbfff1d416c6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b8e271c0 R13: dffffc0000000000 R14: 0000000000000101 R15: dffffc0000000000 FS: 00007f466da296c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000565384892950 CR3: 000000005eb11000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 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+0x1c5/0x310 kernel/time/clockevents.c:334 hrtimer_interrupt+0x546/0x980 kernel/time/hrtimer.c:1830 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline] __sysvec_apic_timer_interrupt+0x158/0x5b0 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:__sanitizer_cov_trace_pc+0x41/0x60 kernel/kcov.c:221 Code: ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 <48> 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 RSP: 0018:ffffc90003c97458 EFLAGS: 00000246 RAX: ffffffff81d32e92 RBX: 0000000000000000 RCX: ffff88807e370000 RDX: ffffc9000c8a9000 RSI: 000000000007ffff RDI: 0000000000000000 RBP: ffffea0001daad08 R08: ffffffff81d32e7b R09: fffff940003b55a1 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001daad00 R13: 0000000000000000 R14: 1ffffd40003b55a1 R15: ffff88803008cbd0 arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] page_fixed_fake_head include/linux/page-flags.h:216 [inline] _compound_head include/linux/page-flags.h:257 [inline] PageAnon include/linux/page-flags.h:669 [inline] page_remove_rmap+0x72/0xed0 mm/rmap.c:1428 zap_pte_range mm/memory.c:1453 [inline] zap_pmd_range mm/memory.c:1574 [inline] zap_pud_range mm/memory.c:1603 [inline] zap_p4d_range mm/memory.c:1624 [inline] unmap_page_range+0x1217/0x2740 mm/memory.c:1645 unmap_vmas+0x48b/0x640 mm/memory.c:1730 exit_mmap+0x249/0x980 mm/mmap.c:3238 __mmput+0x115/0x3c0 kernel/fork.c:1200 copy_process+0x2bdc/0x40a0 kernel/fork.c:2533 kernel_clone+0x222/0x920 kernel/fork.c:2681 __do_sys_clone kernel/fork.c:2822 [inline] __se_sys_clone kernel/fork.c:2806 [inline] __x64_sys_clone+0x242/0x2c0 kernel/fork.c:2806 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f466cb8d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f466da28fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f466cda5fa0 RCX: 00007f466cb8d169 RDX: 0000000000000000 RSI: 0000200000000240 RDI: 0000000040000000 RBP: 00007f466cc0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 00002000000004c0 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f466cda5fa0 R15: 00007fff854a5118