INFO: task syz.2.90:3976 blocked for more than 143 seconds. Not tainted 6.1.112-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.90 state:D stack:25000 pid:3976 ppid:3644 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 perf_pending_task_sync kernel/events/core.c:5029 [inline] _free_event+0x169/0x1090 kernel/events/core.c:5035 put_event kernel/events/core.c:5160 [inline] perf_event_release_kernel+0x873/0x900 kernel/events/core.c:5285 perf_release+0x37/0x40 kernel/events/core.c:5295 __fput+0x3f6/0x8d0 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 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:0x7f462237dff9 RSP: 002b:00007ffe45a16c58 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f4622537a80 RCX: 00007f462237dff9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f4622537a80 R08: 00007f4622522000 R09: 00007ffe45a16f4f R10: 00000000003ff050 R11: 0000000000000246 R12: 00000000000169ca R13: 00007ffe45a16d60 R14: 0000000000000032 R15: ffffffffffffffff Showing all locks held in the system: 2 locks held by kworker/u4:1/11: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32b1d0 (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: ffffffff8d32b9d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494 2 locks held by getty/3397: #0: ffff88814b72b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 1 lock held by syz-executor/3627: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 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+0x1ae/0x3f0 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: 3649 Comm: syz-executor Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:kasan_check_range+0x3/0x290 mm/kasan/generic.c:188 Code: 48 89 c7 e8 2f 38 c5 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 41 57 <41> 56 53 b0 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 0f 82 RSP: 0018:ffffc90003d5f7c8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff816a83db RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e99f968 RBP: ffffc90003d5f938 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920007abf04 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1100bbe00a5 FS: 000055559434f500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1728536060 CR3: 000000005d8c1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:444 [inline] cpu_online include/linux/cpumask.h:1030 [inline] trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xeb/0x5a0 kernel/locking/lockdep.c:5633 __might_fault+0xbd/0x110 mm/memory.c:5851 __copy_to_user include/linux/uaccess.h:111 [inline] save_xstate_epilog arch/x86/kernel/fpu/signal.c:127 [inline] copy_fpstate_to_sigframe+0xb16/0xda0 arch/x86/kernel/fpu/signal.c:245 get_sigframe+0x378/0x4b0 arch/x86/kernel/signal.c:297 __setup_rt_frame arch/x86/kernel/signal.c:472 [inline] setup_rt_frame arch/x86/kernel/signal.c:784 [inline] handle_signal arch/x86/kernel/signal.c:828 [inline] arch_do_signal_or_restart+0x4ef/0x1a10 arch/x86/kernel/signal.c:873 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:0x7f10db574257 Code: 89 7c 24 10 48 89 4c 24 18 e8 55 16 03 00 4c 8b 54 24 18 8b 54 24 14 41 89 c0 48 8b 74 24 08 8b 7c 24 10 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 89 44 24 10 e8 a5 16 03 00 8b 44 RSP: 002b:00007ffd0110ff10 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000033 RCX: 00007f10db574257 RDX: 0000000040000001 RSI: 00007ffd0110ff6c RDI: 00000000ffffffff RBP: 00007ffd0110ff6c R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 0000000000016cf1 R14: 0000000000016ce7 R15: 00007ffd0110ffc0