INFO: task syz-executor.4:22362 blocked for more than 143 seconds. Not tainted 5.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29656 pid:22362 ppid: 8516 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write_nested+0x136/0x150 kernel/locking/rwsem.c:1517 inode_lock_nested include/linux/fs.h:808 [inline] do_rmdir+0x233/0x440 fs/namei.c:3764 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 RSP: 002b:00007fd84e529c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 000000000119c058 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00007ffc283a4fef R14: 00007fd84e52a9c0 R15: 000000000119c034 Showing all locks held in the system: 1 lock held by khungtaskd/1645: #0: ffffffff8b373da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6259 1 lock held by systemd-journal/4884: 1 lock held by in:imklog/8338: #0: ffff88802070dc70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 2 locks held by syz-executor.4/22351: 2 locks held by syz-executor.4/22362: #0: ffff8880783c6460 (sb_writers#18){.+.+}-{0:0}, at: do_rmdir+0x1e2/0x440 fs/namei.c:3760 #1: ffff888074470810 (&type->i_mutex_dir_key#10/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:808 [inline] #1: ffff888074470810 (&type->i_mutex_dir_key#10/1){+.+.}-{3:3}, at: do_rmdir+0x233/0x440 fs/namei.c:3764 1 lock held by syz-executor.4/22387: #0: ffff888074470810 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff888074470810 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2198 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1645 Comm: khungtaskd Not tainted 5.11.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd43/0xfa0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4884 Comm: systemd-journal Not tainted 5.11.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0xc/0x70 kernel/kcov.c:283 Code: 00 00 00 48 89 7c 30 e8 48 89 4c 30 f0 4c 89 54 d8 20 48 89 10 5b c3 0f 1f 80 00 00 00 00 41 89 f8 bf 03 00 00 00 4c 8b 14 24 <89> f1 65 48 8b 34 25 00 f0 01 00 e8 44 f0 ff ff 84 c0 74 4b 48 8b RSP: 0018:ffffc9000133fae0 EFLAGS: 00000093 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 RDX: ffff888011e25340 RSI: 0000000000000003 RDI: 0000000000000003 RBP: ffffc9000133fc50 R08: 0000000000000003 R09: ffffc9000133fc57 R10: ffffffff815b6de7 R11: 0000000000000000 R12: 1ffff92000267f5d R13: 0000000000000015 R14: 0000000000000015 R15: dffffc0000000000 FS: 00007fb07e0728c0(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb07b5ac000 CR3: 0000000025b36000 CR4: 0000000000350ee0 Call Trace: desc_read_finalized_seq+0xe7/0x1c0 kernel/printk/printk_ringbuffer.c:1771 prb_read kernel/printk/printk_ringbuffer.c:1800 [inline] _prb_read_valid+0x1cd/0x710 kernel/printk/printk_ringbuffer.c:1880 prb_first_valid_seq+0x78/0xd0 kernel/printk/printk_ringbuffer.c:1985 devkmsg_read+0x274/0x740 kernel/printk/printk.c:738 vfs_read+0x1b5/0x570 fs/read_write.c:494 ksys_read+0x12d/0x250 fs/read_write.c:634 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fb07d602210 Code: 73 01 c3 48 8b 0d 98 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d b9 c1 20 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24 RSP: 002b:00007ffdf49ea158 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007ffdf49ecbd0 RCX: 00007fb07d602210 RDX: 0000000000002000 RSI: 00007ffdf49ea9d0 RDI: 0000000000000009 RBP: 0000000000000000 R08: 0000000000000008 R09: 00007ffdf49f70f0 R10: 000000000001b702 R11: 0000000000000246 R12: 00007ffdf49ea9d0 R13: 00007ffdf49ecb28 R14: 000055afeaa0b958 R15: 0005b9ee49348e94