INFO: task syz.4.2007:13316 blocked for more than 140 seconds. Not tainted 6.12.0-rc5-syzkaller-01164-gccb35037c48a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.2007 state:D stack:23072 pid:13316 tgid:13316 ppid:5838 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a7/0xd70 kernel/locking/mutex.c:752 pipe_release+0x48/0x320 fs/pipe.c:727 __fput+0x23f/0x880 fs/file_table.c:431 task_work_run+0x24f/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2bfdb7e719 RSP: 002b:00007ffd2d007a58 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f2bfdd37a80 RCX: 00007f2bfdb7e719 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f2bfdd37a80 R08: 0000000000000006 R09: 00007ffd2d007d4f R10: 00000000003ffbbc R11: 0000000000000246 R12: 000000000004910a R13: 00007ffd2d007b60 R14: 0000000000000032 R15: ffffffffffffffff INFO: task syz.4.2007:13318 blocked for more than 141 seconds. Not tainted 6.12.0-rc5-syzkaller-01164-gccb35037c48a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.2007 state:D stack:27392 pid:13318 tgid:13316 ppid:5838 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a7/0xd70 kernel/locking/mutex.c:752 pipe_write+0x1c6/0x1a30 fs/pipe.c:455 new_sync_write fs/read_write.c:590 [inline] vfs_write+0xaeb/0xd30 fs/read_write.c:683 ksys_write+0x183/0x2b0 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2bfdb7e719 RSP: 002b:00007f2bfea21038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f2bfdd36058 RCX: 00007f2bfdb7e719 RDX: 0000000000000004 RSI: 0000000020000180 RDI: 0000000000000009 RBP: 00007f2bfdbf139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f2bfdd36058 R15: 00007ffd2d0078f8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by getty/5591: #0: ffff88814d4ce0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900032232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/13235: 1 lock held by syz.4.2007/13316: #0: ffff888031f9c068 (&pipe->mutex){+.+.}-{3:3}, at: pipe_release+0x48/0x320 fs/pipe.c:727 1 lock held by syz.4.2007/13317: #0: ffff888031f9c068 (&pipe->mutex){+.+.}-{3:3}, at: splice_file_to_pipe+0x2e/0x500 fs/splice.c:1292 1 lock held by syz.4.2007/13318: #0: ffff888031f9c068 (&pipe->mutex){+.+.}-{3:3}, at: pipe_write+0x1c6/0x1a30 fs/pipe.c:455 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc5-syzkaller-01164-gccb35037c48a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 13235 Comm: syz-executor Not tainted 6.12.0-rc5-syzkaller-01164-gccb35037c48a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x0/0x90 kernel/kcov.c:313 Code: 10 48 89 74 0a 18 4c 89 44 0a 20 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 4c 8b 04 24 65 48 8b 14 25 c0 d5 03 00 65 8b 05 50 f7 RSP: 0018:ffffc90003fffba8 EFLAGS: 00000086 RAX: 1ffff1100b7a9c62 RBX: ffff8880259fe878 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000020 RBP: 0000000000000001 R08: ffffffff8159a49a R09: ffffffff81599a22 R10: 0000000000000002 R11: ffff88805bd4da00 R12: ffff88805bd4da00 R13: 0000000000000001 R14: 0000000000000011 R15: 0000000000000001 FS: 000055555f771500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f903bf36060 CR3: 000000006d1a6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: legacy_queue kernel/signal.c:1069 [inline] __send_signal_locked+0x133/0xdc0 kernel/signal.c:1093 do_send_sig_info kernel/signal.c:1299 [inline] group_send_sig_info+0x292/0x310 kernel/signal.c:1449 bpf_send_signal_common+0x2dd/0x430 kernel/trace/bpf_trace.c:857 ____bpf_send_signal kernel/trace/bpf_trace.c:862 [inline] bpf_send_signal+0x19/0x30 kernel/trace/bpf_trace.c:860 bpf_prog_7ba5217f62dcd359+0x41/0x45 bpf_dispatcher_nop_func include/linux/bpf.h:1265 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2316 [inline] bpf_trace_run2+0x2ec/0x540 kernel/trace/bpf_trace.c:2357 trace_sys_enter+0x93/0xd0 include/trace/events/syscalls.h:18 syscall_trace_enter+0xf8/0x150 kernel/entry/common.c:61 syscall_enter_from_user_mode_work include/linux/entry-common.h:168 [inline] syscall_enter_from_user_mode include/linux/entry-common.h:198 [inline] do_syscall_64+0xcc/0x230 arch/x86/entry/common.c:79 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbba6f1a099 Code: 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 c7 c0 0f 00 00 00 0f 05 <0f> 1f 80 00 00 00 00 48 81 ec 48 01 00 00 49 89 d0 64 48 8b 04 25 RSP: 002b:00007ffd7c931800 EFLAGS: 00000246 ORIG_RAX: 000000000000000f RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fbba6f1a099 RDX: 00007ffd7c931800 RSI: 00007ffd7c931930 RDI: 0000000000000011 RBP: 00007ffd7c931df0 R08: 0000000000000002 R09: 007061747663616d R10: 00007ffd7c932226 R11: 0000000000000246 R12: 00007ffd7c931e70 R13: 00007fbba6ff2384 R14: 00007fbba7c64620 R15: 00007fbba6ff2384