INFO: task syz-executor.0:19020 blocked for more than 140 seconds. Not tainted 4.19.36 #4 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28216 19020 8060 0x80000000 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x813/0x1d00 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:276 [inline] rwsem_down_read_failed+0x219/0x3c0 kernel/locking/rwsem-xadd.c:293 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+0x49/0xb0 kernel/locking/rwsem.c:26 exit_mm kernel/exit.c:512 [inline] do_exit+0x45b/0x2fa0 kernel/exit.c:863 do_group_exit+0x135/0x370 kernel/exit.c:979 __do_sys_exit_group kernel/exit.c:990 [inline] __se_sys_exit_group kernel/exit.c:988 [inline] __x64_sys_exit_group+0x44/0x50 kernel/exit.c:988 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458da9 Code: Bad RIP value. RSP: 002b:00007ffdaf955cc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 0000000000458da9 RDX: 0000000000412b61 RSI: fffffffffffffff7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffff R09: 00007ffdaf955d20 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffdaf955d20 R14: 0000000000000000 R15: 00007ffdaf955d30 INFO: task syz-executor.0:19021 blocked for more than 140 seconds. Not tainted 4.19.36 #4 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28104 19021 8060 0x80000000 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x813/0x1d00 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:276 [inline] rwsem_down_read_failed+0x219/0x3c0 kernel/locking/rwsem-xadd.c:293 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+0x49/0xb0 kernel/locking/rwsem.c:26 exit_mm kernel/exit.c:512 [inline] do_exit+0x45b/0x2fa0 kernel/exit.c:863 do_group_exit+0x135/0x370 kernel/exit.c:979 get_signal+0x399/0x1d50 kernel/signal.c:2572 do_signal+0x95/0x1950 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458da9 Code: Bad RIP value. RSP: 002b:00007f2a65226cf8 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: 00007ffdaf955abf R14: 00007f2a652279c0 R15: 000000000073bf0c Showing all locks held in the system: 1 lock held by khungtaskd/1031: #0: 0000000049451bfe (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4438 1 lock held by rsyslogd/7893: #0: 0000000051ff31f1 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767 2 locks held by getty/8015: #0: 0000000015937adc (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 000000003536a23a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/8016: #0: 000000002675aa00 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000a9611bf5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/8017: #0: 000000000994faa5 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 0000000020e7650f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/8018: #0: 00000000b81da2f0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 000000006ca6ce54 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/8019: #0: 000000001bbd7dcf (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 000000004c4e3978 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/8020: #0: 000000004bb2e48a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000565b0f38 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/8021: #0: 00000000e1e42c46 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000c00a5482 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 1 lock held by syz-executor.0/19020: #0: 000000009fc8b3fb (&mm->mmap_sem){++++}, at: exit_mm kernel/exit.c:512 [inline] #0: 000000009fc8b3fb (&mm->mmap_sem){++++}, at: do_exit+0x45b/0x2fa0 kernel/exit.c:863 1 lock held by syz-executor.0/19021: #0: 000000009fc8b3fb (&mm->mmap_sem){++++}, at: exit_mm kernel/exit.c:512 [inline] #0: 000000009fc8b3fb (&mm->mmap_sem){++++}, at: do_exit+0x45b/0x2fa0 kernel/exit.c:863 1 lock held by syz-executor.0/19022: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1031 Comm: khungtaskd Not tainted 4.19.36 #4 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+0x1b0/0x1f8 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+0x9df/0xee0 kernel/hung_task.c:287 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 19022 Comm: syz-executor.0 Not tainted 4.19.36 #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:251 [inline] RIP: 0010:check_memory_region+0x22/0x190 mm/kasan/kasan.c:267 Code: 0f 1f 84 00 00 00 00 00 48 85 f6 0f 84 21 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 55 0f b6 d2 48 39 c7 48 89 e5 41 55 41 54 53 <0f> 86 f6 00 00 00 4c 8d 5c 37 ff 49 89 f8 48 b8 00 00 00 00 00 fc RSP: 0018:ffff8880a93d78d8 EFLAGS: 00000216 RAX: ffff7fffffffffff RBX: 0000000000000000 RCX: ffffffff86edec97 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8880a02819b0 RBP: ffff8880a93d78f0 R08: 1ffff11014050336 R09: ffffed1014050337 R10: ffffed1014050336 R11: ffff8880a02819b7 R12: fffffbfff146bec4 R13: ffff8880a02819b0 R14: ffff888085e3a540 R15: 0000000000000000 FS: 00007f2a65206700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000085beb000 CR4: 00000000001406e0 Call Trace: kasan_check_write+0x14/0x20 mm/kasan/kasan.c:278 atomic64_cmpxchg include/asm-generic/atomic-instrumented.h:63 [inline] __mutex_trylock_or_owner kernel/locking/mutex.c:110 [inline] __mutex_trylock kernel/locking/mutex.c:125 [inline] __mutex_lock_common kernel/locking/mutex.c:927 [inline] __mutex_lock+0x397/0x1300 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 perf_mmap+0x738/0x1730 kernel/events/core.c:5654 call_mmap include/linux/fs.h:1816 [inline] mmap_region+0xc34/0x1760 mm/mmap.c:1762 do_mmap+0x8e2/0x1080 mm/mmap.c:1535 do_mmap_pgoff include/linux/mm.h:2306 [inline] vm_mmap_pgoff+0x1c5/0x230 mm/util.c:357 ksys_mmap_pgoff+0x4aa/0x630 mm/mmap.c:1585 __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+0x103/0x610 arch/x86/entry/common.c:290 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:00007f2a65205c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000458da9 RDX: 0000000000000000 RSI: 0000000000003000 RDI: 0000000020ffd000 RBP: 000000000073bfa0 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000001011 R11: 0000000000000246 R12: 00007f2a652066d4 R13: 00000000004c4d43 R14: 00000000004d8978 R15: 00000000ffffffff