syz-executor0(29270): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(29270): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(29270): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(29270): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(29270): getblk(): executed=9 bh_count=0 bh_state=0 INFO: task syz-executor0:29280 blocked for more than 140 seconds. Not tainted 4.20.0-rc7-next-20181224 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D24072 29280 16082 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3472 schedule+0xfe/0x350 kernel/sched/core.c:3516 __rwsem_down_write_failed_common+0xa4d/0x1620 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:804 [inline] filename_create+0x1a8/0x5a0 fs/namei.c:3635 user_path_create fs/namei.c:3693 [inline] do_mkdirat+0xcf/0x2f0 fs/namei.c:3831 __do_sys_mkdirat fs/namei.c:3850 [inline] __se_sys_mkdirat fs/namei.c:3848 [inline] __x64_sys_mkdirat+0x76/0xb0 fs/namei.c:3848 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: Bad RIP value. RSP: 002b:00007fdd297a2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9 RDX: 0000000000000004 RSI: 0000000020000240 RDI: 0000000000000006 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdd297a36d4 R13: 00000000004c398b R14: 00000000004d64f0 R15: 00000000ffffffff INFO: task syz-executor0:29347 blocked for more than 140 seconds. Not tainted 4.20.0-rc7-next-20181224 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D27384 29347 16082 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3472 schedule+0xfe/0x350 kernel/sched/core.c:3516 __rwsem_down_write_failed_common+0xa4d/0x1620 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:769 [inline] vfs_removexattr+0x8b/0x200 fs/xattr.c:390 removexattr+0xda/0x130 fs/xattr.c:690 path_removexattr+0x1b7/0x210 fs/xattr.c:704 __do_sys_removexattr fs/xattr.c:718 [inline] __se_sys_removexattr fs/xattr.c:715 [inline] __x64_sys_removexattr+0x59/0x80 fs/xattr.c:715 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: Bad RIP value. RSP: 002b:00007fdd29781c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000c5 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457ec9 RDX: 0000000000000000 RSI: 0000000020000840 RDI: 0000000020000140 RBP: 000000000073c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdd297826d4 R13: 00000000004be6a0 R14: 00000000004d7e40 R15: 00000000ffffffff INFO: task syz-executor0:29348 blocked for more than 140 seconds. Not tainted 4.20.0-rc7-next-20181224 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D25912 29348 16082 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3472 schedule+0xfe/0x350 kernel/sched/core.c:3516 __rwsem_down_write_failed_common+0xa4d/0x1620 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:804 [inline] filename_create+0x1a8/0x5a0 fs/namei.c:3635 user_path_create fs/namei.c:3693 [inline] do_mkdirat+0xcf/0x2f0 fs/namei.c:3831 __do_sys_mkdirat fs/namei.c:3850 [inline] __se_sys_mkdirat fs/namei.c:3848 [inline] __x64_sys_mkdirat+0x76/0xb0 fs/namei.c:3848 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: Bad RIP value. RSP: 002b:00007fdd29760c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9 RDX: 0000000100000000 RSI: 0000000020000480 RDI: 000000000000000c RBP: 000000000073c0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdd297616d4 R13: 00000000004c398b R14: 00000000004d64f0 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1040: #0: 000000000a0a4644 (rcu_read_lock){....}, at: debug_show_all_locks+0xc6/0x41d kernel/locking/lockdep.c:4389 1 lock held by rsyslogd/7785: #0: 00000000aa19e946 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1b3/0x1f0 fs/file.c:795 2 locks held by getty/7875: #0: 0000000007513816 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000c9125794 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7876: #0: 00000000b83fe8f4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000c26f06c8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7877: #0: 00000000daac9263 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000052194d0c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7878: #0: 00000000455aa50f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000095806c14 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7879: #0: 0000000030edca19 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000001d7f1b0b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7880: #0: 00000000102ec146 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000001969adbd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/7881: #0: 0000000010ceb67e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000f4f9a830 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 1 lock held by syz-executor1/10975: #0: 00000000e3e11d23 (&sig->cred_guard_mutex){+.+.}, at: prepare_bprm_creds fs/exec.c:1406 [inline] #0: 00000000e3e11d23 (&sig->cred_guard_mutex){+.+.}, at: __do_execve_file.isra.0+0x45d/0x26d0 fs/exec.c:1749 4 locks held by syz-executor0/29270: 2 locks held by syz-executor0/29280: #0: 00000000cffb7046 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1618 [inline] #0: 00000000cffb7046 (sb_writers#14){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:359 #1: 000000004ea492ea (&sb->s_type->i_mutex_key#20/1){+.+.}, at: inode_lock_nested include/linux/fs.h:804 [inline] #1: 000000004ea492ea (&sb->s_type->i_mutex_key#20/1){+.+.}, at: filename_create+0x1a8/0x5a0 fs/namei.c:3635 2 locks held by syz-executor0/29347: #0: 00000000cffb7046 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1618 [inline] #0: 00000000cffb7046 (sb_writers#14){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:359 syz-executor0(29270): getblk(): executed=9 bh_count=0 bh_state=0 #1: 000000004ea492ea (&sb->s_type->i_mutex_key#20){++++}, at: inode_lock include/linux/fs.h:769 [inline] #1: 000000004ea492ea (&sb->s_type->i_mutex_key#20){++++}, at: vfs_removexattr+0x8b/0x200 fs/xattr.c:390 2 locks held by syz-executor0/29348: #0: 00000000cffb7046 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1618 [inline] #0: 00000000cffb7046 (sb_writers#14){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:359 #1: 000000004ea492ea (&sb->s_type->i_mutex_key#20/1){+.+.}, at: inode_lock_nested include/linux/fs.h:804 [inline] #1: 000000004ea492ea (&sb->s_type->i_mutex_key#20/1){+.+.}, at: filename_create+0x1a8/0x5a0 fs/namei.c:3635 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1040 Comm: khungtaskd Not tainted 4.20.0-rc7-next-20181224 #1 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+0x1db/0x2d0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 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:203 [inline] watchdog+0xbbb/0x1170 kernel/hung_task.c:287 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.042 msecs NMI backtrace for cpu 0 CPU: 0 PID: 29270 Comm: syz-executor0 Not tainted 4.20.0-rc7-next-20181224 #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:match_held_lock+0x7f/0x780 kernel/locking/lockdep.c:3399 Code: ff ff ff 00 e0 62 81 c7 00 f1 f1 f1 f1 c7 40 04 00 f2 f2 f2 c7 40 08 00 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 45 d0 31 c0 <48> 89 f8 48 c1 e8 03 80 3c 08 00 0f 85 8b 04 00 00 49 39 75 10 0f RSP: 0018:ffff888059a770f0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff88809fc96680 RCX: dffffc0000000000 RDX: 1ffff1100b34ee22 RSI: ffffffff8999f540 RDI: ffff88809fc96f38 RBP: ffff888059a771b8 R08: ffff88809fc96680 R09: 0000000000000004 R10: 0000000000000000 R11: ffff8880ae62dc7b R12: 1ffff1100b34ee22 R13: ffff88809fc96f28 R14: ffff888059a77190 R15: ffff88809fc96f28 FS: 00007fdd297c4700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 000000005542a000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held+0xb6/0x140 kernel/locking/lockdep.c:3661 lock_is_held_type+0x110/0x210 kernel/locking/lockdep.c:3879 lock_is_held include/linux/lockdep.h:337 [inline] ___might_sleep+0x285/0x310 kernel/sched/core.c:6113 __might_sleep+0x95/0x190 kernel/sched/core.c:6101 lock_page include/linux/pagemap.h:482 [inline] pagecache_get_page+0x6a8/0x1070 mm/filemap.c:1595 find_or_create_page include/linux/pagemap.h:323 [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+0x4de/0x1130 fs/buffer.c:1351 __getblk include/linux/buffer_head.h:380 [inline] __breadahead+0x86/0x160 fs/buffer.c:1361 sb_breadahead include/linux/buffer_head.h:319 [inline] fat_dir_readahead fs/fat/dir.c:66 [inline] fat__get_entry+0x4b5/0xa40 fs/fat/dir.c:99 fat_get_entry fs/fat/dir.c:129 [inline] fat_search_long+0x345/0x17d0 fs/fat/dir.c:479 vfat_find+0x10e/0x140 fs/fat/namei_vfat.c:697 vfat_lookup+0x10a/0x6b0 fs/fat/namei_vfat.c:711 __lookup_hash+0x122/0x190 fs/namei.c:1546 filename_create+0x1d6/0x5a0 fs/namei.c:3636 user_path_create fs/namei.c:3693 [inline] do_mkdirat+0xcf/0x2f0 fs/namei.c:3831 __do_sys_mkdirat fs/namei.c:3850 [inline] __se_sys_mkdirat fs/namei.c:3848 [inline] __x64_sys_mkdirat+0x76/0xb0 fs/namei.c:3848 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: 6d b7 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fdd297c3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9 RDX: 0000000100000000 RSI: 0000000020000480 RDI: 0000000000000006 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdd297c46d4 R13: 00000000004c398b R14: 00000000004d64f0 R15: 00000000ffffffff