INFO: task syz.9.364:7084 blocked for more than 143 seconds. Not tainted 6.6.101-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.364 state:D stack:23080 pid:7084 ppid:6582 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6700 schedule+0xbd/0x170 kernel/sched/core.c:6774 perf_pending_task_sync kernel/events/core.c:5242 [inline] _free_event+0x174/0xf30 kernel/events/core.c:5248 put_event kernel/events/core.c:5376 [inline] perf_event_release_kernel+0x836/0x8c0 kernel/events/core.c:5501 perf_release+0x3b/0x40 kernel/events/core.c:5511 __fput+0x234/0x970 fs/file_table.c:384 task_work_run+0x1ce/0x250 kernel/task_work.c:239 get_signal+0x1235/0x1400 kernel/signal.c:2678 arch_do_signal_or_restart+0x96/0x780 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop+0x70/0x110 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:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc539b8ebe9 RSP: 002b:00007fc53aa86fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: fffffffffffffff2 RBX: 00007fc539db6090 RCX: 00007fc539b8ebe9 RDX: 0000000000000000 RSI: 000000000003fff0 RDI: 00000000630c1000 RBP: 00007fc539c11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007fc539db6128 R14: 00007fc539db6090 R15: 00007ffe314af1e8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 2 locks held by kworker/u4:4/58: 2 locks held by getty/5550: #0: ffff8880321c20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 2 locks held by syz.8.1075/9223: #0: ffffffff8dfbb888 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8dfbb888 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x41/0x1c0 drivers/net/tun.c:3511 #1: ffffffff8cd35b78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #1: ffffffff8cd35b78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x448/0x830 kernel/rcu/tree_exp.h:1004 1 lock held by syz.5.1079/9234: #0: ffffffff8dfbb888 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8dfbb888 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x41/0x1c0 drivers/net/tun.c:3511 1 lock held by syz.2.1077/9239: #0: ffffffff8dfbb888 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8dfbb888 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x41/0x1c0 drivers/net/tun.c:3511 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.101-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x39b/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf41/0xf80 kernel/hung_task.c:379 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12 Comm: kworker/u4:1 Not tainted 6.6.101-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] RIP: 0010:lock_release+0x545/0x8b0 kernel/locking/lockdep.c:5776 Code: 24 18 48 8b 54 24 48 e8 79 70 00 00 4c 8b 7c 24 08 48 c7 c7 c0 cb aa 8a e8 a8 9f 05 09 b8 ff ff ff ff 65 0f c1 05 c3 fa 9a 7e <83> f8 01 75 75 48 c7 84 24 80 00 00 00 00 00 00 00 9c 8f 84 24 80 RSP: 0018:ffffc90000117a40 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 787ecb18009b4bcb RCX: 3e43a17eaae2ed00 RDX: 0000000000000002 RSI: ffffffff8aaacbc0 RDI: ffffffff8afc6780 RBP: ffffc90000117b50 R08: ffffffff8e4a84ef R09: 1ffffffff1c9509d R10: dffffc0000000000 R11: fffffbfff1c9509e R12: ffff88801ba7e530 R13: dffffc0000000000 R14: ffff88801ba7e4d0 R15: 1ffff92000022f54 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f41c0a53d58 CR3: 00000000233c3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: rcu_lock_release include/linux/rcupdate.h:344 [inline] rcu_read_unlock include/linux/rcupdate.h:819 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x291/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293