INFO: task syz-executor.2:12606 blocked for more than 143 seconds. Not tainted 6.9.0-syzkaller-08995-g0450d2083be6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29504 pid:12606 tgid:12597 ppid:11909 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:801 [inline] lookup_slow fs/namei.c:1708 [inline] walk_component+0x342/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2469 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2493 filename_lookup+0x1e5/0x5b0 fs/namei.c:2522 do_linkat+0x140/0x5e0 fs/namei.c:4663 __do_sys_link fs/namei.c:4717 [inline] __se_sys_link fs/namei.c:4715 [inline] __x64_sys_link+0x81/0xa0 fs/namei.c:4715 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd5b6e7cee9 RSP: 002b:00007fd5b7b6b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000056 RAX: ffffffffffffffda RBX: 00007fd5b6fac120 RCX: 00007fd5b6e7cee9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000240 RBP: 00007fd5b6ec949e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fd5b6fac120 R15: 00007ffe0f3d4aa8 Showing all locks held in the system: 7 locks held by kworker/1:0/25: 1 lock held by khungtaskd/30: #0: ffffffff8dbb1760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8dbb1760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8dbb1760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 6 locks held by kworker/u8:4/62: 2 locks held by kworker/u8:7/1100: 2 locks held by getty/4840: #0: ffff88802b2650a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 3 locks held by kworker/0:5/5160: #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206 #1: ffffc90004607d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207 #2: ffffffff8f745aa8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 1 lock held by syz-executor.1/7330: 1 lock held by syz-executor.1/7795: 2 locks held by kworker/u8:0/11426: #0: ffff8880b923ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 #1: ffff8880b9228a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 2 locks held by syz-executor.2/12599: 1 lock held by syz-executor.2/12606: #0: ffff88804dd78188 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:801 [inline] #0: ffff88804dd78188 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88804dd78188 (&type->i_mutex_dir_key#26){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 3 locks held by kworker/u9:2/13539: 2 locks held by syz-executor.2/13572: 1 lock held by syz-executor.0/13573: #0: ffffffff8dbbcef8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:323 1 lock held by syz-executor.3/13578: #0: ffffffff8f745aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f745aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 1 lock held by syz-executor.4/13581: #0: ffffffff8f745aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f745aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 1 lock held by syz-executor.1/13582: #0: ffffffff8f745aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f745aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.9.0-syzkaller-08995-g0450d2083be6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 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 PID: 1100 Comm: kworker/u8:7 Not tainted 6.9.0-syzkaller-08995-g0450d2083be6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound bpf_map_free_deferred RIP: 0010:stack_trace_consume_entry+0xd7/0x170 kernel/stacktrace.c:93 Code: 02 00 0f 85 9a 00 00 00 8d 45 01 89 43 10 48 8b 03 48 8d 2c e8 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 00 <75> 64 48 89 75 00 8b 43 08 39 43 10 0f 92 c0 48 83 c4 08 5b 5d c3 RSP: 0018:ffffc90004e9f8c0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffffc90004e9f9a8 RCX: ffffffff8134243e RDX: 1ffff920009d3f4b RSI: ffffffff81585c6b RDI: ffffc90004e9f9b4 RBP: ffffc90004e9fa58 R08: 0000000000000007 R09: 0000000000000000 R10: ffffffff81585c6b R11: 0000000000000002 R12: ffffc90004e9f8e8 R13: ffffffff817989f0 R14: ffffc90004e9f9a8 R15: ffff8880227c1e00 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d825000 CR3: 0000000062cde000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0xe1/0x170 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x162/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x8d/0x400 mm/page_owner.c:302 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1141 [inline] free_unref_page_prepare+0x527/0xb10 mm/page_alloc.c:2347 free_unref_page+0x33/0x3c0 mm/page_alloc.c:2487 bpf_ringbuf_free kernel/bpf/ringbuf.c:223 [inline] ringbuf_map_free+0xd7/0x130 kernel/bpf/ringbuf.c:232 bpf_map_free_deferred+0x1ce/0x420 kernel/bpf/syscall.c:746 process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244