INFO: task syz-executor787:8891 blocked for more than 143 seconds. Not tainted 5.2.0-rc3+ #23 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor787 D28128 8891 8879 0x00000004 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:0x4ab7ed Code: Bad RIP value. RSP: 002b:00007ffd81a62d90 EFLAGS: 00010202 RAX: 00000000004ab910 RBX: 0000000000000001 RCX: 00000000006e0330 RDX: 0000000000407670 RSI: 0000000000000000 RDI: 00000000004ccc10 RBP: 00007ffd81a62db0 R08: 000000037ffffa00 R09: 000000037ffffa00 R10: 00007ffd81a62e20 R11: 0000000000000000 R12: 0000000000000001 R13: 00000000006e0320 R14: 000000000000002d R15: 20c49ba5e353f7cf INFO: task syz-executor787:8893 blocked for more than 143 seconds. Not tainted 5.2.0-rc3+ #23 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor787 D29072 8893 8879 0x80004004 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 exit_mm kernel/exit.c:513 [inline] do_exit+0x443/0x2fa0 kernel/exit.c:864 do_group_exit+0x135/0x370 kernel/exit.c:981 get_signal+0x471/0x24b0 kernel/signal.c:2640 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:0x446949 Code: 20 65 72 72 6f 72 3a 20 69 6e 76 61 6c 69 64 20 64 65 62 75 67 20 6f 70 74 69 6f 6e 20 27 25 73 27 2c 20 76 61 6c 75 65 20 27 <25> 73 27 20 2d 20 69 67 6e 6f 72 65 64 0a 00 61 6c 74 65 72 6e 61 RSP: 002b:00007f32a9941db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00000000006dbc38 RCX: 0000000000446949 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc38 RBP: 00000000006dbc30 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc3c R13: 00007ffd81a62d8f R14: 00007f32a99429c0 R15: 20c49ba5e353f7cf Showing all locks held in the system: 1 lock held by khungtaskd/1044: #0: 0000000093194ae5 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5149 3 locks held by rs:main Q:Reg/8762: 1 lock held by rsyslogd/8764: #0: 00000000b4492e19 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/8854: #0: 000000006af6ee09 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000000eaaff12 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8855: #0: 00000000f46613b3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000092ae824a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8856: #0: 00000000b5678198 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000754b6a83 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8857: #0: 00000000446fe5a1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000087ca29de (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8858: #0: 00000000689f7783 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d4bd93de (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8859: #0: 0000000033c8b418 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d30d1559 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 2 locks held by getty/8860: #0: 00000000fa61eaaf (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000072e2abe (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156 1 lock held by syz-executor787/8891: #0: 00000000a0227943 (&mm->mmap_sem#2){++++}, at: do_user_addr_fault arch/x86/mm/fault.c:1408 [inline] #0: 00000000a0227943 (&mm->mmap_sem#2){++++}, at: __do_page_fault+0x9e9/0xda0 arch/x86/mm/fault.c:1523 1 lock held by syz-executor787/8892: 1 lock held by syz-executor787/8893: #0: 00000000a0227943 (&mm->mmap_sem#2){++++}, at: exit_mm kernel/exit.c:513 [inline] #0: 00000000a0227943 (&mm->mmap_sem#2){++++}, at: do_exit+0x443/0x2fa0 kernel/exit.c:864 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1044 Comm: khungtaskd Not tainted 5.2.0-rc3+ #23 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: 8892 Comm: syz-executor787 Not tainted 5.2.0-rc3+ #23 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mark_lock+0xab/0x1370 kernel/locking/lockdep.c:3487 Code: 00 00 00 48 81 eb b0 00 00 00 48 81 c3 80 da 2e 8a 48 8d 7b 50 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 92 0e 00 00 4c 85 6b 50 0f 84 c1 00 00 00 41 bd 01 00 00 00 RSP: 0018:ffff8880a9a1f678 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff8a327680 RCX: 1ffff11014a511b9 RDX: 1ffffffff1464eda RSI: ffff8880a5288da8 RDI: ffffffff8a3276d0 RBP: ffff8880a9a1f6c0 R08: 0000000000000541 R09: ffff8880a5288dc8 R10: ffff8880a5288da8 R11: ffff8880a5288500 R12: ffff8880a5288da8 R13: 0000000000000100 R14: 0000000000000008 R15: ffff8880a5288500 FS: 00007f32a9963700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000099efb000 CR4: 00000000001406e0 Call Trace: __lock_acquire+0x54f/0x5490 kernel/locking/lockdep.c:3749 lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:4303 __mutex_lock_common kernel/locking/mutex.c:926 [inline] __mutex_lock+0xf7/0x1310 kernel/locking/mutex.c:1073 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1088 perf_mmap+0x746/0x17f0 kernel/events/core.c:5672 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:0x446949 Code: e8 5c b3 02 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 0b 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f32a9962da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 0000000000446949 RDX: 0000000000000000 RSI: 0000000000001000 RDI: 0000000020fff000 RBP: 00000000006dbc20 R08: 0000000000000003 R09: 0000000000000000 R10: 0002000000001011 R11: 0000000000000246 R12: 00000000006dbc2c R13: 00007ffd81a62d8f R14: 00007f32a99639c0 R15: 20c49ba5e353f7cf