INFO: task syz-executor.3:10223 blocked for more than 143 seconds. Not tainted 5.11.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28912 pid:10223 ppid: 8694 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5064 schedule+0xcf/0x270 kernel/sched/core.c:5143 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+0x132/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] open_last_lookups fs/namei.c:3177 [inline] path_openat+0x907/0x2730 fs/namei.c:3368 do_filp_open+0x17e/0x3c0 fs/namei.c:3398 do_sys_openat2+0x16d/0x420 fs/open.c:1172 do_sys_open fs/open.c:1188 [inline] __do_sys_creat fs/open.c:1262 [inline] __se_sys_creat fs/open.c:1256 [inline] __ia32_sys_creat+0xc8/0x120 fs/open.c:1256 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f50549 RSP: 002b:00000000f55290cc EFLAGS: 00000296 ORIG_RAX: 0000000000000008 RAX: ffffffffffffffda RBX: 00000000200020c0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.5:10245 blocked for more than 143 seconds. Not tainted 5.11.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28944 pid:10245 ppid: 8979 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5064 schedule+0xcf/0x270 kernel/sched/core.c:5143 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+0x132/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] open_last_lookups fs/namei.c:3177 [inline] path_openat+0x907/0x2730 fs/namei.c:3368 do_filp_open+0x17e/0x3c0 fs/namei.c:3398 do_sys_openat2+0x16d/0x420 fs/open.c:1172 do_sys_open fs/open.c:1188 [inline] __do_sys_creat fs/open.c:1262 [inline] __se_sys_creat fs/open.c:1256 [inline] __ia32_sys_creat+0xc8/0x120 fs/open.c:1256 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fc0549 RSP: 002b:00000000f55990cc EFLAGS: 00000296 ORIG_RAX: 0000000000000008 RAX: ffffffffffffffda RBX: 00000000200020c0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 2 locks held by kworker/u4:0/8: 1 lock held by khungtaskd/1646: #0: ffffffff8b363860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6254 1 lock held by in:imklog/8164: #0: ffff88801ed03270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:949 2 locks held by kworker/1:4/9804: #0: ffff8880b9f34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1319 [inline] #0: ffff8880b9f34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x217/0x21a0 kernel/sched/core.c:4981 #1: ffff8880b9f20088 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x305/0x440 kernel/sched/psi.c:833 3 locks held by syz-executor.3/10217: 2 locks held by syz-executor.3/10223: #0: ffff888065642460 (sb_writers#15){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3167 [inline] #0: ffff888065642460 (sb_writers#15){.+.+}-{0:0}, at: path_openat+0x2462/0x2730 fs/namei.c:3368 #1: ffff888031618150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff888031618150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3177 [inline] #1: ffff888031618150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x907/0x2730 fs/namei.c:3368 2 locks held by syz-executor.5/10238: 2 locks held by syz-executor.5/10245: #0: ffff888066c10460 (sb_writers#15){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3167 [inline] #0: ffff888066c10460 (sb_writers#15){.+.+}-{0:0}, at: path_openat+0x2462/0x2730 fs/namei.c:3368 #1: ffff8880316529d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff8880316529d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3177 [inline] #1: ffff8880316529d0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x907/0x2730 fs/namei.c:3368 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1646 Comm: khungtaskd Not tainted 5.11.0-rc1-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: 4892 Comm: systemd-journal Not tainted 5.11.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:90 [inline] RIP: 0010:lockdep_enabled+0x67/0xa0 kernel/locking/lockdep.c:82 Code: 7e 85 d2 75 41 65 48 8b 1c 25 00 f0 01 00 48 8d bb 84 09 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 1b 8b 83 84 09 00 RSP: 0018:ffffc900018efa48 EFLAGS: 00000803 RAX: dffffc0000000000 RBX: ffff888011991bc0 RCX: 1ffffffff19defdb RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff888011992544 RBP: ffffffff8b3637a0 R08: 0000000000000000 R09: ffffffff8cef4d0f R10: fffffbfff19de9a1 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888011991bc0 R14: 00000000ffffffff R15: ffff8880145f5340 FS: 00007f477a7c28c0(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4777bec020 CR3: 0000000011040000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held_type+0x19/0x100 kernel/locking/lockdep.c:5469 lock_is_held include/linux/lockdep.h:271 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:123 trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x19de/0x21a0 kernel/sched/core.c:5061 schedule+0xcf/0x270 kernel/sched/core.c:5143 schedule_hrtimeout_range_clock+0x31d/0x370 kernel/time/hrtimer.c:2130 ep_poll fs/eventpoll.c:1842 [inline] do_epoll_wait+0x1240/0x1920 fs/eventpoll.c:2220 __do_sys_epoll_wait fs/eventpoll.c:2232 [inline] __se_sys_epoll_wait fs/eventpoll.c:2227 [inline] __x64_sys_epoll_wait+0x158/0x270 fs/eventpoll.c:2227 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f4779a8c2e3 Code: 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 83 3d 29 54 2b 00 00 75 13 49 89 ca b8 e8 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 34 c3 48 83 ec 08 e8 0b c2 00 00 48 89 04 24 RSP: 002b:00007ffd05fa56a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8 RAX: ffffffffffffffda RBX: 0000557349a2c1e0 RCX: 00007f4779a8c2e3 RDX: 0000000000000013 RSI: 00007ffd05fa56b0 RDI: 0000000000000008 RBP: 00007ffd05fa58a0 R08: 0000557349a371b0 R09: 00007ffd05fef080 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd05fa56b0 R13: 0000000000000001 R14: ffffffffffffffff R15: 0005b7a00ba4fb8b