INFO: task syz-executor891:10001 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor891 D28648 10001 8101 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x44/0x80 kernel/locking/rwsem.c:26 __do_page_fault+0x97f/0xd60 arch/x86/mm/fault.c:1348 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205 RIP: 0033:0x7fdf7e15acb0 Code: Bad RIP value. RSP: 002b:00007ffd84b35cc8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000064 RCX: 0000000000000000 RDX: 00007ffd84b35ce0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000032 R08: 00000087c0b11adc R09: 0000000000000001 R10: 00007ffd84b35d40 R11: 0000000000000246 R12: 00007ffd84b35d40 R13: 00007fdf7e1a141c R14: 00007ffd84b35d60 R15: 00007fdf7e0d64a0 INFO: task syz-executor891:10003 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor891 D28832 10003 8101 0x80000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x44/0x80 kernel/locking/rwsem.c:26 exit_mm kernel/exit.c:512 [inline] do_exit+0x6e4/0x2be0 kernel/exit.c:857 do_group_exit+0x125/0x310 kernel/exit.c:967 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 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+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fdf7e119b09 Code: Bad RIP value. RSP: 002b:00007fdf7e0aa318 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fdf7e1a1418 RCX: 00007fdf7e119b09 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fdf7e1a1418 RBP: 00007fdf7e1a1410 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdf7e16f074 R13: 00007ffd84b35c8f R14: 00007fdf7e0aa400 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 00000000b18d3552 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7805: #0: 00000000f5de7c27 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 1 lock held by syz-executor891/10001: #0: 000000008fc2a7e0 (&mm->mmap_sem){++++}, at: __do_page_fault+0x97f/0xd60 arch/x86/mm/fault.c:1348 2 locks held by syz-executor891/10002: 1 lock held by syz-executor891/10003: #0: 000000008fc2a7e0 (&mm->mmap_sem){++++}, at: exit_mm kernel/exit.c:512 [inline] #0: 000000008fc2a7e0 (&mm->mmap_sem){++++}, at: do_exit+0x6e4/0x2be0 kernel/exit.c:857 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 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+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 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: 10002 Comm: syz-executor891 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:debug_lockdep_rcu_enabled kernel/rcu/update.c:254 [inline] RIP: 0010:debug_lockdep_rcu_enabled+0x8a/0xe0 kernel/rcu/update.c:251 Code: d2 75 64 8b 0d 07 53 f5 08 85 c9 74 45 65 48 8b 1c 25 c0 df 01 00 48 8d bb 84 08 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa <48> c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 RSP: 0018:ffff8880aba6f950 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: ffff8880abaae100 RCX: 0000000000000001 RDX: ffff8880abaae984 RSI: 0000000000000002 RDI: ffff8880abaae984 RBP: ffff8880ae19cd90 R08: 0000000000000001 R09: 0000000000000000 R10: ffff8880ae19cd37 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 00007fdf7e0cb700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555baf2b8 CR3: 000000009905d000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x2e7/0x3c0 kernel/locking/lockdep.c:3907 __mutex_lock_common kernel/locking/mutex.c:937 [inline] __mutex_lock+0xd7/0x1190 kernel/locking/mutex.c:1078 perf_mmap+0x693/0x1810 kernel/events/core.c:5713 call_mmap include/linux/fs.h:1826 [inline] mmap_region+0xc94/0x16b0 mm/mmap.c:1757 do_mmap+0x8e8/0x1080 mm/mmap.c:1530 do_mmap_pgoff include/linux/mm.h:2329 [inline] vm_mmap_pgoff+0x197/0x200 mm/util.c:357 ksys_mmap_pgoff+0x298/0x5a0 mm/mmap.c:1580 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fdf7e119b09 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdf7e0cb308 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fdf7e1a1408 RCX: 00007fdf7e119b09 RDX: 0000000000000000 RSI: 0000000000003000 RDI: 0000000020ffc000 RBP: 00007fdf7e1a1400 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000011 R11: 0000000000000246 R12: 00007fdf7e16f074 R13: 00007ffd84b35c8f R14: 00007fdf7e0cb400 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: d2 75 64 shlb %cl,0x64(%rbp) 3: 8b 0d 07 53 f5 08 mov 0x8f55307(%rip),%ecx # 0x8f55310 9: 85 c9 test %ecx,%ecx b: 74 45 je 0x52 d: 65 48 8b 1c 25 c0 df mov %gs:0x1dfc0,%rbx 14: 01 00 16: 48 8d bb 84 08 00 00 lea 0x884(%rbx),%rdi 1d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 24: fc ff df 27: 48 89 fa mov %rdi,%rdx * 2a: 48 c1 ea 03 shr $0x3,%rdx <-- trapping instruction 2e: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx 32: 48 89 f8 mov %rdi,%rax 35: 83 e0 07 and $0x7,%eax 38: 83 c0 03 add $0x3,%eax 3b: 38 d0 cmp %dl,%al 3d: 7c 04 jl 0x43 3f: 84 .byte 0x84