syz-executor0(12595): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(12595): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(12595): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(12595): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(12595): getblk(): executed=9 bh_count=0 bh_state=0 INFO: task syz-executor0:5591 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 D18520 5591 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 __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:779 [inline] lookup_slow+0x49/0x80 fs/namei.c:1687 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:00007ffd2609bbc0 EFLAGS: 00000206 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000455570 RDX: 0000000000000000 RSI: 0000000000090800 RDI: 00000000004bc2ae RBP: 000000000000039c R08: 0000000000000001 R09: 00000000018bc940 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000011 R13: 000000000005e4ca R14: 00000000000000b6 R15: 0000000000000000 INFO: task syz-executor0:12647 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 D24632 12647 5591 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 __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 __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:00007fbeb1ff3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 0000000000002761 RSI: 0000000020000180 RDI: ffffffffffffffff RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fbeb1ff46d4 R13: 00000000004c2b12 R14: 00000000004d4140 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/982: #0: 00000000cc29bd62 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379 1 lock held by rsyslogd/5460: #0: 0000000099eccfac (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5550: #0: 0000000079b03345 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000059cc85da (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5551: #0: 0000000081136c49 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000aa173028 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5552: #0: 000000003fa87583 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000037d6d531 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5553: #0: 00000000b9bd530d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000001f3f8b19 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5554: #0: 000000000a50f937 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000094e7f448 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5555: #0: 00000000992e51c0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000094c0c162 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5556: #0: 00000000e0e18a3e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000000171b6d0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 1 lock held by syz-executor0/5591: #0: 000000003e97ccdb (&sb->s_type->i_mutex_key#24){++++}, at: inode_lock_shared include/linux/fs.h:779 [inline] #0: 000000003e97ccdb (&sb->s_type->i_mutex_key#24){++++}, at: lookup_slow+0x49/0x80 fs/namei.c:1687 4 locks held by syz-executor0/12595: 2 locks held by syz-executor0/12647: #0: 000000003aa45835 (sb_writers#17){.+.+}, at: sb_start_write include/linux/fs.h:1602 [inline] #0: 000000003aa45835 (sb_writers#17){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:359 #1: 000000003e97ccdb (&sb->s_type->i_mutex_key#24){++++}, at: inode_lock include/linux/fs.h:764 [inline] #1: 000000003e97ccdb (&sb->s_type->i_mutex_key#24){++++}, at: do_last fs/namei.c:3321 [inline] #1: 000000003e97ccdb (&sb->s_type->i_mutex_key#24){++++}, at: path_openat+0x15c4/0x5150 fs/namei.c:3534 ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.640 msecs NMI backtrace for cpu 1 CPU: 1 PID: 12595 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:match_held_lock+0xb/0x8d0 kernel/locking/lockdep.c:3401 Code: e8 3a 1e 62 00 4c 8d 45 d8 e9 fd fc ff ff 4c 89 e7 e8 29 1e 62 00 4c 8d 45 d8 e9 c9 fc ff ff 48 ba 00 00 00 00 00 fc ff df 55 <48> 89 e5 41 57 41 56 4c 8d 75 d8 41 55 49 89 fd 48 83 c7 10 41 54 RSP: 0018:ffff88017e2ce958 EFLAGS: 00000002 RAX: 000000000000000a RBX: ffff8801819e6b10 RCX: ffffc90001e62000 RDX: dffffc0000000000 RSI: ffffffff8939ad00 RDI: ffff8801819e6b10 RBP: ffff88017e2ce9a8 R08: ffff8801819e6240 R09: ffffed003b5e5b4f R10: 0000000000000004 R11: ffff8801daf2da7b R12: ffff8801819e6240 R13: ffffed003033cd57 R14: ffff8801819e6ac0 R15: 0000000000000002 FS: 00007fbeb2036700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001cd659000 CR4: 00000000001406e0 Call Trace: lock_is_held_type+0x118/0x210 kernel/locking/lockdep.c:3882 lock_is_held include/linux/lockdep.h:339 [inline] ___might_sleep+0x27f/0x340 kernel/sched/core.c:6115 __might_sleep+0x95/0x190 kernel/sched/core.c:6103 lock_page include/linux/pagemap.h:481 [inline] pagecache_get_page+0x7f6/0xf00 mm/filemap.c:1531 find_or_create_page include/linux/pagemap.h:322 [inline] grow_dev_page fs/buffer.c:947 [inline] grow_buffers fs/buffer.c:1029 [inline] __getblk_slow fs/buffer.c:1062 [inline] __getblk_gfp+0x4ca/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/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:00007fbeb2035c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 0000000000002761 RSI: 0000000020000180 RDI: ffffffffffffffff RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fbeb20366d4 R13: 00000000004c2b12 R14: 00000000004d4140 R15: 00000000ffffffff