INFO: task syz-executor.5:30757 blocked for more than 140 seconds. Not tainted 4.19.128-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28416 30757 6970 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x8a2/0x1fc0 kernel/sched/core.c:3515 schedule+0x8d/0x1b0 kernel/sched/core.c:3559 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3d4/0x7a0 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2039 do_add_mount+0x24/0x350 fs/namespace.c:2416 do_new_mount fs/namespace.c:2483 [inline] do_mount+0x1596/0x2b50 fs/namespace.c:2799 ksys_mount+0xd7/0x150 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45ca69 Code: 48 c7 44 24 10 00 00 00 00 48 8b 44 24 68 48 89 44 24 18 48 8b 44 24 70 48 89 44 24 20 48 8b 44 24 78 48 89 44 24 28 48 89 4c <24> 30 0f 57 c0 0f 11 44 24 38 48 c7 44 24 48 00 00 00 00 e8 0f d4 RSP: 002b:00007ff17c1e1c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000004f6c40 RCX: 000000000045ca69 RDX: 0000000020000140 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 000000000078c040 R08: 0000000020000580 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000769 R14: 00000000004ca549 R15: 00007ff17c1e26d4 Showing all locks held in the system: 1 lock held by khungtaskd/1079: #0: 0000000097188a93 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4440 1 lock held by in:imklog/6179: 3 locks held by kworker/u4:11/21741: #0: 00000000d29b32c7 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1823 [inline] #0: 00000000d29b32c7 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x1fc0 kernel/sched/core.c:3453 #1: 0000000097188a93 (rcu_read_lock){....}, at: cpu_of kernel/sched/sched.h:927 [inline] #1: 0000000097188a93 (rcu_read_lock){....}, at: __update_idle_core+0x39/0x3e0 kernel/sched/fair.c:6057 #2: 00000000c3c019d0 (&base->lock){-.-.}, at: lock_timer_base+0x55/0x1a0 kernel/time/timer.c:938 2 locks held by syz-executor.5/30705: #0: 00000000bb42c72c (sb_writers#16){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000bb42c72c (sb_writers#16){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000aec71074 (&sb->s_type->i_mutex_key#21/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 00000000aec71074 (&sb->s_type->i_mutex_key#21/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638 1 lock held by syz-executor.5/30757: #0: 00000000aec71074 (&sb->s_type->i_mutex_key#21){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000aec71074 (&sb->s_type->i_mutex_key#21){++++}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2039 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1079 Comm: khungtaskd Not tainted 4.19.128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2fe lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1eb lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x962/0xe40 kernel/hung_task.c:287 kthread+0x30b/0x410 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3689 Comm: systemd-journal Not tainted 4.19.128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0x3a5/0x4380 kernel/locking/lockdep.c:3356 Code: 98 00 00 00 00 0f 85 d5 06 00 00 4c 03 94 24 88 00 00 00 44 89 d9 66 81 e1 ff 1f 49 8d 42 20 48 89 c2 48 89 84 24 80 00 00 00 <48> b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 84 d2 74 09 RSP: 0018:ffff888093c57b60 EFLAGS: 00000006 RAX: ffff888093c4ea68 RBX: 0000000000000000 RCX: 0000000000000099 RDX: ffff888093c4ea68 RSI: ffff888093c4ea48 RDI: ffffffff8b204178 RBP: ffff888093c57d30 R08: 0000000000000001 R09: 0000000000000000 R10: ffff888093c4ea48 R11: 0000000000000099 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888093c4e1c0 R15: ffffffff88c03d40 FS: 00007f7abc55d8c0(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ab9c0e018 CR3: 00000000943a3000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3907 __fs_reclaim_acquire mm/page_alloc.c:3758 [inline] fs_reclaim_acquire.part.0+0x20/0x30 mm/page_alloc.c:3769 slab_pre_alloc_hook mm/slab.h:419 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x22/0x370 mm/slab.c:3557 getname_flags+0xce/0x590 fs/namei.c:140 user_path_at_empty+0x2a/0x50 fs/namei.c:2609 user_path_at include/linux/namei.h:57 [inline] do_faccessat+0x248/0x7a0 fs/open.c:397 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7abb8199c7 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:00007ffd87fb43e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffd87fb7410 RCX: 00007f7abb8199c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000055c73f7809a3 RBP: 00007ffd87fb4530 R08: 000055c73f7763e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 000055c7416908c0 R15: 00007ffd87fb4a20