INFO: task syz-executor.4:6414 blocked for more than 143 seconds. Not tainted 6.0.0-rc7-syzkaller-00132-g987a926c1d8a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27104 pid: 6414 ppid: 3641 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0x91f/0xdf0 kernel/sched/core.c:6494 schedule+0xcb/0x190 kernel/sched/core.c:6570 rwsem_down_write_slowpath+0xf1c/0x1350 kernel/locking/rwsem.c:1182 __down_write_common kernel/locking/rwsem.c:1297 [inline] __down_write kernel/locking/rwsem.c:1306 [inline] down_write_nested+0x16c/0x180 kernel/locking/rwsem.c:1663 lock_rename+0x182/0x1a0 do_renameat2+0x4a0/0x1370 fs/namei.c:4848 __do_sys_rename fs/namei.c:4953 [inline] __se_sys_rename fs/namei.c:4951 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:4951 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f702fa8a5a9 RSP: 002b:00007f7030b23168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f702fbac120 RCX: 00007f702fa8a5a9 RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000020000000 RBP: 00007f702fae5580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff057c589f R14: 00007f7030b23300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cb233f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cb23bf0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/29: #0: ffffffff8cb23220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3289: #0: ffff88807e5b8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 2 locks held by kworker/1:3/3689: #0: ffff888012066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000441fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 3 locks held by kworker/0:8/3696: #0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900044bfd00 (key_gc_work){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8cb28838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #2: ffffffff8cb28838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x365/0x720 kernel/rcu/tree_exp.h:940 3 locks held by kworker/1:10/4470: #0: ffff888012064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9000b8b7d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8cb28838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8cb28838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x291/0x720 kernel/rcu/tree_exp.h:940 2 locks held by syz-executor.4/6411: 2 locks held by syz-executor.4/6414: #0: ffff88801dca6460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888029134190 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: lock_rename+0x182/0x1a0 2 locks held by syz-executor.1/6540: 2 locks held by syz-executor.1/6541: #0: ffff888078e56460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff8880427ab6b0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff8880427ab6b0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3784 2 locks held by syz-executor.1/6543: #0: ffff888078e56460 (sb_writers#13){.+.+}-{0:0} , at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff8880427ab6b0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: lock_rename+0x182/0x1a0 2 locks held by syz-executor.5/8319: #0: ffff8880b9a39c18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 #1: ffff8880b9a27748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x5b3/0x8a0 kernel/sched/psi.c:885 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.0.0-rc7-syzkaller-00132-g987a926c1d8a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 nmi_cpu_backtrace+0x425/0x450 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x169/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6540 Comm: syz-executor.1 Not tainted 6.0.0-rc7-syzkaller-00132-g987a926c1d8a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:168 [inline] RIP: 0010:unwind_next_frame+0x204/0x24c0 arch/x86/kernel/unwind_orc.c:448 Code: 41 03 48 85 c9 48 0f 49 c1 44 8a 2d ae a4 24 0b 48 c1 e8 02 ff c8 45 84 ed b9 ff ff ff ff 0f 45 c8 44 39 f1 0f 86 c1 19 00 00 <44> 89 f0 48 8d 1c 85 ac 82 2e 8f 48 89 d8 48 c1 e8 03 42 8a 04 08 RSP: 0018:ffffc90016067200 EFLAGS: 00000202 RAX: 0000000000096079 RBX: ffffc90016067328 RCX: 0000000000096079 RDX: dffffc0000000000 RSI: ffffffff81d747ca RDI: ffffffff813b9763 RBP: 1ffff92002c0ce62 R08: 0000000000000002 R09: dffffc0000000000 R10: fffff52002c0ce68 R11: 1ffff92002c0ce66 R12: ffffffff81d747c9 R13: ffffc90016067301 R14: 000000000000d747 R15: ffffc90016067315 FS: 00007f7c767b0700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb43f781058 CR3: 0000000023b41000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0xb2/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x104/0x1e0 kernel/stacktrace.c:122 save_stack+0xe5/0x1e0 mm/page_owner.c:127 __set_page_owner+0x2d/0x50 mm/page_owner.c:192 prep_new_page mm/page_alloc.c:2532 [inline] get_page_from_freelist+0x742/0x7c0 mm/page_alloc.c:4283 __alloc_pages+0x259/0x560 mm/page_alloc.c:5549 folio_alloc+0x1a/0x50 mm/mempolicy.c:2280 filemap_alloc_folio+0x7e/0x1c0 mm/filemap.c:970 do_read_cache_folio+0x28a/0x790 mm/filemap.c:3483 do_read_cache_page mm/filemap.c:3561 [inline] read_cache_page+0x57/0x250 mm/filemap.c:3570 read_mapping_page include/linux/pagemap.h:756 [inline] dir_get_page fs/minix/dir.c:70 [inline] minix_find_entry+0x1b4/0x590 fs/minix/dir.c:170 minix_inode_by_name+0x7b/0x220 fs/minix/dir.c:454 minix_lookup+0xbf/0x150 fs/minix/namei.c:30 __lookup_slow+0x266/0x3a0 fs/namei.c:1685 lookup_slow+0x53/0x70 fs/namei.c:1702 walk_component+0x2e1/0x410 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x17d/0x450 fs/namei.c:2474 filename_lookup+0x274/0x650 fs/namei.c:2503 user_path_at_empty+0x40/0x1a0 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:514 [inline] __se_sys_chdir+0xb8/0x220 fs/open.c:508 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7c7568a5a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7c767b0168 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f7c757abf80 RCX: 00007f7c7568a5a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00007f7c756e5580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc5898a3df R14: 00007f7c767b0300 R15: 0000000000022000