The kernel crashes with a message "Kernel panic - not syncing: Fatal exception in interrupt" just after hv_pci_onchannelcallback()

Solution Verified - Updated -

Issue

  • The kernel crashes with a message "Kernel panic - not syncing: Fatal exception in interrupt" just after hv_pci_onchannelcallback()
[3766597.118843] hv_pci b5395c28-5416-496b-9798-448d2c0b5174: hv_set_affinity() failed: 0x5
[3766597.119505] BUG: unable to handle kernel paging request at ffff905bd3137578
[3766597.119505] IP: [<ffff905bd3137578>] 0xffff905bd3137578
[3766597.119505] PGD 37e54a5067 PUD 3fc291f063 PMD 3fa02b3063 PTE 8000003c93137063
[3766597.119505] Oops: 0011 [#1] SMP 
[3766597.119505] Modules linked in: falcon_lsm_serviceable(PE) falcon_nf_netcontain(PE) falcon_kal(E) tcp_diag inet_diag ip6_tables xt_owner iptable_security nfsv3 nfs_acl nfs lockd grace fscache ipt_MASQUERADE 
nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype drbg iptable_filter ansi_cprng esp4 xfrm4_mode_transport xt_conntrack nf_nat nf_conntrack br_netfilter bridge stp llc o
verlay(T) falcon_lsm_pinned_15705(E) ib_isert iscsi_target_mod ib_srpt target_core_mod ib_srp scsi_transport_srp dm_mirror dm_region_hash dm_log rpcrdma sunrpc rdma_ucm ib_iser ib_umad rdma_cm ib_ipoib iw_cm ib_
cm libiscsi scsi_transport_iscsi mlx5_ib vfat fat ib_uverbs ib_core dm_mod mlx5_core mlxfw devlink joydev iosf_mbi kvm_intel kvm irqbypass crc32_pclmul ghash_clmulni_intel sg hv_utils
[3766597.119505]  pci_hyperv ptp aesni_intel hv_balloon pps_core lrw gf128mul glue_helper ablk_helper pcspkr cryptd binfmt_misc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic hv_storvsc scsi_transport_fc serio_raw hv_netvsc hyperv_fb scsi_tgt hid_hyperv hyperv_keyboard crct10dif_pclmul crct10dif_common hv_vmbus crc32c_intel [last unloaded: falcon_kal]
[3766597.119505] CPU: 0 PID: 0 Comm: swapper/0 Kdump: loaded Tainted: P            E  ------------ T 3.10.0-1160.102.1.el7.x86_64 #1
[3766597.119505] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS Hyper-V UEFI Release v4.1 05/09/2022
[3766597.119505] task: ffffffff8f218480 ti: ffffffff8f200000 task.ti: ffffffff8f200000
[3766597.119505] RIP: 0010:[<ffff905bd3137578>]  [<ffff905bd3137578>] 0xffff905bd3137578
[3766597.119505] RSP: 0018:ffff905f1ee03e80  EFLAGS: 00010246
[3766597.119505] RAX: ffff905bd3137578 RBX: ffff905f1d0cf900 RCX: 0000000000000268
[3766597.119505] RDX: 0000000000000060 RSI: ffff905f1d0cf900 RDI: ffffffff8e9a3707
[3766597.119505] RBP: ffff905f1ee03ec0 R08: 0000000000000060 R09: 0000000000000001
[3766597.119505] R10: 0000000000000000 R11: 7fffffffffffffff R12: ffff905ee4e29000
[3766597.119505] R13: 0000000000000100 R14: ffffffff8f200000 R15: 0000000000000001
[3766597.119505] FS:  0000000000000000(0000) GS:ffff905f1ee00000(0000) knlGS:0000000000000000
[3766597.119505] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[3766597.119505] CR2: ffff905bd3137578 CR3: 0000003f49324000 CR4: 00000000003606f0
[3766597.119505] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[3766597.119505] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[3766597.119505] Call Trace:
[3766597.119505]  <IRQ> 
[3766597.119505]  [<ffffffffc0a2a798>] ? hv_pci_onchannelcallback+0xb8/0x410 [pci_hyperv]
[3766597.119505]  [<ffffffffc01a044b>] vmbus_on_event+0x3b/0x110 [hv_vmbus]
[3766597.119505]  [<ffffffff8e6a93e3>] tasklet_action+0x83/0x140
[3766597.119505]  [<ffffffff8e6a9595>] __do_softirq+0xf5/0x290
[3766597.119505]  [<ffffffff8edc8aac>] call_softirq+0x1c/0x30
[3766597.119505]  [<ffffffff8e630825>] do_softirq+0x65/0xa0
[3766597.119505]  [<ffffffff8e6a9945>] irq_exit+0x115/0x120
[3766597.119505]  [<ffffffff8e65a644>] hyperv_vector_handler+0x64/0x80
[3766597.119505]  [<ffffffff8edc8ec2>] hyperv_callback_vector+0x172/0x180
[3766597.119505]  <EOI> 
[3766597.119505]  [<ffffffff8edb9bc0>] ? __sched_text_end+0x4/0x4
[3766597.119505]  [<ffffffff8edb9e1b>] ? native_safe_halt+0xb/0x30
[3766597.119505]  [<ffffffff8edb9bde>] default_idle+0x1e/0xd0
[3766597.119505]  [<ffffffff8e639570>] arch_cpu_idle+0x20/0xc0
[3766597.119505]  [<ffffffff8e70827a>] cpu_startup_entry+0x14a/0x1e0
[3766597.119505]  [<ffffffff8eda03f7>] rest_init+0x77/0x80
[3766597.119505]  [<ffffffff8f38c22b>] start_kernel+0x44b/0x470
[3766597.119505]  [<ffffffff8f38bbc8>] ? repair_env_string+0x64/0x64
[3766597.119505]  [<ffffffff8f38b120>] ? early_idt_handler_array+0x120/0x120
[3766597.119505]  [<ffffffff8f38b748>] x86_64_start_reservations+0x24/0x2a
[3766597.119505]  [<ffffffff8f38b8a2>] x86_64_start_kernel+0x154/0x17b
[3766597.119505]  [<ffffffff8e6000d5>] start_cpu+0x5/0x14
[3766597.119505] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b4 05 6c 8e ff ff ff ff 8f 04 a8 f9 00 00 00 00 25 10 6c 8e ff ff ff ff <c8> d0 2c 2a 59 90 ff ff 60 ea 00 00 00 00 00 00 c0 d0 2c 2a 59 
[3766597.119505] RIP  [<ffff905bd3137578>] 0xffff905bd3137578
[3766597.119505]  RSP <ffff905f1ee03e80>
[3766597.119505] CR2: ffff905bd3137578
[3766597.374303] ---[ end trace fcd27d7e056c2803 ]---
[3766597.374303] Kernel panic - not syncing: Fatal exception in interrupt
[3766597.374303] Kernel Offset: 0xd600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)

Environment

  • Red Hat Enterprise Linux 7.9.z
  • MS Hyper-V guest

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