INFO: task syz-executor.3:25689 blocked for more than 140 seconds. Not tainted 4.19.56 #28 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28216 25689 8086 0x80000000 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x80d/0x1c70 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309 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+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459519 Code: Bad RIP value. RSP: 002b:00007ffeccba4728 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 0000000000459519 RDX: 0000000000413201 RSI: fffffffffffffff7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffff R09: 00007ffeccba4780 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeccba4780 R14: 0000000000000000 R15: 00007ffeccba4790 INFO: task syz-executor.3:25696 blocked for more than 140 seconds. Not tainted 4.19.56 #28 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D29272 25696 8086 0x80000000 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x80d/0x1c70 kernel/sched/core.c:3474 schedule+0x92/0x1c0 kernel/sched/core.c:3518 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309 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+0x3ec/0x1fc0 kernel/signal.c:2574 do_signal+0x95/0x1960 arch/x86/kernel/signal.c:821 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x53d/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459519 Code: Bad RIP value. RSP: 002b:00007fdf795a4cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000075bfd0 RCX: 0000000000459519 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000075bfd0 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075bfd4 R13: 00007ffeccba451f R14: 00007fdf795a59c0 R15: 000000000075bfd4 Showing all locks held in the system: 1 lock held by khungtaskd/1032: #0: 000000005940fcb8 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4435 1 lock held by rsyslogd/7905: #0: 00000000665614ba (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767 2 locks held by getty/8027: #0: 00000000d7b4e8c6 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000df7cd8a2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/8028: #0: 0000000016d79408 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 0000000072ecde79 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/8029: #0: 000000009074964f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000ec383993 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/8030: #0: 0000000003c85a8e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000d4f897ca (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/8031: #0: 000000007ead9e28 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 000000008edd16a3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/8032: #0: 0000000025d54879 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000722262bf (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/8033: #0: 00000000d206a0d4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363 #1: 00000000a41af85f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 1 lock held by syz-executor.3/25689: #0: 00000000bfcd911f (&mm->mmap_sem){++++}, at: exit_mm kernel/exit.c:512 [inline] #0: 00000000bfcd911f (&mm->mmap_sem){++++}, at: do_exit+0x45b/0x2fa0 kernel/exit.c:863 2 locks held by syz-executor.3/25690: 1 lock held by syz-executor.3/25696: #0: 00000000bfcd911f (&mm->mmap_sem){++++}, at: exit_mm kernel/exit.c:512 [inline] #0: 00000000bfcd911f (&mm->mmap_sem){++++}, at: do_exit+0x45b/0x2fa0 kernel/exit.c:863 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1032 Comm: khungtaskd Not tainted 4.19.56 #28 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+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 25690 Comm: syz-executor.3 Not tainted 4.19.56 #28 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0x7a/0x48f0 kernel/locking/lockdep.c:3270 Code: 00 40 0f 52 81 48 89 84 24 98 00 00 00 48 8d 84 24 a0 00 00 00 48 c1 e8 03 48 89 84 24 90 00 00 00 48 01 d0 c7 00 f1 f1 f1 f1 40 04 00 f2 f2 f2 c7 40 08 00 00 00 f2 c7 40 0c f2 f2 f2 f2 c7 RSP: 0018:ffff88808948f6b0 EFLAGS: 00000082 RAX: ffffed1011291eea RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8880a1298350 RBP: ffff88808948f880 R08: 0000000000000001 R09: 0000000000000000 R10: ffff88808948faa0 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880a1298350 FS: 00007fdf795c6700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000092e47000 CR4: 00000000001406f0 Call Trace: lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:3900 __mutex_lock_common kernel/locking/mutex.c:925 [inline] __mutex_lock+0xf7/0x1300 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 perf_mmap+0x735/0x1730 kernel/events/core.c:5655 call_mmap include/linux/fs.h:1825 [inline] mmap_region+0xc2f/0x1760 mm/mmap.c:1763 do_mmap+0x8e2/0x1080 mm/mmap.c:1536 do_mmap_pgoff include/linux/mm.h:2319 [inline] vm_mmap_pgoff+0x1c5/0x230 mm/util.c:357 ksys_mmap_pgoff+0x4aa/0x630 mm/mmap.c:1586 __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/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459519 Code: fd 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fdf795c5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000459519 RDX: 0000000000000000 RSI: 0000000000003000 RDI: 0000000020ffd000 RBP: 000000000075bf20 R08: 0000000000000003 R09: 0000000000000000 R10: 0080000000000011 R11: 0000000000000246 R12: 00007fdf795c66d4 R13: 00000000004c5822 R14: 00000000004d9ed8 R15: 00000000ffffffff