syz-executor0(17738): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(17738): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(17738): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(17738): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(17738): getblk(): executed=9 bh_count=0 bh_state=0 INFO: task syz-executor0:5607 blocked for more than 140 seconds. Not tainted 4.19.0-rc8-next-20181019+ #98 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D14360 5607 1 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3480 schedule+0xfe/0x460 kernel/sched/core.c:3524 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3582 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xaff/0x16f0 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 vfat_lookup+0xf1/0x640 fs/fat/namei_vfat.c:709 __lookup_slow+0x2b5/0x540 fs/namei.c:1671 lookup_slow+0x57/0x80 fs/namei.c:1688 walk_component+0x92b/0x2590 fs/namei.c:1810 link_path_walk.part.40+0xa61/0x1530 fs/namei.c:2141 link_path_walk fs/namei.c:2072 [inline] path_openat+0x270/0x5150 fs/namei.c:3533 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 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:0x455570 Code: Bad RIP value. RSP: 002b:00007fff31d2a190 EFLAGS: 00000206 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000455570 RDX: 0000000000000000 RSI: 0000000000090800 RDI: 00000000004bc2ae RBP: 0000000000000528 R08: 0000000000000001 R09: 0000000001844940 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000078457 R14: 0000000000000113 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/982: #0: 000000007d81e359 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379 1 lock held by rsyslogd/5477: #0: 0000000019c4dfd4 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5567: #0: 00000000b7ae04e2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000037fd8a7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5568: #0: 00000000c96fbe77 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000092bf5acd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5569: #0: 000000005e9cdeb8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000db9e66b2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5570: #0: 000000007d072620 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000005ddd70d3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5571: #0: 0000000061a4a899 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000006fedaa0c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5572: #0: 00000000590a533c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000091237a34 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5573: #0: 000000003a8668fa (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000088003029 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by syz-executor0/5607: #0: 000000001023f0fd (&sb->s_type->i_mutex_key#29){++++}, at: inode_lock_shared include/linux/fs.h:779 [inline] #0: 000000001023f0fd (&sb->s_type->i_mutex_key#29){++++}, at: lookup_slow+0x49/0x80 fs/namei.c:1687 #1: 0000000027430553 (&sbi->s_lock){+.+.}, at: vfat_lookup+0xf1/0x640 fs/fat/namei_vfat.c:709 3 locks held by syz-executor0/17738: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 982 Comm: khungtaskd Not tainted 4.19.0-rc8-next-20181019+ #98 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:204 [inline] watchdog+0xb39/0x1050 kernel/hung_task.c:265 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 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.818 msecs CPU: 0 PID: 17738 Comm: syz-executor0 Not tainted 4.19.0-rc8-next-20181019+ #98 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_hardirqs_off+0x31/0x2b0 kernel/locking/lockdep.c:2822 Code: fc ff df 55 48 89 e5 41 55 49 89 fd 48 c7 c7 20 39 70 89 48 89 fa 41 54 48 c1 ea 03 53 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 <65> 48 8b 1c 25 40 ee 01 00 38 d0 7c 08 84 d2 0f 85 0c 02 00 00 8b RSP: 0018:ffff88017c41e760 EFLAGS: 00000006 RAX: 0000000000000003 RBX: 1ffff1002f883cf4 RCX: ffffffff81855ea5 RDX: 0000000000000004 RSI: ffffffff81855eaf RDI: ffffffff89703920 RBP: ffff88017c41e778 R08: ffff8801bd710200 R09: fffff94000d5e0fe R10: fffff94000d5e0fe R11: ffffea0006af07f7 R12: 0000000000000000 R13: ffffffff81e13a0d R14: ffffffff81e13a0d R15: 1ffff1002f883d5d FS: 0000000001844940(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001806c5000 CR4: 00000000001426f0 DR0: 000000000000b8c4 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_off+0xb8/0x310 kernel/trace/trace_preemptirq.c:43 lookup_bh_lru fs/buffer.c:1290 [inline] __find_get_block+0x14d/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_slow+0x2b5/0x540 fs/namei.c:1671 lookup_slow+0x57/0x80 fs/namei.c:1688 walk_component+0x92b/0x2590 fs/namei.c:1810 link_path_walk.part.40+0xa61/0x1530 fs/namei.c:2141 link_path_walk fs/namei.c:2072 [inline] path_openat+0x270/0x5150 fs/namei.c:3533 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 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:0x411180 Code: 01 f0 ff ff 0f 83 e0 17 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 2d 4e 63 00 00 75 14 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 b4 17 00 00 c3 48 83 ec 08 e8 8a fa ff ff RSP: 002b:00007fff31d29d28 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fff31d29d54 RCX: 0000000000411180 RDX: 00007fff31d29d5a RSI: 0000000000080001 RDI: 00000000004bcfb9 RBP: 00007fff31d29d50 R08: 0000000000000000 R09: 0000000000000004 R10: 0000000000000075 R11: 0000000000000246 R12: 00000000004bcfb9 R13: 0000000000000000 R14: 0000000000000113 R15: 0000000000000000