INFO: task syz.0.9:4276 blocked for more than 143 seconds. Not tainted 5.15.181-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.9 state:D stack:24512 pid: 4276 ppid: 4171 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 perf_pending_task_sync+0x13c/0x1c0 kernel/events/core.c:5127 _free_event+0x34/0xe60 kernel/events/core.c:5133 put_event kernel/events/core.c:5258 [inline] perf_event_release_kernel+0x832/0x8c0 kernel/events/core.c:5383 perf_release+0x37/0x40 kernel/events/core.c:5393 __fput+0x234/0x930 fs/file_table.c:311 task_work_run+0x125/0x1a0 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x616/0x20a0 kernel/exit.c:874 do_group_exit+0x12e/0x300 kernel/exit.c:996 get_signal+0x6ca/0x12c0 kernel/signal.c:2900 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f1db6b24969 RSP: 002b:00007f1db498bfe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: fffffffffffffff2 RBX: 00007f1db6d4bfa0 RCX: 00007f1db6b24969 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020083400 RBP: 00007f1db6ba6ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1db6d4bfa0 R15: 00007ffcb4863008 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c11be60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:4/1238: #0: ffff888016879138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90004fb7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d22a1c8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 2 locks held by dhcpcd/3837: #0: ffffffff8d2128c8 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x273/0x6e0 net/socket.c:1219 #1: ffffffff8d22a1c8 (rtnl_mutex){+.+.}-{3:3}, at: vlan_ioctl_handler+0xd2/0x610 net/8021q/vlan.c:555 2 locks held by getty/3930: #0: ffff88807edb0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900026362e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 3 locks held by kworker/0:7/4218: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000318fd00 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff88807c430400 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_trap_report_work+0x56/0xb40 drivers/net/netdevsim/dev.c:757 2 locks held by kworker/1:5/4219: 2 locks held by kworker/0:8/4248: #0: ffff888016872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900031cfd00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 8 locks held by kworker/u4:6/4272: #0: ffff8880169cd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000327fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d21e550 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:589 #3: ffffffff8d24f768 (devlink_mutex){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x97/0x300 net/core/devlink.c:11534 #4: ffff88807c434658 (&nsim_bus_dev->nsim_bus_reload_lock){+.+.}-{3:3}, at: nsim_dev_reload_down+0x57/0x160 drivers/net/netdevsim/dev.c:870 #5: ffff88807c430400 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1359 [inline] #5: ffff88807c430400 (&nsim_dev->port_list_lock){+.+.}-{3:3}, at: nsim_dev_reload_destroy+0x115/0x240 drivers/net/netdevsim/dev.c:1561 #6: ffffffff8d22a1c8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x3b/0x150 drivers/net/netdevsim/netdev.c:381 #7: ffffffff8c1208e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #7: ffffffff8c1208e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x347/0x6b0 kernel/rcu/tree_exp.h:845 3 locks held by kworker/u4:8/5386: #0: ffff8880b903a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffffc90002f7fd00 ((work_completion)(&(&bat_priv->mcast.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff8880b9028098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x123/0x270 kernel/time/timer.c:946 1 lock held by syz.2.472/6039: 4 locks held by udevd/6390: #0: ffff888063b269e0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xad/0xd50 fs/seq_file.c:182 #1: ffff88801ee92888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x51/0x3c0 fs/kernfs/file.c:112 #2: ffff888075f9f008 (kn->active#32){++++}-{0:0}, at: kernfs_seq_start+0x71/0x3c0 fs/kernfs/file.c:113 #3: ffff88807e581178 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff88807e581178 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17a/0x330 drivers/base/core.c:2408 6 locks held by syz-executor/6689: #0: ffff88807ef02460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x28a/0xd00 fs/read_write.c:590 #1: ffff888063db1c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e5/0x4c0 fs/kernfs/file.c:287 #2: ffff888022dfce88 (kn->active#294){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x208/0x4c0 fs/kernfs/file.c:288 #3: ffffffff8cb71c88 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x13c/0x740 drivers/net/netdevsim/bus.c:295 #4: ffff88807e581178 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff88807e581178 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x460 drivers/base/dd.c:954 #5: ffffffff8d22a1c8 (rtnl_mutex){+.+.}-{3:3}, at: devlink_nl_port_fill+0x295/0x870 net/core/devlink.c:995 1 lock held by syz-executor/6723: #0: ffffffff8d22a1c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d22a1c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x974/0xe60 net/core/rtnetlink.c:5647 1 lock held by syz.7.585/6853: #0: ffffffff8d22a1c8 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0xca/0xcb0 net/netlink/af_netlink.c:2212 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.181-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6039 Comm: syz.2.472 Not tainted 5.15.181-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:205 Code: 84 00 00 00 00 00 53 48 89 fb e8 17 00 00 00 48 8b 3d 10 ef f0 0b 48 89 de 5b e9 87 a9 44 00 00 00 cc cc 00 00 cc 48 8b 04 24 <65> 48 8b 0d a4 b1 8a 7e 65 8b 15 a5 b1 8a 7e 81 e2 00 01 ff 00 74 RSP: 0018:ffffc90000dd0838 EFLAGS: 00000806 RAX: ffffffff81974dbd RBX: ffffc90000dd09e0 RCX: 1ffff920001ba114 RDX: ffff88805f7d4d98 RSI: ffffc90000dd0b40 RDI: ffffc90000dd09e0 RBP: ffffc90000dd0930 R08: dffffc0000000000 R09: ffffc90000dd0980 R10: fffff520001ba137 R11: 1ffff920001ba130 R12: dffffc0000000000 R13: ffff88805f7d4d98 R14: ffffc90000dd0980 R15: ffffc90000dd0b40 FS: 00007f4b27ba06c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000a37000 CR3: 0000000064a33000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: perf_prepare_sample+0x7d/0x1c40 kernel/events/core.c:7591 __perf_event_output kernel/events/core.c:7778 [inline] perf_event_output_forward+0x146/0x280 kernel/events/core.c:7798 __perf_event_overflow+0x364/0x530 kernel/events/core.c:9491 perf_swevent_hrtimer+0x3db/0x530 kernel/events/core.c:10887 __run_hrtimer kernel/time/hrtimer.c:1690 [inline] __hrtimer_run_queues+0x4fe/0xc40 kernel/time/hrtimer.c:1754 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa5/0x100 kernel/locking/spinlock.c:194 Code: 74 05 e8 0e 50 d3 f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 c6 cf a6 f7 65 8b 05 67 e3 57 76 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc9000309fa40 EFLAGS: 00000206 RAX: aa01bba30c2d7b00 RBX: 0000000000000a06 RCX: aa01bba30c2d7b00 RDX: dffffc0000000000 RSI: ffffffff8a0b0fc0 RDI: 0000000000000001 RBP: ffffc9000309fac0 R08: dffffc0000000000 R09: ffffed1004f0c735 R10: ffffed1004f0c735 R11: 1ffff11004f0c734 R12: dffffc0000000000 R13: ffff888069e4a818 R14: ffff8880278639a0 R15: 1ffff92000613f48 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline] trie_update_elem+0x6c8/0xc50 kernel/bpf/lpm_trie.c:447 bpf_map_update_value+0x591/0x670 kernel/bpf/syscall.c:221 generic_map_update_batch+0x525/0x7c0 kernel/bpf/syscall.c:1424 bpf_map_do_batch+0x466/0x600 kernel/bpf/syscall.c:-1 __sys_bpf+0x601/0x670 kernel/bpf/syscall.c:-1 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f4b29d38969 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:00007f4b27ba0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f4b29f5ffa0 RCX: 00007f4b29d38969 RDX: 0000000000000038 RSI: 0000200000000000 RDI: 000000000000001a RBP: 00007f4b29dbaab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4b29f5ffa0 R15: 00007ffe6a8d4828