INFO: task syz-executor.2:25174 blocked for more than 143 seconds. Not tainted 6.0.0-rc5-syzkaller-00015-ge839a756012b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29192 pid:25174 ppid: 3632 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6494 schedule+0xda/0x1b0 kernel/sched/core.c:6570 rwsem_down_write_slowpath+0x59c/0x11e0 kernel/locking/rwsem.c:1182 __down_write_common kernel/locking/rwsem.c:1297 [inline] __down_write_common kernel/locking/rwsem.c:1294 [inline] __down_write kernel/locking/rwsem.c:1306 [inline] down_write_nested+0x139/0x150 kernel/locking/rwsem.c:1663 inode_lock_nested include/linux/fs.h:791 [inline] do_unlinkat+0x26c/0x650 fs/namei.c:4280 __do_sys_unlink fs/namei.c:4345 [inline] __se_sys_unlink fs/namei.c:4343 [inline] __x64_sys_unlink+0xc6/0x110 fs/namei.c:4343 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1dc1e893c9 RSP: 002b:00007f1dc3086168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007f1dc1f9c050 RCX: 00007f1dc1e893c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f1dc1ee433f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe5aa2ac8f R14: 00007f1dc3086300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bf888b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bf885b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8bf89400 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6492 2 locks held by getty/3281: #0: ffff88814ab6d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177 7 locks held by kworker/u4:3/14964: 2 locks held by syz-executor.2/25157: 2 locks held by syz-executor.2/25174: #0: ffff88807cffe460 (sb_writers#14){.+.+}-{0:0}, at: do_unlinkat+0x17f/0x650 fs/namei.c:4276 #1: ffff88803ac97160 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff88803ac97160 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: do_unlinkat+0x26c/0x650 fs/namei.c:4280 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.0.0-rc5-syzkaller-00015-ge839a756012b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x46/0x14f lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x206/0x250 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+0xc18/0xf50 kernel/hung_task.c:369 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21 Comm: ksoftirqd/1 Not tainted 6.0.0-rc5-syzkaller-00015-ge839a756012b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:hlock_class kernel/locking/lockdep.c:222 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4728 [inline] RIP: 0010:__lock_acquire+0x444/0x56d0 kernel/locking/lockdep.c:5003 Code: fa 48 c1 ea 03 0f b6 04 02 84 c0 74 06 0f 8e 5e 11 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 38 44 0f b6 b5 b8 00 00 00 <48> c1 e9 03 0f b6 04 01 84 c0 74 08 3c 03 0f 8e dd 10 00 00 41 0f RSP: 0018:ffffc900001b79e8 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff888011ba27f8 RCX: ffff888011ba2818 RDX: 1ffffffff211c7c3 RSI: 0000000000000008 RDI: ffffffff908e3e18 RBP: ffffffff908e3d60 R08: 0000000000000000 R09: ffffffff908e3947 R10: fffffbfff211c728 R11: 000000000008c07c R12: ffff888011ba27f8 R13: ffff888011ba1d80 R14: 0000000000000002 R15: 0000000000042000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020249000 CR3: 000000007ec2a000 CR4: 0000000000350ee0 Call Trace: lock_acquire kernel/locking/lockdep.c:5666 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5631 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 debug_object_active_state lib/debugobjects.c:924 [inline] debug_object_active_state+0x10b/0x350 lib/debugobjects.c:911 debug_rcu_head_unqueue kernel/rcu/rcu.h:198 [inline] rcu_do_batch kernel/rcu/tree.c:2238 [inline] rcu_core+0x75e/0x1890 kernel/rcu/tree.c:2505 __do_softirq+0x1d3/0x9c6 kernel/softirq.c:571 run_ksoftirqd kernel/softirq.c:934 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:926 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306