Mobile and Desktop Processors
Intel® Core™ processors, Intel Atom® processors, tools, and utilities
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
16886 Discussions

Kernel Panic on i7-13700 with CR0 Modification in Linux 6.8+, but Not on i7-14700 or i7-8700K

lsm_panic
Beginner
418 Views

Hello Intel Community,

I'm experiencing a kernel panic on my Intel Core i7-13700 (13th Gen, Raptor Lake) when modifying the CR0 register in a C program with inline assembly. This issue occurs only on Linux kernel versions 6.8 and above (tested on 6.8 and 6.10). Interestingly, I tested the same code on systems with Intel Core i7-14700 (14th Gen) and i7-8700K (8th Gen), and no kernel panic occurs on those CPUs. I suspect this may be related to the reported 13th Gen instability issues.

 

System Details:

  • CPU: Intel Core i7-13700
  • OS: Ubuntu [24.04], Alma 10, Linux kernel 6.8+
  • BIOS: Vendor: Phoenix Technologies LTD, Version: 6.00, Release Date: 11/12/2020
  • Microcode: 0x12F (confirmed via cat /proc/cpuinfo | grep microcode)

Issue Description

My program toggles the CR0 Cache Disable (CD) bit using inline assembly. Below is the simplified code:

이미지.jpg

This code works fine on kernel 6.7 or lower, as well as on i7-14700 and i7-8700K systems running kernel 6.8+. However, on the i7-13700 with kernel 6.8+, it triggers a kernel panic immediately after the mov %0, %%cr0 instruction. The dmesg log shows a general protection fault or triple fault. I have attached the panic log capture below (via Pastebin or as an attachment).

이미지 (6).png

Questions:

  1. Is this related to the known Raptor Lake voltage instability issue? Why does it only affect i7-13700 and not i7-14700 or i7-8700K?
  2. Are there specific kernel patches in 6.8+ that could affect CR0 handling?
  3. Any debugging tips (e.g., specific dmesg flags or tools like Bochs)?
  4. Should I contact Intel for an RMA, or is this likely a software issue?

Any insights or similar experiences would be greatly appreciated!

Thank you!

0 Kudos
2 Replies
JeanetteC_Intel
Moderator
369 Views

Hello lsm_panic,

 

Thank you for contacting Intel Communities. I'm reviewing this matter internally and will respond with an update when available.

 

 

Best regards,

JeanetteC.

Intel® Customer Support Technician


0 Kudos
JeanetteC_Intel
Moderator
249 Views

Hello lsm_panic,

 

Please check your email for a private message containing an update on this issue. Make sure to review your inbox, spam, and junk folders, as the email may have been filtered there.

 

 

Best regards,

JeanetteC.

Intel Customer Support Technician


0 Kudos
Reply