INFO: task syz.4.149:6370 blocked for more than 151 seconds. Not tainted 6.14.0-rc3-syzkaller-00295-g27102b38b8ca #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.149 state:D stack:26048 pid:6370 tgid:6370 ppid:5820 task_flags:0x400040 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0xf43/0x5890 kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6857 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6914 __mutex_lock_common kernel/locking/mutex.c:662 [inline] __mutex_lock+0x6bd/0xb10 kernel/locking/mutex.c:730 tty_release_struct+0xad/0xe0 drivers/tty/tty_io.c:1700 tty_release+0xe25/0x1410 drivers/tty/tty_io.c:1861 __fput+0x3ff/0xb70 fs/file_table.c:464 task_work_run+0x14e/0x250 kernel/task_work.c:227 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:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9e0d18d169 RSP: 002b:00007ffda51c8338 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f9e0d3a7ba0 RCX: 00007f9e0d18d169 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f9e0d3a7ba0 R08: 00000000000002b8 R09: 0000001ea51c862f R10: 00007f9e0d3a7ac0 R11: 0000000000000246 R12: 0000000000014993 R13: 00007f9e0d3a5fa0 R14: ffffffffffffffff R15: 00007ffda51c8450 Showing all locks held in the system: 3 locks held by kworker/0:0/8: 3 locks held by kworker/u8:0/11: 6 locks held by kworker/u8:1/12: 1 lock held by khungtaskd/30: #0: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1bcc80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6746 3 locks held by kworker/u8:3/52: 2 locks held by kworker/u8:7/1329: 7 locks held by kworker/u8:8/4192: 3 locks held by syslogd/5175: 4 locks held by udevd/5193: 2 locks held by dhcpcd/5486: 2 locks held by getty/5578: #0: ffff8880374290a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/5805: 1 lock held by syz-executor/5815: #0: ffffffff8fef70a8 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fef70a8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x38/0x230 drivers/net/tun.c:3517 1 lock held by syz-executor/5819: 2 locks held by syz-executor/5830: 2 locks held by kworker/1:4/5870: 1 lock held by syz.1.141/6353: #0: ffffffff8e1c80f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:334 1 lock held by syz.4.149/6370: #0: ffffffff8ee87aa8 (tty_mutex){+.+.}-{4:4}, at: tty_release_struct+0xad/0xe0 drivers/tty/tty_io.c:1700 3 locks held by syz-executor/6383: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.14.0-rc3-syzkaller-00295-g27102b38b8ca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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:236 [inline] watchdog+0xf62/0x12b0 kernel/hung_task.c:399 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 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: 12 Comm: kworker/u8:1 Not tainted 6.14.0-rc3-syzkaller-00295-g27102b38b8ca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:check_preemption_disabled+0x8/0xe0 lib/smp_processor_id.c:14 Code: ab 74 85 c0 74 04 90 0f 0b 90 e9 53 fc ff ff 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 54 55 53 48 83 ec 08 <65> 8b 1d 4d 8d ac 74 65 8b 05 42 8d ac 74 a9 ff ff ff 7f 74 0f 48 RSP: 0018:ffffc90000007658 EFLAGS: 00000092 RAX: 0000000000000000 RBX: ffff888085f70a00 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8b6cefe0 RDI: ffffffff8bd35700 RBP: ffffffff8e1bcc80 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000005 R12: ffff88801c2fc880 R13: 00000000ffffffff R14: 00000000ffffffff R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f381c64c670 CR3: 000000000df80000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:464 [inline] lock_is_held_type+0x67/0x150 kernel/locking/lockdep.c:5922 skb_dst_set_noref include/linux/skbuff.h:1184 [inline] br_nf_pre_routing_finish_ipv6+0x8f4/0xfb0 net/bridge/br_netfilter_ipv6.c:148 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_pre_routing_ipv6+0x3ce/0x8c0 net/bridge/br_netfilter_ipv6.c:184 br_nf_pre_routing+0x860/0x15b0 net/bridge/br_netfilter_hooks.c:508 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:282 [inline] br_handle_frame+0xad7/0x14a0 net/bridge/br_input.c:433 __netif_receive_skb_core.constprop.0+0xa20/0x4330 net/core/dev.c:5793 __netif_receive_skb_one_core+0xb1/0x1e0 net/core/dev.c:5897 __netif_receive_skb+0x1d/0x160 net/core/dev.c:6012 process_backlog+0x443/0x15f0 net/core/dev.c:6360 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0xa94/0x1010 net/core/dev.c:7385 handle_softirqs+0x213/0x8f0 kernel/softirq.c:561 do_softirq kernel/softirq.c:462 [inline] do_softirq+0xb2/0xf0 kernel/softirq.c:449 __local_bh_enable_ip+0x100/0x120 kernel/softirq.c:389 spin_unlock_bh include/linux/spinlock.h:396 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x8c7/0xd00 drivers/net/netdevsim/dev.c:851 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244