INFO: task syz-executor.5:15910 blocked for more than 143 seconds. Not tainted 5.10.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:29648 pid:15910 ppid: 9104 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8eb/0x21b0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0x809/0x1220 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:3762 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e149 RSP: 002b:00007f7fd1121c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 000000000045e149 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 000000000119c058 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00000000016afb7f R14: 00007f7fd11229c0 R15: 000000000119c034 INFO: task syz-executor.5:15968 blocked for more than 143 seconds. Not tainted 5.10.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27144 pid:15968 ppid: 9104 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8eb/0x21b0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0x809/0x1220 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] lock_mount+0x8a/0x2e0 fs/namespace.c:2192 do_new_mount_fc fs/namespace.c:2818 [inline] do_new_mount fs/namespace.c:2877 [inline] path_mount+0x1787/0x20c0 fs/namespace.c:3205 do_mount fs/namespace.c:3218 [inline] __do_sys_mount fs/namespace.c:3426 [inline] __se_sys_mount fs/namespace.c:3403 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3403 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e149 RSP: 002b:00007f7fd10dfc68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e149 RDX: 0000000020002000 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 000000000119c1c8 R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c184 R13: 00000000016afb7f R14: 00007f7fd10e09c0 R15: 000000000119c184 Showing all locks held in the system: 2 locks held by kworker/u4:2/28: #0: ffff8880b9c34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1318 [inline] #0: ffff8880b9c34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x235/0x21b0 kernel/sched/core.c:4995 #1: ffffc90000e3fda8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1630 kernel/workqueue.c:2250 1 lock held by khungtaskd/1649: #0: ffffffff8b78e1e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x28c kernel/locking/lockdep.c:6254 1 lock held by in:imklog/8195: #0: ffff8880253d8d70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 2 locks held by agetty/8211: #0: ffff888022f14098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc90000ed82e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1ac0 drivers/tty/n_tty.c:2158 2 locks held by syz-executor.5/15902: 2 locks held by syz-executor.5/15910: #0: ffff88801956a460 (sb_writers#16){.+.+}-{0:0}, at: do_rmdir+0x1e2/0x440 fs/namei.c:3758 #1: ffff888068c4a310 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:808 [inline] #1: ffff888068c4a310 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_rmdir+0x233/0x440 fs/namei.c:3762 1 lock held by syz-executor.5/15968: #0: ffff888068c4a310 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff888068c4a310 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2192 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1649 Comm: khungtaskd Not tainted 5.10.0-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+0x3c/0xef 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+0xe36/0x10b0 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: 4902 Comm: systemd-journal Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:46 [inline] RIP: 0010:unwind_next_frame+0x156d/0x2460 arch/x86/kernel/unwind_orc.c:601 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 3d 08 00 00 49 8d 7f 10 4d 8b 67 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa <48> c1 ea 03 80 3c 02 00 0f 85 10 08 00 00 49 39 ec 49 8b 47 10 0f RSP: 0018:ffffc900010ff5f8 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 1ffff9200021fec9 RCX: 1ffff9200021fee4 RDX: ffffc900010ff6f0 RSI: ffffc900010ffc08 RDI: ffffc900010ff6f0 RBP: ffffc900010ffc38 R08: ffffffff8e0197a8 R09: 0000000000000001 R10: fffff5200021fee7 R11: 0000000000000001 R12: ffffc900010f8000 R13: ffffc900010ff715 R14: ffffc900010ff730 R15: ffffc900010ff6e0 FS: 00007f4a2aaed8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a27f35000 CR3: 0000000012a5e000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc2/0xd0 mm/kasan/common.c:461 slab_post_alloc_hook mm/slab.h:512 [inline] slab_alloc_node mm/slub.c:2889 [inline] slab_alloc mm/slub.c:2897 [inline] kmem_cache_alloc+0x145/0x350 mm/slub.c:2902 kmem_cache_zalloc include/linux/slab.h:672 [inline] __alloc_file+0x21/0x280 fs/file_table.c:101 alloc_empty_file+0x6d/0x170 fs/file_table.c:150 path_openat+0x125/0x27a0 fs/namei.c:3355 do_filp_open+0x17e/0x3c0 fs/namei.c:3396 do_sys_openat2+0x16d/0x420 fs/open.c:1172 do_sys_open fs/open.c:1188 [inline] __do_sys_open fs/open.c:1196 [inline] __se_sys_open fs/open.c:1192 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1192 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f4a2a07d840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007ffc760a3288 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffc760a3590 RCX: 00007f4a2a07d840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055cdf21240a0 RBP: 000000000000000d R08: 00000000000001e0 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 000055cdf2117040 R14: 00007ffc760a3550 R15: 000055cdf21240f0