[SOLVED] Destroying CPU with microcode update

Programming, for all ages and all languages.
Post Reply
Rukog
Member
Member
Posts: 51
Joined: Sun Aug 01, 2021 5:24 pm

[SOLVED] Destroying CPU with microcode update

Post by Rukog »

While browsing the System Programming Guide, Part 1

I am reading this
q.png
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.
Octocontrabass
Member
Member
Posts: 5512
Joined: Mon Mar 25, 2013 7:01 pm

Re: Destroying CPU with microcode update

Post by Octocontrabass »

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.
User avatar
iansjack
Member
Member
Posts: 4685
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: [SOLVED] Destroying CPU with microcode update

Post by iansjack »

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.
nullplan
Member
Member
Posts: 1766
Joined: Wed Aug 30, 2017 8:24 am

Re: [SOLVED] Destroying CPU with microcode update

Post by nullplan »

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.
Carpe diem!
User avatar
iansjack
Member
Member
Posts: 4685
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: [SOLVED] Destroying CPU with microcode update

Post by iansjack »

As far as I am aware the voltages to the CPU are not controlled by the microcode.
Octocontrabass
Member
Member
Posts: 5512
Joined: Mon Mar 25, 2013 7:01 pm

Re: [SOLVED] Destroying CPU with microcode update

Post by Octocontrabass »

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.
User avatar
iansjack
Member
Member
Posts: 4685
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: [SOLVED] Destroying CPU with microcode update

Post by iansjack »

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.
Post Reply