INFO: task syz.9.13347:9422 blocked for more than 143 seconds. Not tainted 6.1.142-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.13347 state:D stack:22528 pid:9422 ppid:4504 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10e9/0x40d0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 perf_pending_task_sync kernel/events/core.c:5031 [inline] _free_event+0x171/0x10a0 kernel/events/core.c:5037 put_event kernel/events/core.c:5162 [inline] perf_event_release_kernel+0x832/0x8c0 kernel/events/core.c:5287 perf_release+0x37/0x40 kernel/events/core.c:5297 __fput+0x22c/0x920 fs/file_table.c:320 task_work_run+0x1ca/0x250 kernel/task_work.c:203 get_signal+0x11a6/0x1350 kernel/signal.c:2648 arch_do_signal_or_restart+0xb0/0x1230 arch/x86/kernel/signal.c:871 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:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f33d298e929 RSP: 002b:00007f33d377ffe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: fffffffffffffff2 RBX: 00007f33d2bb5fa0 RCX: 00007f33d298e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000640c7000 RBP: 00007f33d2a10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f33d2bb5fa0 R15: 00007ffdc43b0738 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c92b430 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c92bc50 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffffffff8c92aaa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8c92aaa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8c92aaa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513 2 locks held by getty/4013: #0: ffff88814cd02098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000326b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41b/0x1380 drivers/tty/n_tty.c:2198 3 locks held by kworker/u4:12/22381: #0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003917d00 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8c930778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #2: ffffffff8c930778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x830 kernel/rcu/tree_exp.h:962 6 locks held by kworker/u4:23/22470: #0: ffff888017616938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003b3fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8db28250 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:594 #3: ffff88803f2622f8 (&devlink->lock_key#27){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0xf8/0x270 net/devlink/leftover.c:12500 #4: ffffffff8db34ee8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x3b/0x150 drivers/net/netdevsim/netdev.c:381 #5: ffffffff8c930778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #5: ffffffff8c930778 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x346/0x830 kernel/rcu/tree_exp.h:962 2 locks held by kworker/0:7/31009: #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc9000371fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 2 locks held by syz.6.14000/11431: #0: ffffffff8db28250 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x32e/0x5b0 net/core/net_namespace.c:504 #1: ffffffff8db34ee8 (rtnl_mutex){+.+.}-{3:3}, at: xfrmi_exit_batch_net+0xb0/0x350 net/xfrm/xfrm_interface_core.c:956 1 lock held by syz.0.14010/11479: 1 lock held by syz.3.14021/11507: #0: ffffffff8db34ee8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x3ab/0x1e10 drivers/net/tun.c:3104 1 lock held by syz.3.14021/11511: #0: ffffffff8db34ee8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x3ab/0x1e10 drivers/net/tun.c:3104 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.142-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 nmi_cpu_backtrace+0x3f4/0x470 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1d4/0x450 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xeee/0xf30 kernel/hung_task.c:377 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11479 Comm: syz.0.14010 Not tainted 6.1.142-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:unwind_next_frame+0x6dd/0x20b0 arch/x86/kernel/unwind_orc.c:471 Code: 00 00 44 89 f9 80 e1 07 38 c1 0f 8c 75 02 00 00 be 02 00 00 00 49 89 d6 4c 89 ff e8 ad f8 99 00 e9 3b 18 00 00 48 8b 44 24 50 <42> 80 3c 28 00 4c 8b 74 24 58 74 08 4c 89 f7 e8 cf f7 99 00 49 8b RSP: 0018:ffffc90003d0f530 EFLAGS: 00000297 RAX: 1ffff920007a1ec8 RBX: ffffc90003d0f608 RCX: ffffffff8e126650 RDX: ffffffff8e83d91a RSI: ffffffff8e126648 RDI: ffffffff8138551f RBP: ffffffff8e83d91e R08: 000000000000000d R09: 0000000000000004 R10: fffff520007a1ecd R11: 1ffff920007a1ecb R12: ffffffff8e83d91a R13: dffffc0000000000 R14: ffffffff8e12664c R15: 0000000000000005 FS: 00007f59f7e066c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000005e3000 CR3: 000000004f957000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000082 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122 kasan_save_stack+0x3a/0x60 mm/kasan/common.c:45 __kasan_record_aux_stack+0xb2/0xc0 mm/kasan/generic.c:486 kvfree_call_rcu+0x108/0x870 kernel/rcu/tree.c:3401 trie_update_elem+0xa2e/0xe90 kernel/bpf/lpm_trie.c:446 bpf_map_update_value+0x5a0/0x670 kernel/bpf/syscall.c:226 generic_map_update_batch+0x569/0x850 kernel/bpf/syscall.c:1702 bpf_map_do_batch+0x466/0x600 kernel/bpf/syscall.c:-1 __sys_bpf+0x65f/0x6d0 kernel/bpf/syscall.c:-1 __do_sys_bpf kernel/bpf/syscall.c:5124 [inline] __se_sys_bpf kernel/bpf/syscall.c:5122 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5122 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f59f6f8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f59f7e06038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f59f71b6080 RCX: 00007f59f6f8e929 RDX: 0000000000000038 RSI: 0000200000000000 RDI: 000000000000001a RBP: 00007f59f7010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f59f71b6080 R15: 00007ffc96462a98