INFO: task syz-executor.4:29160 blocked for more than 143 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29080 pid:29160 ppid: 8491 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] lock_rename+0x225/0x280 fs/namei.c:2758 do_renameat2+0x60c/0xc00 fs/namei.c:4407 __do_sys_rename fs/namei.c:4508 [inline] __se_sys_rename fs/namei.c:4506 [inline] __x64_sys_rename+0x7d/0xa0 fs/namei.c:4506 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465b09 RSP: 002b:00007f69a396e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000465b09 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000020000040 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007fff221bde1f R14: 00007f69a396e300 R15: 0000000000022000 INFO: task syz-executor.4:29161 blocked for more than 143 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27776 pid:29161 ppid: 8491 flags:0x00004004 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+0x132/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2198 do_new_mount_fc fs/namespace.c:2824 [inline] do_new_mount fs/namespace.c:2883 [inline] path_mount+0x1787/0x20c0 fs/namespace.c:3211 do_mount fs/namespace.c:3224 [inline] __do_sys_mount fs/namespace.c:3432 [inline] __se_sys_mount fs/namespace.c:3409 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3409 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465b09 RSP: 002b:00007f69a394d188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000465b09 RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 00000000004b069f R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 00007fff221bde1f R14: 00007f69a394d300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:1/24: 1 lock held by khungtaskd/1641: #0: ffffffff8bd73da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6259 1 lock held by in:imklog/8383: #0: ffff88801410ab70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 2 locks held by agetty/8394: #0: ffff88801fad7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc90000fb02e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1aa0 drivers/tty/n_tty.c:2155 3 locks held by syz-executor.4/29155: 2 locks held by syz-executor.4/29160: #0: ffff88806d41e460 (sb_writers#17){.+.+}-{0:0}, at: do_renameat2+0x376/0xc00 fs/namei.c:4402 #1: ffff88807784d1d0 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:808 [inline] #1: ffff88807784d1d0 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: lock_rename+0x225/0x280 fs/namei.c:2758 1 lock held by syz-executor.4/29161: #0: ffff88807784d1d0 (&type->i_mutex_dir_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff88807784d1d0 (&type->i_mutex_dir_key#11){+.+.}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2198 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1641 Comm: khungtaskd Not tainted 5.11.0-rc6-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: 4882 Comm: systemd-journal Not tainted 5.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x6b/0x70 kernel/kcov.c:286 Code: 00 00 00 48 39 fe 72 22 44 89 c6 48 83 c2 01 48 89 4c 38 f0 48 c7 44 38 e0 05 00 00 00 48 89 74 38 e8 4e 89 54 c8 20 48 89 10 0f 1f 40 00 49 89 f8 bf 03 00 00 00 4c 8b 14 24 48 89 f1 65 48 RSP: 0018:ffffc90001107d88 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888015cc0c00 RCX: 0000000000000027 RDX: 0000000000000000 RSI: ffff888015b82300 RDI: 0000000000000003 RBP: 0000000000000027 R08: 0000000000000000 R09: ffffffff81738e5a R10: ffffffff81734e41 R11: 0000000000000002 R12: 00000000c000003e R13: ffff888015cc0c10 R14: 0000000000000001 R15: ffffc90001107e38 FS: 00007efc99f798c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f72b8003208 CR3: 0000000014a4f000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: seccomp_cache_check_allow_bitmap kernel/seccomp.c:340 [inline] seccomp_cache_check_allow kernel/seccomp.c:371 [inline] seccomp_run_filters kernel/seccomp.c:403 [inline] __seccomp_filter+0x161/0x1610 kernel/seccomp.c:1174 __secure_computing+0xfc/0x360 kernel/seccomp.c:1307 syscall_trace_enter.constprop.0+0x94/0x260 kernel/entry/common.c:67 do_syscall_64+0xf/0x70 arch/x86/entry/common.c:41 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7efc99211f17 Code: ff ff ff 48 8b 4d a0 0f b7 51 fe 48 8b 4d a8 66 89 54 08 fe e9 1a ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 b8 27 00 00 00 0f 05 0f 1f 84 00 00 00 00 00 b8 6e 00 00 00 0f 05 c3 0f 1f 84 00 00 RSP: 002b:00007ffe3dd91608 EFLAGS: 00000202 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 000055569bdba200 RCX: 00007efc99211f17 RDX: 00007ffe3dd916c8 RSI: 0000000000000001 RDI: 000055569bdba200 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000202 R12: 00007ffe3dd916c8 R13: 0000000000001312 R14: 00007ffe3dd944b0 R15: 00007ffe3dd91ac0