syz-executor0(14244): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(14244): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(14244): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(14244): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(14244): getblk(): executed=9 bh_count=0 bh_state=0 INFO: task syz-executor0:14247 blocked for more than 140 seconds. Not tainted 4.19.0-rc8-next-20181018+ #97 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D24800 14247 5648 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 d_wait_lookup fs/dcache.c:2408 [inline] d_alloc_parallel+0x1478/0x1f40 fs/dcache.c:2490 lookup_open+0x560/0x1b90 fs/namei.c:3147 do_last fs/namei.c:3324 [inline] path_openat+0x2464/0x5150 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 __do_sys_openat fs/open.c:1090 [inline] __se_sys_openat fs/open.c:1084 [inline] __x64_sys_openat+0x9d/0x100 fs/open.c:1084 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:00007f1c0bd9cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 0000000000000002 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1c0bd9d6d4 R13: 00000000004c2afe R14: 00000000004d4128 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/982: #0: 0000000000a76376 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379 1 lock held by rsyslogd/5436: #0: 0000000036803843 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5526: #0: 00000000e9e0ce50 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000020c57884 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5527: #0: 00000000881c22a4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000000172791 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5528: #0: 000000002cc3539d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000006fa7e0ca (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5529: #0: 0000000082e4c48d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000087f53b7e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5530: #0: 000000004846775e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000aecad819 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5531: #0: 000000008473700f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000048708980 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5532: #0: 00000000a824a66c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000005914fc3e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 3 locks held by syz-executor0/14244: 1 lock held by syz-executor0/14247: #0: 000000001a527e49 (&sb->s_type->i_mutex_key#20){++++}, at: inode_lock_shared include/linux/fs.h:779 [inline] #0: 000000001a527e49 (&sb->s_type->i_mutex_key#20){++++}, at: do_last fs/namei.c:3323 [inline] #0: 000000001a527e49 (&sb->s_type->i_mutex_key#20){++++}, at: path_openat+0x2444/0x5150 fs/namei.c:3534 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 982 Comm: khungtaskd Not tainted 4.19.0-rc8-next-20181018+ #97 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 0 to CPUs 1: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.487 msecs NMI backtrace for cpu 1 CPU: 1 PID: 14244 Comm: syz-executor0 Not tainted 4.19.0-rc8-next-20181018+ #97 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mark_held_locks+0x12/0x130 kernel/locking/lockdep.c:2720 Code: f0 fe ff ff e9 1e f4 ff ff 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 8d 87 78 08 00 00 48 89 e5 48 89 c2 41 57 41 56 <48> c1 ea 03 49 89 fe 41 55 41 54 53 48 83 ec 18 48 89 45 c8 48 b8 RSP: 0018:ffff88019c0beb48 EFLAGS: 00000002 RAX: ffff8801c4864938 RBX: ffff8801c48640c0 RCX: 1ffff1003890c931 RDX: ffff8801c4864938 RSI: 0000000000000001 RDI: ffff8801c48640c0 RBP: ffff88019c0beb58 R08: ffff8801c4864988 R09: 0000000000000002 R10: 0000000000000000 R11: ffff8801c48640c0 R12: ffffffff81e13e47 R13: dffffc0000000000 R14: ffffffff81e13e47 R15: 0000000000000000 FS: 00007f1c0bdbe700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001c40ee000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __trace_hardirqs_on_caller kernel/locking/lockdep.c:2766 [inline] lockdep_hardirqs_on+0x3bb/0x5b0 kernel/locking/lockdep.c:2811 trace_hardirqs_on+0xbd/0x310 kernel/trace/trace_preemptirq.c:30 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_open+0x72e/0x1b90 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x2464/0x5150 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 __do_sys_openat fs/open.c:1090 [inline] __se_sys_openat fs/open.c:1084 [inline] __x64_sys_openat+0x9d/0x100 fs/open.c:1084 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:00007f1c0bdbdc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 0000000000000002 RSI: 0000000020000200 RDI: 0000000000000004 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1c0bdbe6d4 R13: 00000000004c2afe R14: 00000000004d4128 R15: 00000000ffffffff