syz-executor0(13802): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(13802): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(13802): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(13802): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(13802): getblk(): executed=9 bh_count=0 bh_state=0 INFO: task syz-executor0:13800 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 D17400 13800 6075 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_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:00007f9a085d0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000020000440 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9a085d16d4 R13: 00000000004c2b2e R14: 00000000004d4798 R15: 00000000ffffffff INFO: task syz-executor0:13805 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 D25160 13805 6075 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_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:774 [inline] lookup_slow+0x49/0x80 fs/namei.c:1687 walk_component+0x92b/0x2590 fs/namei.c:1810 lookup_last fs/namei.c:2273 [inline] path_lookupat.isra.43+0x212/0xc00 fs/namei.c:2318 filename_lookup+0x26a/0x520 fs/namei.c:2348 user_path_at_empty+0x40/0x50 fs/namei.c:2608 user_path_at include/linux/namei.h:57 [inline] do_linkat+0x188/0xa90 fs/namei.c:4290 __do_sys_link fs/namei.c:4338 [inline] __se_sys_link fs/namei.c:4336 [inline] __x64_sys_link+0x5e/0x80 fs/namei.c:4336 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:00007f9a0858ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000056 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000020000240 RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9a0858f6d4 R13: 00000000004f5fb3 R14: 00000000004d4480 R15: 00000000ffffffff INFO: task syz-executor0:13826 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 D23656 13826 6075 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] __generic_file_fsync+0xb5/0x200 fs/libfs.c:999 generic_file_fsync+0x77/0x120 fs/libfs.c:1036 fat_file_fsync+0x77/0x180 fs/fat/file.c:198 vfs_fsync_range+0x140/0x220 fs/sync.c:197 vfs_fsync fs/sync.c:211 [inline] do_fsync+0x52/0xa0 fs/sync.c:221 __do_sys_fdatasync fs/sync.c:234 [inline] __se_sys_fdatasync fs/sync.c:232 [inline] __x64_sys_fdatasync+0x36/0x50 fs/sync.c:232 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:00007f9a0856dc78 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000000000b RBP: 000000000072c0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9a0856e6d4 R13: 00000000004bde32 R14: 00000000004cd4c0 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1010: #0: 00000000f258fb81 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379 3 locks held by rs:main Q:Reg/5945: #0: 0000000081f15e53 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 #1: 00000000f6ec1852 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2828 [inline] #1: 00000000f6ec1852 (sb_writers#3){.+.+}, at: vfs_write+0x42a/0x560 fs/read_write.c:548 #2: 00000000d3e8e6dc (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:764 [inline] #2: 00000000d3e8e6dc (&sb->s_type->i_mutex_key#10){++++}, at: __generic_file_fsync+0xb5/0x200 fs/libfs.c:999 1 lock held by rsyslogd/5947: #0: 0000000095113250 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/6037: #0: 000000009fb0365e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000048468129 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6038: #0: 0000000047387f12 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000f77d4ab3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6039: #0: 000000000f4344eb (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000087cab07f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6040: #0: 0000000067c52ea9 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000005a6b96fd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6041: #0: 00000000166a4eed (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000066f65a52 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6042: #0: 000000004b8ada13 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000999b46c4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6043: #0: 00000000a0c92ef8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000004c0b78b9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by syz-executor0/13800: #0: 000000004ffdf932 (sb_writers#18){.+.+}, at: sb_start_write include/linux/fs.h:1607 [inline] #0: 000000004ffdf932 (sb_writers#18){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:359 #1: 00000000d9c19f8a (&sb->s_type->i_mutex_key#25/1){+.+.}, at: inode_lock_nested include/linux/fs.h:799 [inline] #1: 00000000d9c19f8a (&sb->s_type->i_mutex_key#25/1){+.+.}, at: filename_create+0x1b2/0x5b0 fs/namei.c:3635 3 locks held by syz-executor0/13802: 1 lock held by syz-executor0/13805: #0: 00000000d9c19f8a (&sb->s_type->i_mutex_key#25){++++}, at: inode_lock_shared include/linux/fs.h:774 [inline] #0: 00000000d9c19f8a (&sb->s_type->i_mutex_key#25){++++}, at: lookup_slow+0x49/0x80 fs/namei.c:1687 1 lock held by syz-executor0/13826: #0: 00000000d9c19f8a (&sb->s_type->i_mutex_key#25){++++}, at: inode_lock include/linux/fs.h:764 [inline] #0: 00000000d9c19f8a (&sb->s_type->i_mutex_key#25){++++}, at: __generic_file_fsync+0xb5/0x200 fs/libfs.c:999 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1010 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 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.978 msecs CPU: 0 PID: 13802 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:__lock_is_held+0x10b/0x140 kernel/locking/lockdep.c:3673 Code: 3c 03 7e 4c 0f b6 43 22 83 e0 03 3b 45 c4 0f 94 c0 48 83 c4 18 5b 0f b6 c0 41 5c 41 5d 41 5e 41 5f 5d c3 31 c0 48 83 c4 18 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 48 8b 7d c8 e8 a2 64 62 00 e9 2b ff RSP: 0018:ffff8801b350e560 EFLAGS: 00000082 RAX: 0000000000000001 RBX: 0000000000000282 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff880179cd2908 RBP: ffff8801b350e580 R08: ffff880179cd2000 R09: ffffed003b5c5b67 R10: ffffed003b5c5b67 R11: ffff8801dae2db3b R12: ffff880179cd2000 R13: ffffed002f39a50f R14: ffff880179cd2880 R15: 0000000000000003 FS: 00007f9a085b0700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001ba09f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: lock_is_held_type+0x118/0x210 kernel/locking/lockdep.c:3882 lock_is_held include/linux/lockdep.h:339 [inline] rcu_read_lock_held+0xa9/0xc0 kernel/rcu/update.c:281 xa_entry include/linux/xarray.h:848 [inline] xas_descend+0x413/0x510 lib/xarray.c:198 xas_load+0x145/0x1e0 lib/xarray.c:234 find_get_entry+0x3ca/0x1120 mm/filemap.c:1415 pagecache_get_page+0x12f/0xf00 mm/filemap.c:1518 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 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: 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:00007f9a085afc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 00000000000000b0 RDI: 0000000020000180 RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9a085b06d4 R13: 00000000004bdbef R14: 00000000004cd070 R15: 00000000ffffffff