OSDev.org

The Place to Start for Operating System Developers
It is currently Sun Sep 26, 2021 3:45 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: [SOLVED] Destroying CPU with microcode update
PostPosted: Thu Aug 05, 2021 8:04 am 
Offline
Member
Member

Joined: Sun Aug 01, 2021 5:24 pm
Posts: 51
While browsing the System Programming Guide, Part 1

I am reading this

Attachment:
q.png
q.png [ 64.29 KiB | Viewed 4808 times ]


Is any of you already success to change behavior of some instructions, thus OS crash all the time and the BIOS too.

It's for the science team :twisted:


Last edited by Rukog on Sun Aug 08, 2021 4:53 am, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: Destroying CPU with microcode update
PostPosted: Thu Aug 05, 2021 3:17 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 3357
It's been done.

Of course, that only works if you have a way to load unsigned microcode. AMD added a signature check to their later CPUs, and Intel CPUs have always checked the signature.

There's a hardware exploit that allows bypassing the signature check on some Intel CPUs.


Top
 Profile  
 
 Post subject: Re: [SOLVED] Destroying CPU with microcode update
PostPosted: Tue Aug 10, 2021 8:28 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4237
Location: Chichester, UK
The. title of this thread is rather misleading. A microcode update is not permanent, and is lost on reboot. It can hardly destroy a CPU.


Top
 Profile  
 
 Post subject: Re: [SOLVED] Destroying CPU with microcode update
PostPosted: Wed Aug 11, 2021 11:16 am 
Offline
Member
Member

Joined: Wed Aug 30, 2017 8:24 am
Posts: 1094
Well, couldn't a microcode update cause a hardware malfunction so catastrophic that the wrong voltages get sent to the CPU, thus destroying it? OK, I admit, that is reaching.

_________________
Thou hast outraged, not insulted me, sir; but for that I ask thee not to beware of Starbuck; thou wouldst but laugh; but let Ahab beware of Ahab; beware of thyself, old man.


Top
 Profile  
 
 Post subject: Re: [SOLVED] Destroying CPU with microcode update
PostPosted: Wed Aug 11, 2021 1:43 pm 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4237
Location: Chichester, UK
As far as I am aware the voltages to the CPU are not controlled by the microcode.


Top
 Profile  
 
 Post subject: Re: [SOLVED] Destroying CPU with microcode update
PostPosted: Wed Aug 11, 2021 2:58 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 3357
They might be controlled by the firmware's SMM code, which is affected by microcode.

I'd be more concerned about microcode blowing one of the OTP fuses inside the CPU.


Top
 Profile  
 
 Post subject: Re: [SOLVED] Destroying CPU with microcode update
PostPosted: Wed Aug 11, 2021 11:32 pm 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4237
Location: Chichester, UK
When someone can provide a proof of concept of custom microcode trashing a CPU then I'll believe it's a possibility. If that's what you want to do I would have thought a BIOS modification was a simpler means.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: emihusaq and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group