INFO: task syz-executor0:17332 blocked for more than 140 seconds. Not tainted 5.0.0-rc1-next-20190110 #9 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D25544 17332 4962 0x00000004 Call Trace: context_switch kernel/sched/core.c:2834 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3475 schedule+0xfe/0x350 kernel/sched/core.c:3519 __rwsem_down_write_failed_common+0xa4d/0x1620 kernel/locking/rwsem-xadd.c:577 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606 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+0xa9/0x130 kernel/locking/rwsem.c:195 inode_lock_nested include/linux/fs.h:801 [inline] filename_create+0x1a8/0x5a0 fs/namei.c:3635 user_path_create fs/namei.c:3693 [inline] do_mkdirat+0xcf/0x2f0 fs/namei.c:3831 __do_sys_mkdirat fs/namei.c:3850 [inline] __se_sys_mkdirat fs/namei.c:3848 [inline] __x64_sys_mkdirat+0x76/0xb0 fs/namei.c:3848 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f286ee24c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9 RDX: 0000000100000000 RSI: 00000000200004c0 RDI: 0000000000000005 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f286ee256d4 R13: 00000000004c3afc R14: 00000000004d6838 R15: 00000000ffffffff INFO: task syz-executor0:17357 blocked for more than 140 seconds. Not tainted 5.0.0-rc1-next-20190110 #9 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D27160 17357 4962 0x00000004 Call Trace: context_switch kernel/sched/core.c:2834 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3475 schedule+0xfe/0x350 kernel/sched/core.c:3519 __rwsem_down_write_failed_common+0xa4d/0x1620 kernel/locking/rwsem-xadd.c:577 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606 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+0xa5/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:766 [inline] do_last fs/namei.c:3321 [inline] path_openat+0x1967/0x5660 fs/namei.c:3534 do_filp_open+0x26f/0x370 fs/namei.c:3564 do_sys_open+0x59a/0x7c0 fs/open.c:1063 ksys_open include/linux/syscalls.h:1301 [inline] __do_sys_creat fs/open.c:1121 [inline] __se_sys_creat fs/open.c:1119 [inline] __x64_sys_creat+0x61/0x80 fs/open.c:1119 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: Bad RIP value. RSP: 002b:00007f286ee03c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457ec9 RDX: 0000000000000000 RSI: 0008000000000041 RDI: 0000000020000a00 RBP: 000000000073c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f286ee046d4 R13: 00000000004be42a R14: 00000000004ce8b8 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1040: #0: 00000000af640304 (rcu_read_lock){....}, at: debug_show_all_locks+0xc6/0x41d kernel/locking/lockdep.c:4408 1 lock held by rsyslogd/7757: 2 locks held by getty/7869: #0: 0000000000fdfbe7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000498ed52a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7870: #0: 00000000199ccfa2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000006c41ca6f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7871: #0: 00000000ffea3121 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000002aca727 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7872: #0: 00000000887feef7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002dffe85e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7873: #0: 00000000d90e4753 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d23b8e7a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7874: #0: 000000009cd4a2a0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000c03c4b7c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7875: #0: 000000001e1fc595 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000ad0eb885 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 1 lock held by syz-executor2/5868: #0: 00000000eae13c72 (&sig->cred_guard_mutex){+.+.}, at: prepare_bprm_creds fs/exec.c:1407 [inline] #0: 00000000eae13c72 (&sig->cred_guard_mutex){+.+.}, at: __do_execve_file.isra.0+0x45d/0x2700 fs/exec.c:1750 1 lock held by syz-executor2/9690: 1 lock held by syz-executor2/9728: 6 locks held by syz-executor0/17284: 2 locks held by syz-executor0/17332: #0: 0000000009a8b763 (sb_writers#21){.+.+}, at: sb_start_write include/linux/fs.h:1615 [inline] #0: 0000000009a8b763 (sb_writers#21){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:358 #1: 000000000142e7da (&sb->s_type->i_mutex_key#29/1){+.+.}, at: inode_lock_nested include/linux/fs.h:801 [inline] #1: 000000000142e7da (&sb->s_type->i_mutex_key#29/1){+.+.}, at: filename_create+0x1a8/0x5a0 fs/namei.c:3635 2 locks held by syz-executor0/17357: #0: 0000000009a8b763 (sb_writers#21){.+.+}, at: sb_start_write include/linux/fs.h:1615 [inline] #0: 0000000009a8b763 (sb_writers#21){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:358 #1: 000000000142e7da (&sb->s_type->i_mutex_key#29){++++}, at: inode_lock include/linux/fs.h:766 [inline] #1: 000000000142e7da (&sb->s_type->i_mutex_key#29){++++}, at: do_last fs/namei.c:3321 [inline] #1: 000000000142e7da (&sb->s_type->i_mutex_key#29){++++}, at: path_openat+0x1967/0x5660 fs/namei.c:3534 1 lock held by syz-executor0/17363: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1040 Comm: khungtaskd Not tainted 5.0.0-rc1-next-20190110 #9 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+0x1db/0x2d0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 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+0xbbb/0x1170 kernel/hung_task.c:287 kthread+0x357/0x430 kernel/kthread.c:247 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 17284 Comm: syz-executor0 Not tainted 5.0.0-rc1-next-20190110 #9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:match_held_lock+0x2fc/0x780 kernel/locking/lockdep.c:3431 Code: 00 00 00 fc ff df 4c 01 e2 48 c7 02 00 00 00 00 c7 42 08 00 00 00 00 48 8b 75 d0 65 48 33 34 25 28 00 00 00 0f 85 37 02 00 00 <48> 81 c4 a0 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 b8 01 00 00 RAX: 0000000000000000 RBX: ffff88805e4cc040 RCX: dffffc0000000000 RDX: ffffed1015ce0f81 RSI: 0000000000000000 RDI: ffff88805e4cc932 RBP: ffff8880ae707cb0 R08: ffff88805e4cc040 R09: ffffed1015ce5b90 R10: ffffed1015ce5b8f R11: ffff8880ae72dc7b R12: 1ffff11015ce0f81 R13: ffff88805e4cc910 R14: ffff8880ae707c88 R15: ffff88805e4cc910 FS: 00007f286ee46700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001858000 CR3: 000000008a585000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held+0xb6/0x140 kernel/locking/lockdep.c:3680 lock_is_held_type+0x110/0x210 kernel/locking/lockdep.c:3898 lock_is_held include/linux/lockdep.h:337 [inline] rcu_read_lock_sched_held+0x110/0x130 kernel/rcu/update.c:117 trace_softirq_entry include/trace/events/irq.h:128 [inline] __do_softirq+0x94a/0xb11 kernel/softirq.c:291 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x180/0x1d0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x1b7/0x760 arch/x86/kernel/apic/apic.c:1062 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:766 [inline] RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1744 [inline] RIP: 0010:vprintk_emit+0x84c/0x960 kernel/printk/printk.c:1977 Code: 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 ef 00 00 00 48 83 3d f4 2f 2a 08 00 74 2d e8 5d d5 19 00 48 8b bd 10 ff ff ff 57 9d <0f> 1f 44 00 00 e9 a3 fe ff ff e8 45 d5 19 00 0f 0b e8 3e d5 19 00 RSP: 0018:ffff88808a2f6cf8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000040000 RBX: 1ffff1101145eda5 RCX: ffffc90008bfa000 RDX: 0000000000040000 RSI: ffffffff81685303 RDI: 0000000000000246 RBP: ffff88808a2f6df0 R08: 0000000000000006 R09: ffff88805e4cc930 R10: ffff88805e4cc040 R11: 0000000000000000 R12: 0000000000000200 R13: ffffed101145edaf R14: 0000000000000000 R15: ffff88808a2f6dc8 vprintk_default+0x28/0x30 kernel/printk/printk.c:2005 vprintk_func+0x7e/0x189 kernel/printk/printk_safe.c:398 printk+0xba/0xed kernel/printk/printk.c:2038 __find_get_block_slow fs/buffer.c:231 [inline] __find_get_block fs/buffer.c:1331 [inline] __find_get_block.cold+0x36/0xfb fs/buffer.c:1325 __getblk_slow fs/buffer.c:1058 [inline] __getblk_gfp+0x3c2/0x1140 fs/buffer.c:1357 __bread_gfp+0x2f/0x300 fs/buffer.c:1391 sb_bread include/linux/buffer_head.h:307 [inline] fat__get_entry+0x586/0xa40 fs/fat/dir.c:101 fat_get_entry fs/fat/dir.c:129 [inline] fat_search_long+0x345/0x17d0 fs/fat/dir.c:479 vfat_find+0x10e/0x140 fs/fat/namei_vfat.c:697 vfat_lookup+0x10a/0x6b0 fs/fat/namei_vfat.c:711 __lookup_slow+0x2cd/0x560 fs/namei.c:1671 lookup_slow+0x58/0x80 fs/namei.c:1688 walk_component+0x8e5/0x26a0 fs/namei.c:1810 lookup_last fs/namei.c:2273 [inline] path_lookupat.isra.0+0x1f5/0xba0 fs/namei.c:2318 filename_lookup+0x27a/0x530 fs/namei.c:2348 user_path_at_empty+0x43/0x50 fs/namei.c:2608 user_path_at include/linux/namei.h:57 [inline] path_removexattr+0xb6/0x210 fs/xattr.c:699 __do_sys_removexattr fs/xattr.c:718 [inline] __se_sys_removexattr fs/xattr.c:715 [inline] __x64_sys_removexattr+0x59/0x80 fs/xattr.c:715 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f286ee45c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000c5 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457ec9 RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000020000340 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f286ee466d4 R13: 00000000004be6a0 R14: 00000000004d8188 R15: 00000000ffffffff