RHEL8: kernel panic at alloc_intr_gate()

Solution Verified - Updated -

Issue

  • kernel panic with log:
[17239.282847] Freezing user space processes ... (elapsed 0.008 seconds) done.
[17239.291178] OOM killer disabled.
[17239.291180] Freezing remaining freezable tasks ... (elapsed 0.004 seconds) done.
[17239.301084] suspending xenstore...
[17239.309511] xen:events: Xen HVM callback vector for event delivery is enabled
[17239.309511] kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
[17239.309511] BUG: unable to handle kernel paging request at ffffffff8e9dd8a3
[17239.309511] PGD 336e13067 P4D 336e13067 PUD 336e14063 PMD 3387ff063 PTE 80000003377dd163
[17239.309511] Oops: 0011 [#1] SMP NOPTI
[17239.309511] CPU: 0 PID: 15 Comm: migration/0 Kdump: loaded Not tainted 4.18.0-477.15.1.el8_8.x86_64 #1
[17239.309511] Hardware name: Xen HVM domU, BIOS 4.4.4OVM 06/20/2021
[17239.309511] RIP: 0010:alloc_intr_gate+0x0/0x3d
[17239.309511] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 cc cc cc <cc> cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc
[17239.309511] RSP: 0018:ffffbbadc191fe08 EFLAGS: 00010046
[17239.309511] RAX: 0000000000000041 RBX: 0000000000000000 RCX: 0000000000000000
[17239.309511] RDX: 0000000000000000 RSI: ffffffff8d200fb0 RDI: 00000000000000f3
[17239.309511] RBP: ffffbbadc1ac3e64 R08: 0000000000000000 R09: c0000000ffff7fff
[17239.309511] R10: 0000000000000001 R11: ffffbbadc191fc30 R12: 0000000000000000
[17239.309511] R13: ffffffff8d6139e0 R14: 0000000000000000 R15: 0000000000000003
[17239.309511] FS:  0000000000000000(0000) GS:ffff9a397fa00000(0000) knlGS:0000000000000000
[17239.309511] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[17239.309511] CR2: ffffffff8e9dd8a3 CR3: 0000000336e10002 CR4: 00000000001706f0
[17239.309511] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[17239.309511] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[17239.309511] Call Trace:
[17239.309511]  xen_callback_vector.cold.25+0x1d/0x3d
[17239.309511]  xen_hvm_post_suspend+0x22/0x30
[17239.309511]  xen_arch_post_suspend+0x13/0x20
[17239.309511]  xen_suspend+0x86/0x110
[17239.309511]  multi_cpu_stop+0x7c/0x110
[17239.309511]  ? stop_machine_yield+0x10/0x10
[17239.309511]  cpu_stopper_thread+0x48/0x100
[17239.309511]  ? sort_range+0x20/0x20
[17239.309511]  smpboot_thread_fn+0xb5/0x150
[17239.309511]  kthread+0x134/0x150
[17239.309511]  ? set_kthread_struct+0x50/0x50
[17239.309511]  ret_from_fork+0x1f/0x40
[17239.309511] Modules linked in: udp_diag nf_tables nfnetlink binfmt_misc tcp_diag inet_diag rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc fscache joydev intel_rapl_msr intel_rapl_common isst_if_common ppdev nfit libnvdimm crct10dif_pclmul crc32_pclmul i2c_piix4 ghash_clmulni_intel parport_pc parport rapl pcspkr xfs libcrc32c ata_generic cirrus drm_shmem_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm ata_piix xen_blkfront xen_netfront libata crc32c_intel serio_raw dm_mirror dm_region_hash dm_log dm_mod
[17239.309511] CR2: ffffffff8e9dd8a3

Environment

  • Red Hat Enterprise Linux 8.8
  • Xen Hypervisor

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content