What is causing my computer to BSOD at random times?

Anonymous
2024-12-06T20:22:37+00:00

I have a custom built gaming PC that has recently been blue screening randomly and it seems completely unprompted. It happens when I'm in the middle of a game, or when I'm working on a Word document with Spotify playing, or when I'm browsing google chrome with nothing else open. I don't know what could be causing it.

The error I get is always "KMODE_EXCEPTION_NOT_HANDLED"

I recently had an issue where my computer would BSOD with the same error every time I woke it up from sleep mode. I got a warranty replacement for my RAM and that fixed that issue. These BSODs seem to be caused by something else. This also means that I find it highly unlikely that there's something wrong with my RAM.

Here is a link to the dump files I've gathered so far. I will add more as my computer continues to crash. It happens once every few hours, it seems.

https://drive.google.com/drive/folders/1_QM2imGRMNnQtNsdU8W98a16JUMTyj0d?usp=sharing

Does anybody know what could be causing this issue? Do the dump files point to anything specifically that could be causing the crashes?

Thank you

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

84 answers

Sort by: Oldest
  1. Anonymous
    2025-01-08T14:48:53+00:00

    Hello vivs_lunchtime,

    I still think that PatchGuard was intimately involved in the crash.

    We both seem to enjoy (and be quite good at) analysing the behaviour of Windows when debug symbols are available, the "goal" of the code is relatively clear and debugging (and general use of debugging tools) is possible.

    PatchGuard and its obfuscation and anti-debugging measures violates several of the above conditions and pushes the effort required to understand it (from binary code alone) well beyond the level that I would be prepared to expend. I think that the final details of Alex's problem will remain a mystery.

    Gary

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-01-08T17:49:47+00:00

    Too late, but the findings are not interesting. It's as you say. bit and variable are set together in early kernel init (not in bootloader). Initial Cr4 value changed in bootloader, but not related to CET.
    Cr4 (initial start value when bootloader begins): 40668

    Cr4 (first write to Cr4 in bootloader): 310ee8

    Cr4 write (early kernel init): b10ef8 (now with the CET bit).

    Other writes didn't occur for me.

    I cannot confirm happening it in KiSetControlEnforcement, that didn't happen for me.

    Everybody with the shellcode-BSODs has three choices now: Core Isolation, Win11 24H2, and disabling CET entirely by using the bcdedit command "bcdedit /set xsaveremovefeature 0x800". I suggest doing "bcdedit /export "c:\someshortpath\bcdstorbackup" before using the bcdedit command.

    I am tempted to say Alex remaining random crashes could point to hardware failure, but besides making sure all drivers and bios are uptodate, and perhaps doing memcheck and Hdd health check, not much advise. The other persons affected by the shellcode-BSOD apparently don't have crashes anymore (Core Isolation approach).

    Ah and I think that too, PatchGuard was intimately involved in the crash. Two persons thinking that. ;-)

    A personal take home message for me is that just having new hardware can put you into trouble unprovoked. On Linux, there is trouble with CET and the Linux OS as well. There is now experimental userspace CET support in Linux, and apparently a lot of people (with this new hardware) crashed with it and have trouble, the general advise is to put a disable CET boot parameter into the GRUB or whatever is used. CET support was not compiled into all distros yet, but it's coming.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-01-10T09:23:56+00:00

    Was nice doing analysis with you Gary.

    But I continue to see a lot of persons with this BSOD.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-01-10T10:51:58+00:00

    Hello vivs_lunchtime,

    It was nice collaborating with you too, ably supported by Alex's trust and willingness to share information.

    From what we have found in the Internet, this particular problem seems to be limited to Windows versions around the time of build 19041; free security updates from Microsoft for these versions ends in 9 months, so one can strongly recommend a Windows upgrade to those who encounter the problem.

    One could also recommend that affected users read this thread - the recorded progression of ideas might enable someone to form a judgement about whether applying the workarounds that we have found could be appropriate for their circumstances.

    Gary

    Was this answer helpful?

    0 comments No comments