INFO: task syz-fuzzer:5066 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-fuzzer state:D stack:26240 pid:5066 tgid:5053 ppid:5051 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:793 [inline] vfs_unlink+0xd3/0x910 fs/namei.c:4327 do_unlinkat+0x5c0/0x750 fs/namei.c:4402 __do_sys_unlinkat fs/namei.c:4445 [inline] __se_sys_unlinkat fs/namei.c:4438 [inline] __x64_sys_unlinkat+0xc1/0x130 fs/namei.c:4438 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x40720e RSP: 002b:000000c000d8f638 EFLAGS: 00000202 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 0000000000000015 RCX: 000000000040720e RDX: 0000000000000000 RSI: 000000c0016f4620 RDI: 0000000000000015 RBP: 000000c000d8f678 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 000000c000f7d400 R14: 000000c0000aeb60 R15: 0000000000000031 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by kworker/0:2/783: #0: ffff8880b943e698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 #1: ffff8880b9428a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 2 locks held by getty/4816: #0: ffff88802a88f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015f02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 3 locks held by syz-fuzzer/5066: #0: ffff88802f12e420 (sb_writers#5){.+.+}-{0:0}, at: do_unlinkat+0x1d3/0x750 fs/namei.c:4385 #1: ffff888056dcca00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:828 [inline] #1: ffff888056dcca00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x288/0x750 fs/namei.c:4389 #2: ffff8880606db600 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:793 [inline] #2: ffff8880606db600 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_unlink+0xd3/0x910 fs/namei.c:4327 1 lock held by syz-executor.3/7494: 1 lock held by syz-executor.3/7499: 4 locks held by syz-executor.3/7500: 2 locks held by syz-executor.4/7619: 1 lock held by syz-executor.4/7623: 5 locks held by syz-executor.4/7625: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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:222 [inline] watchdog+0xf86/0x1210 kernel/hung_task.c:379 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:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7623 Comm: syz-executor.4 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:task_irq_context kernel/locking/lockdep.c:4607 [inline] RIP: 0010:__lock_acquire+0x365/0x3b30 kernel/locking/lockdep.c:5074 Code: 14 02 48 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 bd 10 00 00 48 8b 04 24 49 8d 7e 24 8b 54 24 08 83 b8 bc 0a 00 00 01 <44> 89 e0 83 d8 ff c1 e5 0f c1 e0 0d c1 e1 10 0f b7 ed 09 e8 81 e1 RSP: 0018:ffffc90003aaf330 EFLAGS: 00000097 RAX: ffff888022ea9e00 RBX: 0000000000000000 RCX: 0000000000000002 RDX: 0000000000000000 RSI: ffff888022eaa8bc RDI: ffff888022eaa924 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888022eaa900 R15: 0000000000000021 FS: 00007f761e1c06c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005643dde9caa0 CR3: 00000000233f2000 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/0x540 kernel/locking/lockdep.c:5719 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock include/linux/rcupdate.h:750 [inline] percpu_ref_get_many include/linux/percpu-refcount.h:202 [inline] percpu_ref_get include/linux/percpu-refcount.h:222 [inline] css_get include/linux/cgroup_refcnt.h:11 [inline] css_get include/linux/cgroup_refcnt.h:8 [inline] mem_cgroup_commit_charge+0x258/0x400 mm/memcontrol.c:2970 charge_memcg mm/memcontrol.c:7280 [inline] __mem_cgroup_charge+0xb5/0x140 mm/memcontrol.c:7291 mem_cgroup_charge include/linux/memcontrol.h:690 [inline] __filemap_add_folio+0x83d/0xec0 mm/filemap.c:864 filemap_add_folio+0xb1/0x1f0 mm/filemap.c:947 page_cache_ra_unbounded+0x1ce/0x5f0 mm/readahead.c:250 do_page_cache_ra mm/readahead.c:299 [inline] page_cache_ra_order+0x7b7/0xa70 mm/readahead.c:544 do_sync_mmap_readahead mm/filemap.c:3153 [inline] filemap_fault+0x16a7/0x3570 mm/filemap.c:3245 __do_fault+0x10a/0x4a0 mm/memory.c:4396 do_read_fault mm/memory.c:4758 [inline] do_fault mm/memory.c:4888 [inline] do_pte_missing mm/memory.c:3745 [inline] handle_pte_fault mm/memory.c:5164 [inline] __handle_mm_fault+0x32c2/0x4920 mm/memory.c:5305 handle_mm_fault+0x476/0xa00 mm/memory.c:5470 do_user_addr_fault+0x2e5/0x1080 arch/x86/mm/fault.c:1413 handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1563 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:do_strncpy_from_user lib/strncpy_from_user.c:41 [inline] RIP: 0010:strncpy_from_user+0x164/0x300 lib/strncpy_from_user.c:139 Code: 00 48 83 ed 08 4d 89 64 1d 00 bf 07 00 00 00 48 83 c3 08 48 89 ee e8 4b 2b e4 fc 48 83 fd 07 0f 86 ca 00 00 00 e8 2c 30 e4 fc <4d> 8b 24 1e e8 23 30 e4 fc 48 b8 ff fe fe fe fe fe fe fe 4c 89 e2 RSP: 0018:ffffc90003aafd10 EFLAGS: 00050287 RAX: 00000000000003a9 RBX: 0000000000000000 RCX: ffffc9000a512000 RDX: 0000000000040000 RSI: ffffffff84a8c884 RDI: 0000000000000007 RBP: 0000000000000fe0 R08: 0000000000000007 R09: 0000000000000007 R10: 0000000000000fe0 R11: 0000000000000000 R12: 0000000020001060 R13: ffff88802b9bc420 R14: 0000000020000080 R15: 0000000000000fe0 getname_flags.part.0+0x93/0x4f0 fs/namei.c:150 getname_flags include/linux/audit.h:322 [inline] getname+0x8f/0xe0 fs/namei.c:218 do_sys_openat2+0x104/0x1e0 fs/open.c:1400 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f761d47de69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f761e1c00c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f761d5ac050 RCX: 00007f761d47de69 RDX: 00000000000026e1 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f761d4ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f761d5ac050 R15: 00007ffdc4f01d78