The kernel crashes due to the GPF upon running WRMSR on IA32_SPEC_CTRL MSR to turn IBRS off

Solution Unverified - Updated -

Issue

  • The kernel crashes due to the GPF upon running WRMSR on IA32_SPEC_CTRL MSR to turn IBRS off
[5817821.384105] general protection fault: 0000 [#1] SMP 
[5817821.384136] Modules linked in: unix_diag af_packet_diag netlink_diag tcp_diag udp_diag inet_diag iptable_filter binfmt_misc nfs_layout_nfsv41_files rpcsec_gss_krb5 nfsv4 dns_resolver nfs lockd grace fscache 8021q garp mrp stp llc bonding scsi_transport_iscsi ipmi_ssif skx_edac nfit libnvdimm intel_powerclamp coretemp intel_rapl iosf_mbi kvm irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd pcspkr ses enclosure sg mei_me lpc_ich mei hpwdt hpilo wmi ipmi_si ipmi_devintf ipmi_msghandler acpi_power_meter auth_rpcgss sunrpc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic mgag200 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm mlx5_core drm crct10dif_pclmul crct10dif_common crc32c_intel serio_raw smartpqi mlxfw ptp
[5817821.384494]  pps_core scsi_transport_sas devlink drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log dm_mod
[5817821.384535] CPU: 22 PID: 0 Comm: swapper/22 Kdump: loaded Not tainted 3.10.0-1160.36.2.el7.x86_64 #1
[5817821.384566] Hardware name: HPE ProLiant DL380 Gen10/ProLiant DL380 Gen10, BIOS U30 04/18/2019
[5817821.384597] task: ffff8c9ff355b180 ti: ffff8c9ff3568000 task.ti: ffff8c9ff3568000
[5817821.384623] RIP: 0010:[<ffffffff8778b5fd>]  [<ffffffff8778b5fd>] intel_idle+0x1ad/0x225
[5817821.384661] RSP: 0018:ffff8c9ff356be20  EFLAGS: 00010046
[5817821.384681] RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000048
[5817821.384706] RDX: 0000000000000000 RSI: ffffffff87cde880 RDI: 0000000000000016
[5817821.384730] RBP: ffff8c9ff356be50 R08: 000000000000022c R09: ffff8cbe80199cd0
[5817821.384755] R10: 7fffffffffffffff R11: 0000000000000000 R12: 0000000000000001
[5817821.384780] R13: 0000000000000000 R14: ffff8c9ff356bfd8 R15: ffffffff87cde8f0
[5817821.384805] FS:  0000000000000000(0000) GS:ffff8cbe80180000(0000) knlGS:0000000000000000
[5817821.384833] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[5817821.384853] CR2: 0000000238e91ce4 CR3: 0000003f2408e000 CR4: 00000000007607e0
[5817821.384879] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[5817821.384903] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[5817821.384929] PKRU: 00000000
[5817821.384940] Call Trace:
[5817821.384958]  [<ffffffff875c8d65>] cpuidle_enter_state+0x45/0xd0
[5817821.384981]  [<ffffffff875c8ece>] cpuidle_idle_call+0xde/0x230
[5817821.385006]  [<ffffffff87037c8e>] arch_cpu_idle+0xe/0xc0
[5817821.385030]  [<ffffffff871017fa>] cpu_startup_entry+0x14a/0x1e0
[5817821.385663]  [<ffffffff8705a827>] start_secondary+0x1f7/0x270
[5817821.386180]  [<ffffffff870000d5>] start_cpu+0x5/0x14
[5817821.386681] Code: ea 03 5d 00 66 90 65 48 8b 14 25 b8 0e 01 00 8b 92 38 c0 ff ff 83 e2 20 48 c1 ea 03 48 09 d0 48 89 c2 b9 48 00 00 00 48 c1 ea 20 <0f> 30 e9 ed fe ff ff 0f 1f 40 00 65 8b 05 09 1a 88 78 a8 01 0f 
[5817821.387845] RIP  [<ffffffff8778b5fd>] intel_idle+0x1ad/0x225
[5817821.388363]  RSP <ffff8c9ff356be20>

Environment

  • Red Hat Enterprise Linux 7.9.z - kernel-3.10.0-1160.36.2.el7
  • HPE ProLiant DL380 Gen10

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