syz-executor0(26150): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(26150): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(26150): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(26150): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(26150): getblk(): executed=9 bh_count=0 bh_state=0 INFO: task syz-executor0:26147 blocked for more than 140 seconds. Not tainted 4.20.0-rc1-next-20181109+ #110 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D22776 26147 6028 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3472 schedule+0xef/0x370 kernel/sched/core.c:3516 __rwsem_down_write_failed_common+0xc9a/0x15e0 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:764 [inline] do_last fs/namei.c:3321 [inline] path_openat+0x15c4/0x5150 fs/namei.c:3534 syz-executor0(26150): getblk(): executed=9 bh_count=0 bh_state=0 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 ksys_open include/linux/syscalls.h:1292 [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+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007fb86b305c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000046 RDI: 00000000200001c0 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb86b3066d4 R13: 00000000004bdbef R14: 00000000004cd070 R15: 00000000ffffffff INFO: task syz-executor0:26168 blocked for more than 140 seconds. Not tainted 4.20.0-rc1-next-20181109+ #110 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D22776 26168 6028 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3472 schedule+0xef/0x370 kernel/sched/core.c:3516 __rwsem_down_write_failed_common+0xc9a/0x15e0 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:764 [inline] do_last fs/namei.c:3321 [inline] path_openat+0x15c4/0x5150 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 ksys_open include/linux/syscalls.h:1292 [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+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007fb86b2c3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000046 RDI: 00000000200001c0 RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb86b2c46d4 R13: 00000000004bdbef R14: 00000000004cd070 R15: 00000000ffffffff INFO: task syz-executor0:26182 blocked for more than 140 seconds. Not tainted 4.20.0-rc1-next-20181109+ #110 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D22776 26182 6028 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3472 schedule+0xef/0x370 kernel/sched/core.c:3516 __rwsem_down_write_failed_common+0xc9a/0x15e0 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:799 [inline] filename_create+0x1b2/0x5b0 fs/namei.c:3635 user_path_create fs/namei.c:3693 [inline] do_mkdirat+0xda/0x310 fs/namei.c:3832 __do_sys_mkdirat fs/namei.c:3851 [inline] __se_sys_mkdirat fs/namei.c:3849 [inline] __x64_sys_mkdirat+0x76/0xb0 fs/namei.c:3849 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007fb86b281c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000100000000 RSI: 0000000020000480 RDI: 000000000000000b RBP: 000000000072c180 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb86b2826d4 R13: 00000000004c2b03 R14: 00000000004d4750 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1011: #0: 00000000176010d1 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379 1 lock held by rsyslogd/5900: #0: 0000000061268684 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5990: #0: 00000000eebc00e1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000008f50b1a3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5991: #0: 000000002674d9ae (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000063220572 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5992: #0: 0000000073122362 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000071f59ad1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5993: #0: 00000000dc1a5d64 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000050c5d35d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5994: #0: 00000000988f962c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000215aca31 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5995: #0: 000000001ea0f746 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000008ef36806 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5996: #0: 0000000055f8b6e0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000111a252d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 1 lock held by syz-executor0/26147: #0: 00000000306ff7c8 (&sb->s_type->i_mutex_key#26){++++}, at: inode_lock include/linux/fs.h:764 [inline] #0: 00000000306ff7c8 (&sb->s_type->i_mutex_key#26){++++}, at: do_last fs/namei.c:3321 [inline] #0: 00000000306ff7c8 (&sb->s_type->i_mutex_key#26){++++}, at: path_openat+0x15c4/0x5150 fs/namei.c:3534 3 locks held by syz-executor0/26150: 1 lock held by syz-executor0/26168: #0: 00000000306ff7c8 (&sb->s_type->i_mutex_key#26){++++}, at: inode_lock include/linux/fs.h:764 [inline] #0: 00000000306ff7c8 (&sb->s_type->i_mutex_key#26){++++}, at: do_last fs/namei.c:3321 [inline] #0: 00000000306ff7c8 (&sb->s_type->i_mutex_key#26){++++}, at: path_openat+0x15c4/0x5150 fs/namei.c:3534 1 lock held by syz-executor0/26182: #0: 00000000306ff7c8 (&sb->s_type->i_mutex_key#24/1){+.+.}, at: inode_lock_nested include/linux/fs.h:799 [inline] #0: 00000000306ff7c8 (&sb->s_type->i_mutex_key#24/1){+.+.}, at: filename_create+0x1b2/0x5b0 fs/namei.c:3635 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1011 Comm: khungtaskd Not tainted 4.20.0-rc1-next-20181109+ #110 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+0x244/0x39d lib/dump_stack.c:113 nmi_cpu_backtrace.cold.2+0x5c/0xa1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1e8/0x22a 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:144 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xb4c/0x1060 kernel/hung_task.c:289 kthread+0x35a/0x440 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 26150 Comm: syz-executor0 Not tainted 4.20.0-rc1-next-20181109+ #110 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_kcov_mode kernel/kcov.c:67 [inline] RIP: 0010:write_comp_data+0x1b/0x70 kernel/kcov.c:122 Code: ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 48 89 e5 65 4c 8b 04 25 40 ee 01 00 65 8b 05 7c 45 82 7e a9 00 01 1f 00 75 51 <41> 8b 80 d8 12 00 00 83 f8 03 75 45 49 8b 80 e0 12 00 00 45 8b 80 RSP: 0000:ffff8801d8f1f0f0 EFLAGS: 00000046 RAX: 0000000080000000 RBX: 1ffff1003b1e3e25 RCX: ffffffff8185d127 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffff8801d8f1f0f0 R08: ffff88017d2fa6c0 R09: fffff94000d98af6 R10: fffff94000d98af6 R11: ffffea0006cc57b7 R12: 0000000000000001 R13: dffffc0000000000 R14: 000000000000000f R15: 0000000000000000 FS: 00007fb86b2e5700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6c7f73a140 CR3: 00000001b57a0000 CR4: 00000000001426f0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: __sanitizer_cov_trace_const_cmp4+0x16/0x20 kernel/kcov.c:188 trace_hardirqs_on+0x77/0x310 kernel/trace/trace_preemptirq.c:23 lookup_bh_lru fs/buffer.c:1309 [inline] __find_get_block+0x2f7/0xf10 fs/buffer.c:1321 __getblk_slow fs/buffer.c:1058 [inline] __getblk_gfp+0x3d3/0x1030 fs/buffer.c:1351 __bread_gfp+0x2d/0x310 fs/buffer.c:1385 sb_bread include/linux/buffer_head.h:307 [inline] fat__get_entry+0x5a6/0xa40 fs/fat/dir.c:101 fat_get_entry fs/fat/dir.c:129 [inline] fat_search_long+0x33b/0x1570 fs/fat/dir.c:479 vfat_find+0x16d/0x1a0 fs/fat/namei_vfat.c:697 vfat_lookup+0x107/0x640 fs/fat/namei_vfat.c:711 __lookup_hash+0x12e/0x190 fs/namei.c:1546 filename_create+0x1e5/0x5b0 fs/namei.c:3636 user_path_create fs/namei.c:3693 [inline] do_mkdirat+0xda/0x310 fs/namei.c:3832 __do_sys_mkdirat fs/namei.c:3851 [inline] __se_sys_mkdirat fs/namei.c:3849 [inline] __x64_sys_mkdirat+0x76/0xb0 fs/namei.c:3849 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: fd b3 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 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fb86b2e4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000100000000 RSI: 0000000020000480 RDI: 0000000000000005 RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb86b2e56d4 R13: 00000000004c2b03 R14: 00000000004d4750 R15: 00000000ffffffff