INFO: task syz-executor.4:13654 blocked for more than 140 seconds. Not tainted 4.19.75 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D30064 13654 7635 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x774/0xc30 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write_nested+0x57/0x90 kernel/locking/rwsem.c:194 inode_lock_nested include/linux/fs.h:782 [inline] filename_create+0x17c/0x4f0 fs/namei.c:3635 user_path_create fs/namei.c:3693 [inline] do_mkdirat+0xb5/0x2a0 fs/namei.c:3831 __do_sys_mkdir fs/namei.c:3855 [inline] __se_sys_mkdir fs/namei.c:3853 [inline] __x64_sys_mkdir+0x5c/0x80 fs/namei.c:3853 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a09 Code: Bad RIP value. RSP: 002b:00007fae522ecc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459a09 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fae522ed6d4 R13: 00000000004bf1da R14: 00000000004daa30 R15: 00000000ffffffff INFO: task syz-executor.4:13655 blocked for more than 140 seconds. Not tainted 4.19.75 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D29056 13655 7635 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x49/0xb0 kernel/locking/rwsem.c:26 inode_lock_shared include/linux/fs.h:757 [inline] lookup_slow+0x4a/0x80 fs/namei.c:1687 walk_component+0x747/0x2000 fs/namei.c:1810 lookup_last fs/namei.c:2273 [inline] path_lookupat.isra.0+0x1f5/0x8d0 fs/namei.c:2318 filename_lookup+0x1b0/0x410 fs/namei.c:2348 user_path_at_empty+0x43/0x50 fs/namei.c:2608 user_path include/linux/namei.h:62 [inline] do_mount+0x150/0x2bc0 fs/namespace.c:2739 ksys_mount+0xdb/0x150 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3026 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a09 Code: Bad RIP value. RSP: 002b:00007fae522cbc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000459a09 RDX: 0000000020000300 RSI: 0000000020000200 RDI: 0000000000000000 RBP: 000000000075c070 R08: 00000000200005c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fae522cc6d4 R13: 00000000004c5fa0 R14: 00000000004dac40 R15: 00000000ffffffff INFO: task syz-executor.4:13656 blocked for more than 140 seconds. Not tainted 4.19.75 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D29576 13656 7635 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x49/0xb0 kernel/locking/rwsem.c:26 inode_lock_shared include/linux/fs.h:757 [inline] lookup_slow+0x4a/0x80 fs/namei.c:1687 walk_component+0x747/0x2000 fs/namei.c:1810 lookup_last fs/namei.c:2273 [inline] path_lookupat.isra.0+0x1f5/0x8d0 fs/namei.c:2318 filename_lookup+0x1b0/0x410 fs/namei.c:2348 user_path_at_empty+0x43/0x50 fs/namei.c:2608 user_path_at include/linux/namei.h:57 [inline] ksys_chdir+0x98/0x1f0 fs/open.c:458 __do_sys_chdir fs/open.c:480 [inline] __se_sys_chdir fs/open.c:478 [inline] __x64_sys_chdir+0x31/0x40 fs/open.c:478 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459a09 Code: Bad RIP value. RSP: 002b:00007fae522aac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000459a09 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 000000000075c118 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fae522ab6d4 R13: 00000000004bf243 R14: 00000000004d1cb8 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1037: #0: 00000000fcb9e8ce (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4435 1 lock held by rsyslogd/7461: 2 locks held by getty/7583: #0: 0000000090d5fcf9 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000001eb465ab (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7584: #0: 000000003692f01b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000001cc03066 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7585: #0: 00000000f9ce21d3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000063a85e82 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7586: #0: 00000000e8df60a9 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000004c4fa356 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7587: #0: 00000000c66624a6 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000d3450eaf (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7588: #0: 00000000064276f1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000b962a6c5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7589: #0: 00000000cb1989d4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000de9039dc (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by syz-executor.4/13624: #0: 00000000c32ba1e9 (sb_writers#22){.+.+}, at: sb_start_write include/linux/fs.h:1578 [inline] #0: 00000000c32ba1e9 (sb_writers#22){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 0000000015847f8e (&sb->s_type->i_mutex_key#29/1){+.+.}, at: inode_lock_nested include/linux/fs.h:782 [inline] #1: 0000000015847f8e (&sb->s_type->i_mutex_key#29/1){+.+.}, at: filename_create+0x17c/0x4f0 fs/namei.c:3635 2 locks held by syz-executor.4/13654: #0: 00000000c32ba1e9 (sb_writers#22){.+.+}, at: sb_start_write include/linux/fs.h:1578 [inline] #0: 00000000c32ba1e9 (sb_writers#22){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 0000000015847f8e (&sb->s_type->i_mutex_key#29/1){+.+.}, at: inode_lock_nested include/linux/fs.h:782 [inline] #1: 0000000015847f8e (&sb->s_type->i_mutex_key#29/1){+.+.}, at: filename_create+0x17c/0x4f0 fs/namei.c:3635 1 lock held by syz-executor.4/13655: #0: 0000000015847f8e (&sb->s_type->i_mutex_key#30){.+.+}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 0000000015847f8e (&sb->s_type->i_mutex_key#30){.+.+}, at: lookup_slow+0x4a/0x80 fs/namei.c:1687 1 lock held by syz-executor.4/13656: #0: 0000000015847f8e (&sb->s_type->i_mutex_key#30){.+.+}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 0000000015847f8e (&sb->s_type->i_mutex_key#30){.+.+}, at: lookup_slow+0x4a/0x80 fs/namei.c:1687 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1037 Comm: khungtaskd Not tainted 4.19.75 #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+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x9df/0xee0 kernel/hung_task.c:287 kthread+0x354/0x420 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 skipped: idling at native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:60