syz-executor0(21093): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(21093): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(21093): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(21093): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(21093): getblk(): executed=9 bh_count=0 bh_state=0 INFO: task syz-executor0:21090 blocked for more than 140 seconds. Not tainted 4.20.0-rc5-next-20181207+ #163 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D20040 21090 6118 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0xa41/0x21e0 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:806 [inline] filename_create+0x1b2/0x5b0 fs/namei.c:3635 user_path_create fs/namei.c:3693 [inline] do_mknodat+0x1c2/0x530 fs/namei.c:3755 __do_sys_mknod fs/namei.c:3795 [inline] __se_sys_mknod fs/namei.c:3793 [inline] __x64_sys_mknod+0x7b/0xb0 fs/namei.c:3793 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:00007fa921fbac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000020000440 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa921fbb6d4 R13: 00000000004c2b2e R14: 00000000004d45f8 R15: 00000000ffffffff INFO: task syz-executor0:21103 blocked for more than 140 seconds. Not tainted 4.20.0-rc5-next-20181207+ #163 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D25280 21103 6118 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0xa41/0x21e0 kernel/sched/core.c:3472 schedule+0xef/0x370 kernel/sched/core.c:3516 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:280 [inline] rwsem_down_read_failed+0x371/0x710 kernel/locking/rwsem-xadd.c:297 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+0x9b/0x120 kernel/locking/rwsem.c:26 inode_lock_shared include/linux/fs.h:781 [inline] do_last fs/namei.c:3323 [inline] path_openat+0x2444/0x5150 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x780 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1076 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:00007fa921f78c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000020000380 RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa921f796d4 R13: 00000000004f085f R14: 00000000004d4aa8 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1017: #0: 0000000011097edd (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379 1 lock held by rsyslogd/5990: #0: 000000002b1223bf (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/6080: #0: 00000000d257db78 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000a44965fb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by getty/6081: #0: 00000000b7d2364f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d80c4068 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by getty/6082: #0: 000000008095948d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000005ca628f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by getty/6083: #0: 00000000fa89e868 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000da344546 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by getty/6084: #0: 00000000f40c21ea (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000e6575e53 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by getty/6085: #0: 000000006d8fd2ca (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000053f1bc9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by getty/6086: #0: 000000009e636812 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000aacc1835 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 1 lock held by syz-executor2/17131: #0: 0000000032c2d20d (&sig->cred_guard_mutex){+.+.}, at: prepare_bprm_creds+0x53/0x120 fs/exec.c:1407 2 locks held by syz-executor0/21090: #0: 000000004e90615b (sb_writers#12){.+.+}, at: sb_start_write include/linux/fs.h:1619 [inline] #0: 000000004e90615b (sb_writers#12){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:359 #1: 0000000086ee4c47 (&sb->s_type->i_mutex_key#20/1){+.+.}, at: inode_lock_nested include/linux/fs.h:806 [inline] #1: 0000000086ee4c47 (&sb->s_type->i_mutex_key#20/1){+.+.}, at: filename_create+0x1b2/0x5b0 fs/namei.c:3635 3 locks held by syz-executor0/21093: 2 locks held by syz-executor0/21103: #0: 000000004e90615b (sb_writers#12){.+.+}, at: sb_start_write include/linux/fs.h:1619 [inline] #0: 000000004e90615b (sb_writers#12){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:359 #1: 0000000086ee4c47 (&sb->s_type->i_mutex_key#22){++++}, at: inode_lock_shared include/linux/fs.h:781 [inline] #1: 0000000086ee4c47 (&sb->s_type->i_mutex_key#22){++++}, at: do_last fs/namei.c:3323 [inline] #1: 0000000086ee4c47 (&sb->s_type->i_mutex_key#22){++++}, at: path_openat+0x2444/0x5150 fs/namei.c:3534 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1017 Comm: khungtaskd Not tainted 4.20.0-rc5-next-20181207+ #163 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:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xb51/0x1060 kernel/hung_task.c:289 kthread+0x35a/0x440 kernel/kthread.c:246 syz-executor0(21093): getblk(): executed=9 bh_count=0 bh_state=0 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.227 msecs NMI backtrace for cpu 1 CPU: 1 PID: 21093 Comm: syz-executor0 Not tainted 4.20.0-rc5-next-20181207+ #163 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:182 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:69 [inline] RIP: 0010:write_comp_data+0x22/0x70 kernel/kcov.c:122 Code: 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 f6 81 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 dc 12 00 00 4c 8b 08 RSP: 0018:ffff88818bfbe3e0 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff88818bfbe620 RCX: ffffffff87df9214 RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000007 RBP: ffff88818bfbe3e0 R08: ffff88818b470540 R09: ffffed103b5a5b5f R10: ffffed103b5a5b5f R11: ffff8881dad2dafb R12: 1ffff110317f7c82 R13: 0000000000000003 R14: ffff88818bfbe4f0 R15: ffff88818bfbe638 FS: 00007fa921f9a700(0000) GS:ffff8881dad00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000017ee79000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sanitizer_cov_trace_const_cmp8+0x18/0x20 kernel/kcov.c:195 xas_start+0xc4/0x740 lib/xarray.c:177 xas_load+0x21/0x1e0 lib/xarray.c:227 find_get_entry+0x3ca/0x1120 mm/filemap.c:1476 pagecache_get_page+0x12f/0xf00 mm/filemap.c:1579 find_get_page_flags include/linux/pagemap.h:278 [inline] __find_get_block_slow fs/buffer.c:205 [inline] __find_get_block+0x63a/0xf20 fs/buffer.c:1325 __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_open+0x72e/0x1b90 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x15e4/0x5150 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x780 fs/open.c:1063 ksys_open include/linux/syscalls.h:1304 [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: 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:00007fa921f99c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa921f9a6d4 R13: 00000000004bdbef R14: 00000000004cced0 R15: 00000000ffffffff