INFO: task syz-executor.5:23036 blocked for more than 143 seconds. Not tainted 5.12.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:29728 pid:23036 ppid: 8403 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4324 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5075 schedule+0x14b/0x200 kernel/sched/core.c:5154 rwsem_down_write_slowpath+0xd69/0x1370 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write_nested+0x11c/0x130 kernel/locking/rwsem.c:1517 inode_lock_nested include/linux/fs.h:810 [inline] do_rmdir+0x18c/0x560 fs/namei.c:3949 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465ef9 RSP: 002b:00007fdf9f9d9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000465ef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00000000004bfa0c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007ffdc3a18f4f R14: 00007fdf9f9d9300 R15: 0000000000022000 INFO: task syz-executor.5:23039 blocked for more than 143 seconds. Not tainted 5.12.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28432 pid:23039 ppid: 8403 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4324 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5075 schedule+0x14b/0x200 kernel/sched/core.c:5154 rwsem_down_write_slowpath+0xd69/0x1370 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x117/0x120 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:775 [inline] lock_mount+0x6a/0x2f0 fs/namespace.c:2216 do_new_mount_fc fs/namespace.c:2846 [inline] do_new_mount fs/namespace.c:2905 [inline] path_mount+0x20b2/0x29a0 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount+0x28c/0x320 fs/namespace.c:3431 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465ef9 RSP: 002b:00007fdf9f9b8188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000465ef9 RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 00000000004bfa0c R08: 0000000020004300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 00007ffdc3a18f4f R14: 00007fdf9f9b8300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1626: #0: ffffffff8c70fcc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8079: #0: ffff888011b4c0f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:961 3 locks held by syz-executor.5/23023: 2 locks held by syz-executor.5/23036: #0: ffff88801afbe460 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:375 #1: ffff888087cf0150 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff888087cf0150 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_rmdir+0x18c/0x560 fs/namei.c:3949 1 lock held by syz-executor.5/23039: #0: ffff888087cf0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #0: ffff888087cf0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x6a/0x2f0 fs/namespace.c:2216 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1626 Comm: khungtaskd Not tainted 5.12.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+0x125/0x19e lib/dump_stack.c:120 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 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+0xce9/0xd30 kernel/hung_task.c:294 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4836 Comm: systemd-journal Not tainted 5.12.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_preemption_disabled+0x7e/0x190 lib/smp_processor_id.c:19 Code: 04 25 28 00 00 00 48 3b 44 24 08 0f 85 1e 01 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 9c 8f 04 24 4c 8b 24 24 00 02 00 00 be 00 02 00 00 4c 21 e6 31 ff 0f 1f 44 00 00 4c 21 RSP: 0018:ffffc9000161f960 EFLAGS: 00000046 RAX: 61c89bf46fb3b800 RBX: 0000000000000000 RCX: 0000000080000001 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1b6adc6 R10: fffffbfff1b6adc6 R11: 0000000000000000 R12: 0000000000000046 R13: 0000000000000246 R14: ffffffff89ae75e0 R15: ffffffff8a0e4ac0 FS: 00007f4c5f4108c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4c5af08000 CR3: 0000000011fa8000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:432 [inline] lock_release+0xc7/0x6b0 kernel/locking/lockdep.c:5529 rcu_read_unlock include/linux/rcupdate.h:710 [inline] is_bpf_text_address+0x253/0x270 kernel/bpf/core.c:712 kernel_text_address kernel/extable.c:151 [inline] __kernel_text_address+0x93/0x100 kernel/extable.c:105 unwind_get_return_address+0x48/0x80 arch/x86/kernel/unwind_orc.c:318 arch_stack_walk+0x98/0xe0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0xad/0x150 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:427 [inline] __kasan_slab_alloc+0x8f/0xc0 mm/kasan/common.c:460 kasan_slab_alloc include/linux/kasan.h:223 [inline] slab_post_alloc_hook mm/slab.h:516 [inline] slab_alloc_node mm/slub.c:2907 [inline] slab_alloc mm/slub.c:2915 [inline] kmem_cache_alloc+0x1c8/0x330 mm/slub.c:2920 getname_flags+0xba/0x640 fs/namei.c:138 user_path_at_empty+0x28/0x50 fs/namei.c:2733 user_path_at include/linux/namei.h:60 [inline] do_faccessat+0x39d/0x890 fs/open.c:425 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4c5e6cb9c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffec6bd6f88 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffec6bd9ea0 RCX: 00007f4c5e6cb9c7 RDX: 00007f4c5f13ca00 RSI: 0000000000000000 RDI: 000056480f4379a3 RBP: 00007ffec6bd6fc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffec6bd9ea0 R15: 00007ffec6bd74b0