INFO: task syz-executor.3:26577 blocked for more than 143 seconds. Not tainted 6.9.0-syzkaller-00967-gcd97950cbcab #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28736 pid:26577 tgid:26562 ppid:20988 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 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:805 [inline] lookup_slow fs/namei.c:1708 [inline] walk_component+0x342/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2485 filename_lookup+0x1e5/0x5b0 fs/namei.c:2514 kern_path+0x35/0x50 fs/namei.c:2622 unix_find_bsd net/unix/af_unix.c:1064 [inline] unix_find_other+0xdc/0x820 net/unix/af_unix.c:1125 unix_stream_connect+0x337/0x1780 net/unix/af_unix.c:1514 __sys_connect_file+0x15f/0x1a0 net/socket.c:2048 __sys_connect+0x149/0x170 net/socket.c:2065 __do_sys_connect net/socket.c:2075 [inline] __se_sys_connect net/socket.c:2072 [inline] __x64_sys_connect+0x72/0xb0 net/socket.c:2072 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:0x7fd74827dd69 RSP: 002b:00007fd7490350c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007fd7483ac120 RCX: 00007fd74827dd69 RDX: 000000000000006e RSI: 0000000020000280 RDI: 000000000000000a RBP: 00007fd7482ca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fd7483ac120 R15: 00007ffd586b4318 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8d9b0e60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8d9b0e60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8d9b0e60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 3 locks held by kworker/u8:10/3457: 2 locks held by getty/4826: #0: ffff88802f2fa0a0 (&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/u8:1/20509: #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3242 #1: ffffc900039e7d80 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3243 #2: ffffffff8d9bc5f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:291 2 locks held by syz-executor.3/26563: 1 lock held by syz-executor.3/26577: #0: ffff888057f20188 (&type->i_mutex_dir_key#34){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff888057f20188 (&type->i_mutex_dir_key#34){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff888057f20188 (&type->i_mutex_dir_key#34){.+.+}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 1 lock held by syz-executor.2/27985: 1 lock held by syz-executor.4/28001: 1 lock held by syz-executor.0/28008: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 31 Comm: khungtaskd Not tainted 6.9.0-syzkaller-00967-gcd97950cbcab #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:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 51 Comm: kworker/u8:3 Not tainted 6.9.0-syzkaller-00967-gcd97950cbcab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:iterate_chain_key kernel/locking/lockdep.c:448 [inline] RIP: 0010:__lock_acquire+0xca3/0x3b30 kernel/locking/lockdep.c:5125 Code: 2b 00 00 48 83 78 40 00 0f 84 73 13 00 00 0f b7 44 24 08 8b 5c 24 60 8b 4c 24 20 c1 e0 0d 44 09 e8 98 29 d8 8b 5c 24 68 31 d8 <8b> 5c 24 48 89 c2 29 c1 c1 c2 06 31 ca 01 d8 29 d3 89 d9 89 d3 01 RSP: 0018:ffffc90000bc78e8 EFLAGS: 00000006 RAX: 00000000221f2b93 RBX: 000000002f10155f RCX: 00000000fb808e73 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff93fe6fa8 RBP: ffffffff9403bba8 R08: 0000000000000000 R09: fffffbfff27fca30 R10: ffffffff93fe5187 R11: 0000000000000002 R12: ffffed10033538da R13: 0000000000000021 R14: ffff888019a9c728 R15: 0000000000000004 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200c2030 CR3: 000000000d77a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] batadv_nc_process_nc_paths.part.0+0xe4/0x3e0 net/batman-adv/network-coding.c:687 batadv_nc_process_nc_paths net/batman-adv/network-coding.c:679 [inline] batadv_nc_worker+0xd53/0x10f0 net/batman-adv/network-coding.c:728 process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3267 process_scheduled_works kernel/workqueue.c:3348 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3429 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244