INFO: task syz.5.1649:14128 blocked for more than 143 seconds. Not tainted 6.15.0-syzkaller-08297-ge0797d3b91de #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.1649 state:D stack:28456 pid:14128 tgid:14124 ppid:13576 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5392 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6781 __schedule_loop kernel/sched/core.c:6859 [inline] schedule+0x165/0x360 kernel/sched/core.c:6874 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6931 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1578 tty_change_softcar+0x9e/0x230 drivers/tty/tty_ioctl.c:747 tty_mode_ioctl+0x6b8/0x740 drivers/tty/tty_ioctl.c:890 tty_ioctl+0x9c3/0xde0 drivers/tty/tty_io.c:2811 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc90218e969 RSP: 002b:00007fc9030b3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc9023b6080 RCX: 00007fc90218e969 RDX: 0000200000000300 RSI: 000000000000541a RDI: 0000000000000006 RBP: 00007fc902210ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fc9023b6080 R15: 00007fc9024dfa28 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e13ccc0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13ccc0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13ccc0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by getty/5588: #0: ffff88814d9a00a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900036bb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 6 locks held by syz.2.1522/13285: 2 locks held by syz.5.1649/14128: #0: ffff88805cd9e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffff88805cd9e2e8 (&tty->termios_rwsem){++++}-{4:4}, at: tty_change_softcar+0x9e/0x230 drivers/tty/tty_ioctl.c:747 1 lock held by syz.8.1671/14333: #0: ffff888032acbc68 (&pipe->mutex){+.+.}-{4:4}, at: pipe_release+0x48/0x330 fs/pipe.c:728 2 locks held by syz.8.1671/14340: #0: ffff88805cd9e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffff88805cd9e2e8 (&tty->termios_rwsem){++++}-{4:4}, at: set_termios+0x127/0x6c0 drivers/tty/tty_ioctl.c:457 4 locks held by syz.8.1671/14344: #0: ffff888032acbc68 (&pipe->mutex){+.+.}-{4:4}, at: splice_file_to_pipe+0x2e/0x440 fs/splice.c:1286 #1: ffff88805cd9e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #2: ffffc90004b032f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 #3: ffff88805cd9e2e8 (&tty->termios_rwsem){++++}-{4:4}, at: n_tty_read+0x520/0x1400 drivers/tty/n_tty.c:2226 3 locks held by kworker/u8:24/14822: #0: ffff88814c962148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88814c962148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc90004d87bc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90004d87bc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffffffff8f50ab48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #2: ffffffff8f50ab48 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x112/0x14b0 net/ipv6/addrconf.c:4198 2 locks held by syz-executor/16822: 1 lock held by dhcpcd-run-hook/16826: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-syzkaller-08297-ge0797d3b91de #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:437 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 11071 Comm: kworker/u8:18 Not tainted 6.15.0-syzkaller-08297-ge0797d3b91de #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:19 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:109 [inline] RIP: 0010:check_preemption_disabled+0x50/0x120 lib/smp_processor_id.c:19 Code: c1 ff ff ff 7f 74 23 65 48 8b 0d 7b d0 37 07 48 3b 4c 24 08 0f 85 cc 00 00 00 48 83 c4 10 5b 41 5e 41 5f 5d c3 cc cc cc cc cc <48> c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 74 c8 65 RSP: 0018:ffffc9000e3279a8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000080000000 RDX: 0000000000000000 RSI: ffffffff8d980d29 RDI: ffffffff8be26380 RBP: ffffffff818c22a4 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1f416bf R12: 0000000000000000 R13: ffff888030a5d948 R14: 0000000000000001 R15: 0000000000000246 FS: 0000000000000000(0000) GS:ffff888125c64000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000bd038 CR3: 000000005da56000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 3a810b1eb6134bdc DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:468 [inline] lock_acquire+0xe7/0x360 kernel/locking/lockdep.c:5870 process_one_work kernel/workqueue.c:3213 [inline] process_scheduled_works+0x9c9/0x17b0 kernel/workqueue.c:3321 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245