INFO: task syz.3.326:6616 blocked for more than 143 seconds. Not tainted 6.10.0-rc6-next-20240703-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.326 state:D stack:24152 pid:6616 tgid:6613 ppid:6259 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 ni_lock fs/ntfs3/ntfs_fs.h:1110 [inline] ntfs_lookup+0xf9/0x1f0 fs/ntfs3/namei.c:84 __lookup_slow+0x28c/0x3f0 fs/namei.c:1718 lookup_slow+0x53/0x70 fs/namei.c:1735 walk_component+0x2e1/0x410 fs/namei.c:2030 lookup_last fs/namei.c:2499 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2523 filename_lookup+0x256/0x610 fs/namei.c:2552 user_path_at+0x3a/0x60 fs/namei.c:2959 __do_sys_chdir fs/open.c:562 [inline] __se_sys_chdir+0xbc/0x220 fs/open.c:556 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:0x7fbc3a375bd9 RSP: 002b:00007fbc3b1a9048 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007fbc3a504038 RCX: 00007fbc3a375bd9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007fbc3a3e4aa1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fbc3a504038 R15: 00007ffd15c46f38 INFO: task syz.3.326:6633 blocked for more than 144 seconds. Not tainted 6.10.0-rc6-next-20240703-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.326 state:D stack:27424 pid:6633 tgid:6613 ppid:6259 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:799 [inline] open_last_lookups fs/namei.c:3601 [inline] path_openat+0x7fb/0x3470 fs/namei.c:3840 do_filp_open+0x235/0x490 fs/namei.c:3870 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_openat fs/open.c:1447 [inline] __se_sys_openat fs/open.c:1442 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1442 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:0x7fbc3a375bd9 RSP: 002b:00007fbc3b188048 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fbc3a504110 RCX: 00007fbc3a375bd9 RDX: 000000000000275a RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007fbc3a3e4aa1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fbc3a504110 R15: 00007ffd15c46f38 Showing all locks held in the system: 2 locks held by kworker/u8:1/12: 1 lock held by khungtaskd/30: #0: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #0: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #0: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6704 2 locks held by getty/4854: #0: ffff88802a99c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/5084: #0: ffff8880b943ea18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:576 #1: ffff8880b9428948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:989 #2: ffff8880b942d4c8 (lock#6){-.-.}-{2:2}, at: local_lock_acquire include/linux/local_lock_internal.h:29 [inline] #2: ffff8880b942d4c8 (lock#6){-.-.}-{2:2}, at: kcov_remote_stop+0x70/0x6e0 kernel/kcov.c:997 3 locks held by syz.3.326/6614: 2 locks held by syz.3.326/6616: #0: ffff8880777cc5b0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:809 [inline] #0: ffff8880777cc5b0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1734 #1: ffff8880777cc318 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1110 [inline] #1: ffff8880777cc318 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_lookup+0xf9/0x1f0 fs/ntfs3/namei.c:84 2 locks held by syz.3.326/6633: #0: ffff88807697a420 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:514 #1: ffff8880777cc5b0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:799 [inline] #1: ffff8880777cc5b0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: open_last_lookups fs/namei.c:3601 [inline] #1: ffff8880777cc5b0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: path_openat+0x7fb/0x3470 fs/namei.c:3840 3 locks held by syz.0.373/6826: 2 locks held by syz.0.373/6829: #0: ffff8880777cd460 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:809 [inline] #0: ffff8880777cd460 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1734 #1: ffff8880777cd1c8 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1110 [inline] #1: ffff8880777cd1c8 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_lookup+0xf9/0x1f0 fs/ntfs3/namei.c:84 2 locks held by syz.0.373/6843: #0: ffff8880769a2420 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:514 #1: ffff8880777cd460 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:799 [inline] #1: ffff8880777cd460 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: open_last_lookups fs/namei.c:3601 [inline] #1: ffff8880777cd460 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: path_openat+0x7fb/0x3470 fs/namei.c:3840 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc6-next-20240703-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:223 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:379 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: 5207 Comm: kworker/0:7 Not tainted 6.10.0-rc6-next-20240703-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_power_efficient gc_worker RIP: 0010:check_wait_context kernel/locking/lockdep.c:4839 [inline] RIP: 0010:__lock_acquire+0x733/0x2000 kernel/locking/lockdep.c:5143 Code: 41 89 ed ff cd 0f 88 a3 00 00 00 89 eb 83 fd 31 73 7a 48 8d 04 9b 48 8d 5c c6 20 48 89 d8 48 c1 e8 03 0f b6 04 10 84 c0 75 19 <8b> 1b 41 0f b6 04 16 84 c0 75 32 41 33 1c 24 f7 c3 00 60 00 00 74 RSP: 0018:ffffc90004307810 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff88802334c728 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffff88802334c6e0 RDI: 000000000000000a RBP: 0000000000000001 R08: ffffffff93010787 R09: 1ffffffff26020f0 R10: dffffc0000000000 R11: fffffbfff26020f1 R12: ffff88802334c750 R13: 0000000000000002 R14: 1ffff110046698ea R15: ffff88802334bc00 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc5f88d0ab8 CR3: 0000000079402000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5816 rcu_lock_acquire include/linux/rcupdate.h:333 [inline] rcu_read_lock include/linux/rcupdate.h:845 [inline] gc_worker+0x28c/0x1530 net/netfilter/nf_conntrack_core.c:1486 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 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