INFO: task syz-executor0:13932 blocked for more than 140 seconds. Not tainted 5.0.0-rc1+ #16 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D25912 13932 8106 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:792 [inline] filename_create+0x1a8/0x5a0 fs/namei.c:3635 user_path_create fs/namei.c:3693 [inline] do_mknodat+0x1bd/0x530 fs/namei.c:3754 __do_sys_mknod fs/namei.c:3794 [inline] __se_sys_mknod fs/namei.c:3792 [inline] __x64_sys_mknod+0x7b/0xb0 fs/namei.c:3792 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:00007f61f55a2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000340 RBP: 000000000073c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f61f55a36d4 R13: 00000000004c3b27 R14: 00000000004d6880 R15: 00000000ffffffff INFO: task syz-executor0:13936 blocked for more than 140 seconds. Not tainted 5.0.0-rc1+ #16 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D27592 13936 8106 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_read_failed_common kernel/locking/rwsem-xadd.c:280 [inline] rwsem_down_read_failed+0x360/0x6d0 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:767 [inline] do_last fs/namei.c:3323 [inline] path_openat+0x25e1/0x5650 fs/namei.c:3534 do_filp_open+0x26f/0x370 fs/namei.c:3564 do_sys_open+0x59a/0x7c0 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+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: Bad RIP value. RSP: 002b:00007f61f5581c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457ec9 RDX: 0000000000000002 RSI: 0000000020000200 RDI: 000000000000000a RBP: 000000000073c0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f61f55826d4 R13: 00000000004c3e4f R14: 00000000004d6eb0 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1038: #0: 00000000266e39eb (rcu_read_lock){....}, at: debug_show_all_locks+0xc6/0x41d kernel/locking/lockdep.c:4389 1 lock held by rsyslogd/7945: #0: 0000000013174818 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1b3/0x1f0 fs/file.c:795 2 locks held by getty/8067: #0: 000000003632d878 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000796c6991 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8068: #0: 00000000a701de54 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000071e580b2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8069: #0: 000000008e1f8288 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000001aa28a95 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8070: #0: 00000000f4c567fe (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d4dbfb7c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8071: #0: 00000000cd2b2dd0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000038f44efc (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8072: #0: 000000003b0c4f88 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002d5967c1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8073: #0: 000000006125214c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000db7fa136 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by syz-executor0/13927: 1 lock held by syz-executor0/13932: #0: 000000009ed67caf (&sb->s_type->i_mutex_key#25/1){+.+.}, at: inode_lock_nested include/linux/fs.h:792 [inline] #0: 000000009ed67caf (&sb->s_type->i_mutex_key#25/1){+.+.}, at: filename_create+0x1a8/0x5a0 fs/namei.c:3635 1 lock held by syz-executor0/13936: #0: 000000009ed67caf (&sb->s_type->i_mutex_key#26){++++}, at: inode_lock_shared include/linux/fs.h:767 [inline] #0: 000000009ed67caf (&sb->s_type->i_mutex_key#26){++++}, at: do_last fs/namei.c:3323 [inline] #0: 000000009ed67caf (&sb->s_type->i_mutex_key#26){++++}, at: path_openat+0x25e1/0x5650 fs/namei.c:3534 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1038 Comm: khungtaskd Not tainted 5.0.0-rc1+ #16 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: NMI backtrace for cpu 0 CPU: 0 PID: 13927 Comm: syz-executor0 Not tainted 5.0.0-rc1+ #16 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_pc+0x26/0x50 kernel/kcov.c:101 Code: 90 90 90 90 55 48 89 e5 48 8b 75 08 65 48 8b 04 25 40 ee 01 00 65 8b 15 a8 f6 7f 7e 81 e2 00 01 1f 00 75 2b 8b 90 d8 12 00 00 <83> fa 02 75 20 48 8b 88 e0 12 00 00 8b 80 dc 12 00 00 48 8b 11 48 RSP: 0018:ffff8880506b6f30 EFLAGS: 00000046 RAX: ffff88809a7da580 RBX: 0000000000000000 RCX: ffffffff8390e0ba RDX: 0000000000000002 RSI: ffffffff8390e0df RDI: 0000000000000005 RBP: ffff8880506b6f30 R08: ffff88809a7da580 R09: fffff9400049c467 R10: fffff9400049c466 R11: ffffea00024e2337 R12: ffffffff8881af60 R13: 0000000000000000 R14: ffffffff8855f880 R15: 0000000000000005 FS: 00007f61f55c4700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa64d7ba000 CR3: 00000000925ac000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_local_save_flags arch/x86/include/asm/paravirt.h:761 [inline] check_preemption_disabled+0x5f/0x290 lib/smp_processor_id.c:18 __this_cpu_preempt_check+0x1d/0x30 lib/smp_processor_id.c:62 lookup_bh_lru fs/buffer.c:1261 [inline] __find_get_block+0x16a/0xf20 fs/buffer.c:1290 __getblk_slow fs/buffer.c:1039 [inline] __getblk_gfp+0x295/0xd20 fs/buffer.c:1320 __bread_gfp+0x2f/0x300 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] fat__get_entry+0x586/0xa40 fs/fat/dir.c:101 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_open+0x726/0x1b80 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x1983/0x5650 fs/namei.c:3534 do_filp_open+0x26f/0x370 fs/namei.c:3564 do_sys_open+0x59a/0x7c0 fs/open.c:1063 ksys_open include/linux/syscalls.h:1298 [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+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:00007f61f55c3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457ec9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f61f55c46d4 R13: 00000000004be42a R14: 00000000004ce8b8 R15: 00000000ffffffff