BUG: unable to handle page fault for address: ffffc9000329a330
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 11800067
P4D 11800067
PUD 119c9067 PMD 1bfcc067
PTE 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4212 Comm: syz-executor421 Not tainted 5.19.0-syzkaller-13930-g7ebfc85e2cd7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline]
RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:28 [inline]
RIP: 0010:kvm_arch_hardware_enable+0x2ab/0x840 arch/x86/kvm/x86.c:11847
Code: 48 89 e8 48 b9 00 00 00 00 00 fc ff df 48 c1 e8 03 0f b6 14 08 48 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 ed 04 00 00 <41> 8b 95 30 13 00 00 4d 8d b5 40 12 00 00 b9 08 00 00 00 4c 89 fe
RSP: 0000:ffffc900001e0ea0 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81120fe0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc9000329a330
RBP: ffffc9000329a330 R08: 0000000000000000 R09: 0000000000000003
R10: fffff52000653466 R11: 0000000000000001 R12: 0000000000000000
R13: ffffc90003299000 R14: 0023001000000000 R15: ffffc900001e0ef8
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0063) knlGS:0000000057544380
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffffc9000329a330 CR3: 0000000026253000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
hardware_enable_nolock+0xa7/0x140 arch/x86/kvm/../../../virt/kvm/kvm_main.c:5007
__flush_smp_call_function_queue+0x205/0x9a0 kernel/smp.c:631
__sysvec_call_function_single+0x95/0x3d0 arch/x86/kernel/smp.c:248
sysvec_call_function_single+0x8e/0xc0 arch/x86/kernel/smp.c:243
asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:657
RIP: 0010:lock_acquire+0x1ef/0x570 kernel/locking/lockdep.c:5634
Code: fc a2 7e 83 f8 01 0f 85 e8 02 00 00 9c 58 f6 c4 02 0f 85 fb 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0000:ffffc90003697a98 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff920006d2f55 RCX: ffffffff815f273e
RDX: 1ffff1100f59d8ae RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff908db957
R10: fffffbfff211b72a R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88801d753c78 R15: 0000000000000000
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:349 [inline]
wp_page_copy+0x639/0x1b60 mm/memory.c:3147
do_wp_page+0x1d1/0x1910 mm/memory.c:3404
handle_pte_fault mm/memory.c:4929 [inline]
__handle_mm_fault+0x1813/0x39b0 mm/memory.c:5053
handle_mm_fault+0x1c8/0x780 mm/memory.c:5151
do_user_addr_fault+0x475/0x1210 arch/x86/mm/fault.c:1397
handle_page_fault arch/x86/mm/fault.c:1488 [inline]
exc_page_fault+0x94/0x170 arch/x86/mm/fault.c:1544
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0023:0xf7d7b452
Code: 24 24 6a 00 68 80 00 00 00 8b 7c 24 38 57 68 f0 00 00 00 e8 f0 b2 03 00 8b 07 83 c4 20 85 c0 0f 84 2b ff ff ff e9 0b fe ff ff 07 01 00 00 00 c7 47 08 00 00 00 00 c7 47 0c 00 00 00 00 c7 47
RSP: 002b:00000000f7f64cf0 EFLAGS: 00010246
RAX: 00000000f7e5502c RBX: 00000000f7e3b000 RCX: 00000000f7dfe125
RDX: 0000000000000012 RSI: 00000000f7f64da4 RDI: 00000000f7e55020
RBP: 00000000f7f64d38 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
CR2: ffffc9000329a330
---[ end trace 0000000000000000 ]---
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline]
RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:28 [inline]
RIP: 0010:kvm_arch_hardware_enable+0x2ab/0x840 arch/x86/kvm/x86.c:11847
Code: 48 89 e8 48 b9 00 00 00 00 00 fc ff df 48 c1 e8 03 0f b6 14 08 48 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 ed 04 00 00 <41> 8b 95 30 13 00 00 4d 8d b5 40 12 00 00 b9 08 00 00 00 4c 89 fe
RSP: 0000:ffffc900001e0ea0 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81120fe0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc9000329a330
RBP: ffffc9000329a330 R08: 0000000000000000 R09: 0000000000000003
R10: fffff52000653466 R11: 0000000000000001 R12: 0000000000000000
R13: ffffc90003299000 R14: 0023001000000000 R15: ffffc900001e0ef8
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0063) knlGS:0000000057544380
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffffc9000329a330 CR3: 0000000026253000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 48 89 e8 mov %rbp,%rax
3: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
a: fc ff df
d: 48 c1 e8 03 shr $0x3,%rax
11: 0f b6 14 08 movzbl (%rax,%rcx,1),%edx
15: 48 89 e8 mov %rbp,%rax
18: 83 e0 07 and $0x7,%eax
1b: 83 c0 03 add $0x3,%eax
1e: 38 d0 cmp %dl,%al
20: 7c 08 jl 0x2a
22: 84 d2 test %dl,%dl
24: 0f 85 ed 04 00 00 jne 0x517
* 2a: 41 8b 95 30 13 00 00 mov 0x1330(%r13),%edx <-- trapping instruction
31: 4d 8d b5 40 12 00 00 lea 0x1240(%r13),%r14
38: b9 08 00 00 00 mov $0x8,%ecx
3d: 4c 89 fe mov %r15,%rsi