INFO: task syz.4.345:9063 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-09837-g798bb342e041 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.345 state:D stack:23840 pid:9063 tgid:9061 ppid:8132 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 d_wait_lookup fs/dcache.c:2477 [inline] d_alloc_parallel+0xc16/0x1600 fs/dcache.c:2559 __lookup_slow+0x117/0x3f0 fs/namei.c:1776 lookup_slow+0x53/0x70 fs/namei.c:1808 walk_component fs/namei.c:2112 [inline] link_path_walk+0x99b/0xea0 fs/namei.c:2477 path_lookupat+0xa9/0x450 fs/namei.c:2633 filename_lookup+0x2a3/0x670 fs/namei.c:2663 vfs_statx+0x103/0x490 fs/stat.c:344 vfs_fstatat+0xe5/0x130 fs/stat.c:366 __do_sys_newfstatat fs/stat.c:530 [inline] __se_sys_newfstatat fs/stat.c:524 [inline] __x64_sys_newfstatat+0x11d/0x1a0 fs/stat.c:524 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff069780809 RSP: 002b:00007ff06a596058 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007ff069945fa0 RCX: 00007ff069780809 RDX: 0000000020000080 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007ff0697f393e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff069945fa0 R15: 00007ffd7af0e688 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8e941ab8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e941ab8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 3 locks held by kworker/0:0/8: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffff8880b8628948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987 #2: ffffffff9a671938 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:1088 [inline] #2: ffffffff9a671938 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0x234/0x580 lib/debugobjects.c:1129 1 lock held by khungtaskd/30: #0: ffffffff8e93c520 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e93c520 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e93c520 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 6 locks held by kworker/u8:8/4391: 2 locks held by getty/5596: #0: ffff888035a120a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by udevd/5863: #0: ffffffff8eecf368 (uuid_mutex){+.+.}-{4:4}, at: btrfs_control_ioctl+0x150/0x410 fs/btrfs/super.c:2250 1 lock held by dhcpcd/7317: #0: ffff88805a55a008 (&sb->s_type->i_mutex_key#9){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #0: ffff88805a55a008 (&sb->s_type->i_mutex_key#9){+.+.}-{4:4}, at: __sock_release net/socket.c:639 [inline] #0: ffff88805a55a008 (&sb->s_type->i_mutex_key#9){+.+.}-{4:4}, at: sock_close+0x90/0x240 net/socket.c:1408 5 locks held by kworker/u8:9/7724: 1 lock held by syz.4.345/9063: #0: ffff88804aec4180 (&type->i_mutex_dir_key#29){.+.+}-{4:4}, at: inode_lock_shared include/linux/fs.h:828 [inline] #0: ffff88804aec4180 (&type->i_mutex_dir_key#29){.+.+}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807 1 lock held by syz.4.345/9064: 2 locks held by kworker/u8:10/9751: 1 lock held by syz-executor/10041: 1 lock held by syz-executor/10310: #0: ffffffff8e941ab8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e941ab8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 3 locks held by syz.4.455/10585: 1 lock held by syz.8.458/10605: 3 locks held by syz-executor/10608: 1 lock held by dhcpcd-run-hook/10625: #0: ffff88801baec148 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xd4/0x560 fs/kernfs/dir.c:1159 3 locks held by udevd/10626: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-09837-g798bb342e041 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xffb/0x1040 kernel/hung_task.c:397 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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 UID: 0 PID: 1139 Comm: kworker/u8:6 Not tainted 6.12.0-syzkaller-09837-g798bb342e041 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_preemption_disabled+0x6/0x120 lib/smp_processor_id.c:13 Code: c7 c6 40 81 60 8c eb 1c 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 41 54 <53> 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 1d RSP: 0018:ffffc9000444fa00 EFLAGS: 00000046 RAX: 1ffff11004eddc9a RBX: 0000000000000246 RCX: ffffc9000444fa03 RDX: 0000000000000002 RSI: ffffffff8c0aea80 RDI: ffffffff8c608160 RBP: ffffc9000444fb48 R08: ffffffff901d1fb7 R09: 1ffffffff203a3f6 R10: dffffc0000000000 R11: fffffbfff203a3f7 R12: 1ffff92000889f50 R13: 0000000000000246 R14: ffffc9000444fab0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8c909d8650 CR3: 000000005a060000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] lock_release+0x5ec/0xa30 kernel/locking/lockdep.c:5872 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x28b/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244