INFO: task syz-executor:5842 blocked for more than 143 seconds. Not tainted 6.12.0-rc4-syzkaller-00261-g850925a8133c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:21488 pid:5842 tgid:5842 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5730 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xe7/0x350 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+0x5b8/0x9c0 kernel/locking/mutex.c:752 pipe_write+0x166/0x1b30 fs/pipe.c:455 new_sync_write fs/read_write.c:590 [inline] vfs_write+0x5ae/0x1150 fs/read_write.c:683 ksys_write+0x1fa/0x260 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f13c3f7d1ff RSP: 002b:00007ffe16f2ad30 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007f13c3f7d1ff RDX: 0000000000000016 RSI: 00007ffe16f2af30 RDI: 0000000000000002 RBP: 00007ffe16f2af30 R08: 0000000000000000 R09: 00007f13c4cfb080 R10: 00000000ffffffff R11: 0000000000000293 R12: 0000000000000016 R13: 00007f13c410c620 R14: 0000000000000016 R15: 00007f13c410dc80 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8ddb7840 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8ddb7840 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ddb7840 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 2 locks held by getty/5607: #0: ffff8880353420a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900032532f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/5833: #0: ffff88803209b468 (&pipe->mutex){+.+.}-{3:3}, at: pipe_release+0x44/0x320 fs/pipe.c:727 1 lock held by syz-executor/5842: #0: ffff88803209b468 (&pipe->mutex){+.+.}-{3:3}, at: pipe_write+0x166/0x1b30 fs/pipe.c:455 2 locks held by kworker/u8:42/7792: #0: ffff8880b863ee98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598 #1: ffff8880b8628a48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2c1/0x8e0 kernel/sched/psi.c:987 1 lock held by syz.2.683/9624: #0: ffff88803209b468 (&pipe->mutex){+.+.}-{3:3}, at: pipe_lock fs/pipe.c:92 [inline] #0: ffff88803209b468 (&pipe->mutex){+.+.}-{3:3}, at: pipe_lock+0x64/0x80 fs/pipe.c:89 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc4-syzkaller-00261-g850925a8133c #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+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 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+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 7792 Comm: kworker/u8:42 Not tainted 6.12.0-rc4-syzkaller-00261-g850925a8133c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:separate_irq_context kernel/locking/lockdep.c:4675 [inline] RIP: 0010:__lock_acquire+0xa0f/0x3ce0 kernel/locking/lockdep.c:5186 Code: 13 32 00 00 41 8b 87 d8 0a 00 00 85 c0 74 76 48 8b 3c 24 48 8d 04 80 48 8d 6c c7 d8 48 b8 00 00 00 00 00 fc ff df 48 8d 7d 21 <48> 89 fa 48 c1 ea 03 0f b6 04 02 48 89 fa 83 e2 07 38 d0 7f 09 84 RSP: 0018:ffffc9000bc5f960 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: 7a4a4631e597686b RCX: ffffffff816a00b8 RDX: 1ffff1100c72151b RSI: 0000000000000008 RDI: ffff88806390a929 RBP: ffff88806390a908 R08: 0000000000000000 R09: fffffbfff2d32388 R10: ffffffff96991c47 R11: 0000000000000002 R12: dffffc0000000000 R13: ffff88806390a930 R14: 0000000000000004 R15: ffff888063909e00 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c5282a6b88 CR3: 000000007d2e0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x16a/0x1060 net/batman-adv/network-coding.c:719 process_one_work+0x958/0x1b30 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244