INFO: task syz-executor.0:10428 blocked for more than 143 seconds. Not tainted 5.1.0+ #19 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28128 10428 8613 0x80000000 Call Trace: context_switch kernel/sched/core.c:2817 [inline] __schedule+0x7cb/0x1560 kernel/sched/core.c:3444 schedule+0xa8/0x260 kernel/sched/core.c:3508 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:495 [inline] rwsem_down_read_failed+0x213/0x460 kernel/locking/rwsem-xadd.c:515 __down_read kernel/locking/rwsem.h:178 [inline] down_read+0xa5/0x1e0 kernel/locking/rwsem.c:26 exit_mm kernel/exit.c:512 [inline] do_exit+0x443/0x2fa0 kernel/exit.c:863 do_group_exit+0x135/0x370 kernel/exit.c:980 __do_sys_exit_group kernel/exit.c:991 [inline] __se_sys_exit_group kernel/exit.c:989 [inline] __x64_sys_exit_group+0x44/0x50 kernel/exit.c:989 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458da9 Code: 0f 05 48 3d 01 f0 ff ff 76 05 b8 ff ff ff ff 89 44 24 20 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 48 83 ec 18 48 89 6c 24 10 <48> 8d 6c 24 10 31 d2 8b 44 24 20 b9 40 42 0f 00 f7 f1 48 89 04 24 RSP: 002b:00007fff766384e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 0000000000458da9 RDX: 0000000000412b61 RSI: fffffffffffffff7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffff R09: 00007fff76638540 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff76638540 R14: 0000000000000000 R15: 00007fff76638550 INFO: task syz-executor.0:10430 blocked for more than 143 seconds. Not tainted 5.1.0+ #19 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28144 10430 8613 0x80004000 Call Trace: context_switch kernel/sched/core.c:2817 [inline] __schedule+0x7cb/0x1560 kernel/sched/core.c:3444 schedule+0xa8/0x260 kernel/sched/core.c:3508 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:495 [inline] rwsem_down_read_failed+0x213/0x460 kernel/locking/rwsem-xadd.c:515 __down_read kernel/locking/rwsem.h:178 [inline] down_read+0xa5/0x1e0 kernel/locking/rwsem.c:26 exit_mm kernel/exit.c:512 [inline] do_exit+0x443/0x2fa0 kernel/exit.c:863 do_group_exit+0x135/0x370 kernel/exit.c:980 get_signal+0x41e/0x2240 kernel/signal.c:2637 do_signal+0x87/0x1900 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x58e/0x680 arch/x86/entry/common.c:304 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458da9 Code: Bad RIP value. RSP: 002b:00007f7aade12cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000073bf08 RCX: 0000000000458da9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000073bf08 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000073bf0c R13: 00007fff766382df R14: 00007f7aade139c0 R15: 000000000073bf0c Showing all locks held in the system: 1 lock held by khungtaskd/1041: #0: 0000000057589bd2 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5148 1 lock held by rsyslogd/8480: #0: 00000000603a53ea (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/8570: #0: 0000000071f54ec1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000008d835717 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8571: #0: 00000000b62f8492 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000e56c92ac (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8572: #0: 00000000defca110 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000018a16a26 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8573: #0: 00000000c5887fde (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000a6a58854 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8574: #0: 000000002b6682e7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000a35a82fe (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8575: #0: 00000000386eacea (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d9d71501 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8576: #0: 0000000075912931 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000a9f966cc (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.0/10428: #0: 0000000003523d1f (&mm->mmap_sem#2){++++}, at: exit_mm kernel/exit.c:512 [inline] #0: 0000000003523d1f (&mm->mmap_sem#2){++++}, at: do_exit+0x443/0x2fa0 kernel/exit.c:863 1 lock held by syz-executor.0/10430: #0: 0000000003523d1f (&mm->mmap_sem#2){++++}, at: exit_mm kernel/exit.c:512 [inline] #0: 0000000003523d1f (&mm->mmap_sem#2){++++}, at: do_exit+0x443/0x2fa0 kernel/exit.c:863 2 locks held by syz-executor.0/10431: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1041 Comm: khungtaskd Not tainted 5.1.0+ #19 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+0x172/0x1f0 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:204 [inline] watchdog+0x9b7/0xec0 kernel/hung_task.c:288 kthread+0x354/0x420 kernel/kthread.c:254 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10431 Comm: syz-executor.0 Not tainted 5.1.0+ #19 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:find_held_lock+0x1/0x130 kernel/locking/lockdep.c:3890 Code: 89 75 d0 e8 e1 2e 52 00 48 8b 75 d0 e9 9e fc ff ff 4c 89 f7 48 89 75 d0 e8 cc 2e 52 00 48 8b 75 d0 e9 15 fd ff ff 0f 1f 00 55 <48> 89 e5 41 57 44 8d 7a ff 41 56 49 89 f6 49 63 c7 41 55 48 8d 04 RSP: 0018:ffff8880a53af900 EFLAGS: 00000002 RAX: 0000000000000002 RBX: 1ffff11014a75f28 RCX: ffff8880a53af960 RDX: 0000000000000002 RSI: ffff8880a5e14f90 RDI: ffff8880a58c65c0 RBP: ffff8880a53af9c8 R08: ffff8880a58c65c0 R09: 0000000000000002 R10: ffffed1012c2962d R11: ffff88809614b16b R12: ffff8880a5e14f90 R13: ffffffff8187f267 R14: ffffffff8a659d40 R15: ffff8880a53af9a0 FS: 00007f7aaddf2700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000008fa2b000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mutex_unlock_slowpath+0x8e/0x6b0 kernel/locking/mutex.c:1197 mutex_unlock+0xd/0x10 kernel/locking/mutex.c:713 perf_mmap+0x737/0x17f0 kernel/events/core.c:5685 call_mmap include/linux/fs.h:1877 [inline] mmap_region+0xc35/0x1760 mm/mmap.c:1787 do_mmap+0x8e2/0x1080 mm/mmap.c:1560 do_mmap_pgoff include/linux/mm.h:2391 [inline] vm_mmap_pgoff+0x1c5/0x230 mm/util.c:362 ksys_mmap_pgoff+0x4aa/0x630 mm/mmap.c:1610 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:100 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:91 [inline] __x64_sys_mmap+0xe9/0x1b0 arch/x86/kernel/sys_x86_64.c:91 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458da9 Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7aaddf1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000458da9 RDX: 0000000002000000 RSI: 0000000000001000 RDI: 0000000020fff000 RBP: 000000000073bfa0 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000001011 R11: 0000000000000246 R12: 00007f7aaddf26d4 R13: 00000000004c4e35 R14: 00000000004d8d48 R15: 00000000ffffffff