Kernel panic at efi_call() function during boot with AMD CPU.
Issue
- The kernel panic during cold boot with below call traces.
 - It only occurs after more than 100 cold resets.
 
[    0.090408] BUG: unable to handle page fault for address: 0000000000001000
[    0.090558] #PF: supervisor read access in kernel mode
[    0.090558] #PF: error_code(0x0000) - not-present page.  <<<--
[    0.090558] PGD 1001f5063 P4D 100307063 PUD 100332063 PMD 1050073063 PTE 0
[    0.090558] Oops: 0000 [#1] PREEMPT SMP NOPTI
[    0.090558] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.14.0-70.13.1.el9_0.x86_64 #1
[    0.090558] Hardware name: XFUSION 2258 V7/BC15MASA, BIOS 1.06.02 05/19/2023
[    0.090558] RIP: 0010:0xfffffffde5589160
[    0.090558] Code: a2 4d 85 c9 74 03 41 89 09 59 e3 02 89 01 4c 89 c1 e3 02 89 19 48 8b 4c 24 38 e3 02 89 11 58 5b c3 cc cc cc cc cc cc cc cc cc <0f> ae 39 48 89 c8 c3 cc cc cc cc cc cc cc cc cc 0f 08 c3 cc 48 89
[    0.090558] RSP: 0000:ffffffffb2003d58 EFLAGS: 00010283
[    0.090558] RAX: 0000000000000fc0 RBX: 0000000000000000 RCX: 0000000000001000
[    0.090558] RDX: 00000000178bfbff RSI: 0000000000000040 RDI: 000000000006ffc0
[    0.090558] RBP: ffffffffb2003e20 R08: ffffffffb2003db0 R09: 0000000000000000
[    0.090558] R10: 0000000000000000 R11: ffffffffb2003d80 R12: fffffffde64ece20
[    0.090558] R13: 0000000000000000 R14: ffffffffb160b680 R15: ffffffffb2003ed0
[    0.090558] FS:  0000000000000000(0000) GS:ff464cea8d000000(0000) knlGS:0000000000000000
[    0.090558] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.090558] CR2: 0000000000001000 CR3: 0000001050050002 CR4: 00000000000616b0
[    0.090558] Call Trace:
[    0.090558]  ? efi_update_mappings+0x66/0x91
[    0.090558]  ? __efi_call+0x25/0x30
[    0.090558]  ? virt_efi_set_variable_nonblocking.part.0+0x7c/0xe0
[    0.090558]  ? efi_delete_dummy_variable+0x5c/0x80
[    0.090558]  ? __efi_enter_virtual_mode+0x1c1/0x1e4
[    0.090558]  ? efi_enter_virtual_mode+0x110/0x117
[    0.090558]  ? start_kernel+0x41b/0x4ac
[    0.090558]  ? secondary_startup_64_no_verify+0xc2/0xcb
[    0.090558] Modules linked in:
[    0.090558] CR2: 0000000000001000
..
[    0.090558] Kernel panic - not syncing: Fatal exception
[    0.090558] ---[ end Kernel panic - not syncing:
  Environment
- Red Hat Enterprise Linux 8
 - Red Hat Enterprise Linux 9
 - AMD CPU
 - XFUSION 2258 V7, Version(
Genoa) 
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.