INFO: task syz-executor.3:9612 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00007-g4d2008430ce8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:26112 pid:9612 tgid:9606 ppid:5088 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 user_path_at_empty+0x42/0x60 fs/namei.c:2921 user_path_at include/linux/namei.h:57 [inline] path_listxattr+0x9c/0x160 fs/xattr.c:861 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:0x7f5541c7dea9 RSP: 002b:00007f55429470c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000c3 RAX: ffffffffffffffda RBX: 00007f5541dabf80 RCX: 00007f5541c7dea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007f5541cca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5541dabf80 R15: 00007ffeec4701a8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by kworker/u8:3/50: 2 locks held by getty/4829: #0: ffff88802ef400a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&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/5137: #0: ffff88801b2cad48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3229 #1: ffff8880b9428a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 #2: ffffffff94925f78 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:978 [inline] #2: ffffffff94925f78 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0x1d0/0x600 lib/debugobjects.c:1019 3 locks held by kworker/1:5/5138: #0: ffff8880b953ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 #1: ffff8880b9528a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 #2: ffff8880b952a858 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x220 kernel/time/timer.c:1052 1 lock held by syz-executor.3/9612: #0: ffff88805b5fc188 (&type->i_mutex_dir_key#18){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88805b5fc188 (&type->i_mutex_dir_key#18){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88805b5fc188 (&type->i_mutex_dir_key#18){.+.+}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 2 locks held by syz-executor.3/9614: 1 lock held by syz-executor.0/11583: #0: ffff8880b943ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 2 locks held by syz-executor.1/11606: 2 locks held by syz-executor.3/11612: #0: ffff8880771fa610 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #0: ffff8880771fa610 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x270 net/socket.c:658 #1: ffffffff8d7bc538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #1: ffffffff8d7bc538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x682/0x7a0 kernel/rcu/tree_exp.h:939 4 locks held by kvm-nx-lpage-re/11621: #0: ffffffff8d801688 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:368 [inline] #0: ffffffff8d801688 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x25/0x130 kernel/cgroup/cgroup-v1.c:61 #1: ffffffff8d6545b0 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock+0x12/0x40 kernel/cgroup/cgroup.c:2413 #2: ffffffff8d801450 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2415 [inline] #2: ffffffff8d801450 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock+0x37/0x40 kernel/cgroup/cgroup.c:2411 #3: ffffffff8d7bc538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #3: ffffffff8d7bc538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x7a0 kernel/rcu/tree_exp.h:939 1 lock held by syz-executor.4/11625: 1 lock held by syz-executor.4/11626: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00007-g4d2008430ce8 #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: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: 9614 Comm: syz-executor.3 Not tainted 6.9.0-rc5-syzkaller-00007-g4d2008430ce8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__sanitizer_cov_trace_pc+0x33/0x60 kernel/kcov.c:207 Code: 15 76 7e 65 8b 05 25 15 76 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 14 16 00 00 85 c0 74 2b 8b 82 f0 15 00 00 <83> f8 02 75 20 48 8b 8a f8 15 00 00 8b 92 f4 15 00 00 48 8b 01 48 RSP: 0018:ffffc900044661a0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90004466228 RCX: ffffffff813d1891 RDX: ffff888051dd1e00 RSI: ffffffff813d189f RDI: 0000000000000007 RBP: 0000000000000001 R08: 0000000000000007 R09: 0000000000000000 R10: ffffffff81c68477 R11: 0000000000000002 R12: ffffffff81c68477 R13: 0000000000000000 R14: ffffc900044662e8 R15: ffffc9000446625d FS: 00007f55429476c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2de2a000 CR3: 00000000117da000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: orc_find arch/x86/kernel/unwind_orc.c:206 [inline] unwind_next_frame+0x1cf/0x23a0 arch/x86/kernel/unwind_orc.c:494 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 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_folios+0x256/0xad0 mm/page_alloc.c:2536 shrink_folio_list+0x32e8/0x3f00 mm/vmscan.c:1428 evict_folios+0x6e6/0x1bb0 mm/vmscan.c:4537 try_to_shrink_lruvec+0x618/0x9b0 mm/vmscan.c:4733 lru_gen_shrink_lruvec mm/vmscan.c:4876 [inline] shrink_lruvec+0x2df/0x29b0 mm/vmscan.c:5653 shrink_node_memcgs mm/vmscan.c:5873 [inline] shrink_node+0x81e/0x3a80 mm/vmscan.c:5908 shrink_zones mm/vmscan.c:6152 [inline] do_try_to_free_pages+0x361/0x1a20 mm/vmscan.c:6214 try_to_free_mem_cgroup_pages+0x317/0x7f0 mm/vmscan.c:6529 try_charge_memcg+0x3d1/0x11a0 mm/memcontrol.c:2783 try_charge mm/memcontrol.c:2931 [inline] charge_memcg mm/memcontrol.c:7284 [inline] __mem_cgroup_charge+0xa6/0x140 mm/memcontrol.c:7299 mem_cgroup_charge include/linux/memcontrol.h:691 [inline] __filemap_add_folio+0x83d/0xf00 mm/filemap.c:864 filemap_add_folio+0xaf/0x1e0 mm/filemap.c:947 do_read_cache_folio+0x1dd/0x550 mm/filemap.c:3714 do_read_cache_page mm/filemap.c:3813 [inline] read_cache_page+0x5b/0x160 mm/filemap.c:3822 read_mapping_page include/linux/pagemap.h:888 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x1e5/0x690 fs/sysv/dir.c:157 sysv_inode_by_name+0x71/0x3b0 fs/sysv/dir.c:374 sysv_lookup fs/sysv/namei.c:38 [inline] sysv_lookup+0x8c/0x100 fs/sysv/namei.c:31 lookup_one_qstr_excl+0x11d/0x190 fs/namei.c:1607 do_unlinkat+0x2a0/0x750 fs/namei.c:4387 do_coredump+0x187c/0x3f60 fs/coredump.c:675 get_signal+0x232c/0x2710 kernel/signal.c:2896 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x14a/0x2a0 kernel/entry/common.c:218 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244