INFO: task syz-executor129:9804 blocked for more than 143 seconds. Not tainted 5.2.0-rc3+ #16 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor129 D24064 9804 9803 0x00000000 Call Trace: context_switch kernel/sched/core.c:2818 [inline] __schedule+0x7cb/0x1560 kernel/sched/core.c:3445 schedule+0xa8/0x260 kernel/sched/core.c:3509 __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 do_user_addr_fault arch/x86/mm/fault.c:1408 [inline] __do_page_fault+0x9e9/0xda0 arch/x86/mm/fault.c:1523 do_page_fault+0x71/0x57d arch/x86/mm/fault.c:1554 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1156 RIP: 0033:0x4aeb60 Code: Bad RIP value. RSP: 002b:00007ffc9783bac8 EFLAGS: 00010206 RAX: 00000000004aeb60 RBX: 0000000000000001 RCX: 00000000006e47b0 RDX: 0000000000409e30 RSI: 0000000000000001 RDI: 00000000004d03f0 RBP: 00007ffc9783bad0 R08: 00007ffc9783bfc9 R09: 00007ffc9783bfc9 R10: 00007ffc9783bb50 R11: 0000000000000000 R12: 0000000000000001 R13: 00000000006e47a0 R14: 000000000000002d R15: 0000000000000007 Showing all locks held in the system: 1 lock held by khungtaskd/1043: #0: 00000000d16f79fa (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5149 1 lock held by rsyslogd/9654: #0: 000000003bea6959 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/9775: #0: 000000008a87c338 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000ce6c0e96 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9776: #0: 0000000020c2c156 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000056419b08 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9777: #0: 000000004f534afe (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000f0b1021a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9778: #0: 0000000019b5048d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000199c7d4c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9779: #0: 000000002b1a05c2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000b0d9c475 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9780: #0: 000000003b2dbc1a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000a0a9f8bb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/9781: #0: 00000000af78495b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000a4053ebd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 1 lock held by syz-executor129/9804: #0: 000000006610202f (&mm->mmap_sem#2){++++}, at: do_user_addr_fault arch/x86/mm/fault.c:1408 [inline] #0: 000000006610202f (&mm->mmap_sem#2){++++}, at: __do_page_fault+0x9e9/0xda0 arch/x86/mm/fault.c:1523 1 lock held by syz-executor129/9814: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1043 Comm: khungtaskd Not tainted 5.2.0-rc3+ #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+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:205 [inline] watchdog+0x9b7/0xec0 kernel/hung_task.c:289 kthread+0x354/0x420 kernel/kthread.c:255 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: 9814 Comm: syz-executor129 Not tainted 5.2.0-rc3+ #16 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_release kernel/locking/lockdep.c:4048 [inline] RIP: 0010:lock_release+0x1dd/0xa00 kernel/locking/lockdep.c:4322 Code: d0 7c 08 84 d2 0f 85 33 06 00 00 8b 3d 00 5c 29 08 85 ff 0f 84 78 02 00 00 49 8d 80 78 08 00 00 48 89 c2 48 89 85 58 ff ff ff <48> b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 04 02 84 c0 74 08 RSP: 0018:ffff888088b47910 EFLAGS: 00000002 RAX: ffff88809f80af78 RBX: 1ffff11011168f28 RCX: 1ffffffff13017ce RDX: ffff88809f80af78 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffff888088b479c8 R08: ffff88809f80a700 R09: ffffed1012110b66 R10: ffffed1012110b65 R11: ffff888090885b2b R12: ffff88809345b8d0 R13: ffffffff8187faa7 R14: ffff88809f80a700 R15: ffff888088b479a0 FS: 00007f110c4a7700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000094fa3000 CR4: 00000000001406e0 Call Trace: __mutex_unlock_slowpath+0x8e/0x6b0 kernel/locking/mutex.c:1198 mutex_unlock+0xd/0x10 kernel/locking/mutex.c:714 perf_mmap+0x737/0x17f0 kernel/events/core.c:5685 call_mmap include/linux/fs.h:1877 [inline] mmap_region+0xc35/0x1760 mm/mmap.c:1788 do_mmap+0x8e2/0x1080 mm/mmap.c:1561 do_mmap_pgoff include/linux/mm.h:2402 [inline] vm_mmap_pgoff+0x1c5/0x230 mm/util.c:363 ksys_mmap_pgoff+0x4aa/0x630 mm/mmap.c:1611 __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:0x448c99 Code: e8 7c 1a 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0c fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f110c4a6cd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00000000006dfc48 RCX: 0000000000448c99 RDX: 0000000000000000 RSI: 0000000000001000 RDI: 0000000020fff000 RBP: 00000000006dfc40 R08: 0000000000000003 R09: 0000000000000000 R10: 0002000000001011 R11: 0000000000000246 R12: 00000000006dfc4c R13: 00007ffc9783baaf R14: 00007f110c4a79c0 R15: 0000000000000000