[SOLVED] Windows 10 frequent BSODs “KERNEL_SECURITY_CHECK_FAILURE”

We're coming up on 12 hours and still no issues to report, the last BSOD could have been an outlier.
@Cknoettg if you have an account on Superuser and want to write an answer to my original question over there describing the issue with the MSI driver I can award you the bounty I had set up, but it expires tomorrow. Let me know!
 
I got another BSOD while sleeping, attaching minidump and full dump here.
They do not seem to be Verifier related - at least, I couldn't find anything in the stack related to one of the drivers. Should I stop Verifier or let it continue?
This is the output of /query as of this morning:
Time Stamp: 08/16/2020 13:33:01.080

Verifier Flags: 0x0012892b

Standard Flags:

[X] 0x00000001 Special pool.
[X] 0x00000002 Force IRQL checking.
[X] 0x00000008 Pool tracking.
[ ] 0x00000010 I/O verification.
[X] 0x00000020 Deadlock detection.
[ ] 0x00000080 DMA checking.
[X] 0x00000100 Security checks.
[X] 0x00000800 Miscellaneous checks.
[X] 0x00020000 DDI compliance checking.

Additional Flags:

[ ] 0x00000004 Randomized low resources simulation.
[ ] 0x00000200 Force pending I/O requests.
[ ] 0x00000400 IRP logging.
[ ] 0x00002000 Invariant MDL checking for stack.
[ ] 0x00004000 Invariant MDL checking for driver.
[X] 0x00008000 Power framework delay fuzzing.
[ ] 0x00010000 Port/miniport interface checking.
[ ] 0x00040000 Systematic low resources simulation.
[ ] 0x00080000 DDI compliance checking (additional).
[ ] 0x00200000 NDIS/WIFI verification.
[ ] 0x00800000 Kernel synchronization delay fuzzing.
[ ] 0x01000000 VM switch verification.
[ ] 0x02000000 Code integrity checks.

Internal Flags:

[X] 0x00100000 Extended Verifier flags (internal).

[X] Indicates flag is enabled.

Verifier Statistics Summary

Raise IRQLs: 38874586
Acquire Spin Locks: 136079
Synchronize Executions: 0
Trims: 144528

Pool Allocations Attempted: 4442443
Pool Allocations Succeeded: 4442443
Pool Allocations Succeeded SpecialPool: 4442443
Pool Allocations With No Tag: 36
Pool Allocations Not Tracked: 0
Pool Allocations Failed: 0
Pool Allocations Failed Deliberately: 0

Driver Verification List

MODULE: amdpsp.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 3 / 0 )
Current Pool Bytes: ( 1280 / 0 )
Peak Pool Allocations: ( 3 / 0 )
Peak Pool Bytes: ( 1280 / 0 )
Contiguous Memory Bytes: 32768
Peak Contiguous Memory Bytes: 36864

MODULE: ysdrv.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 25 / 0 )
Current Pool Bytes: ( 52816 / 0 )
Peak Pool Allocations: ( 26 / 0 )
Peak Pool Bytes: ( 55880 / 0 )
Contiguous Memory Bytes: 4096
Peak Contiguous Memory Bytes: 4096

MODULE: ene.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 0 / 0 )
Current Pool Bytes: ( 0 / 0 )
Peak Pool Allocations: ( 0 / 0 )
Peak Pool Bytes: ( 0 / 0 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: rt640x64.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 13 / 0 )
Current Pool Bytes: ( 248916 / 0 )
Peak Pool Allocations: ( 13 / 1 )
Peak Pool Bytes: ( 248916 / 204 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: nvlddmkm.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 36208 / 723 )
Current Pool Bytes: ( 17463338 / 2553228 )
Peak Pool Allocations: ( 36421 / 731 )
Peak Pool Bytes: ( 17518724 / 3065078 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: amdpcidev.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 0 / 0 )
Current Pool Bytes: ( 0 / 0 )
Peak Pool Allocations: ( 0 / 0 )
Peak Pool Bytes: ( 0 / 0 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: amdgpio2.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 0 / 0 )
Current Pool Bytes: ( 0 / 0 )
Peak Pool Allocations: ( 0 / 0 )
Peak Pool Bytes: ( 0 / 0 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: amdgpio3.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 0 / 0 )
Current Pool Bytes: ( 0 / 0 )
Peak Pool Allocations: ( 0 / 0 )
Peak Pool Bytes: ( 0 / 0 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: steamstreamingmicrophone.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 5 / 0 )
Current Pool Bytes: ( 209416 / 0 )
Peak Pool Allocations: ( 8 / 0 )
Peak Pool Bytes: ( 209672 / 0 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: steamstreamingspeakers.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 5 / 0 )
Current Pool Bytes: ( 209416 / 0 )
Peak Pool Allocations: ( 8 / 0 )
Peak Pool Bytes: ( 209672 / 0 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: nvvad64v.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 3 / 0 )
Current Pool Bytes: ( 960 / 0 )
Peak Pool Allocations: ( 5 / 4 )
Peak Pool Bytes: ( 2328 / 2768 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: nvvhci.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 0 / 1 )
Current Pool Bytes: ( 0 / 110 )
Peak Pool Allocations: ( 0 / 2 )
Peak Pool Bytes: ( 0 / 125 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: nvmoduletracker.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 0 / 0 )
Current Pool Bytes: ( 0 / 0 )
Peak Pool Allocations: ( 0 / 0 )
Peak Pool Bytes: ( 0 / 0 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: logi_joy_bus_enum.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 2 / 0 )
Current Pool Bytes: ( 258 / 0 )
Peak Pool Allocations: ( 3 / 5 )
Peak Pool Bytes: ( 289 / 282 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: logi_joy_xlcore.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 0 / 0 )
Current Pool Bytes: ( 0 / 0 )
Peak Pool Allocations: ( 0 / 1 )
Peak Pool Bytes: ( 0 / 64 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: nvhda64v.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 44 / 16 )
Current Pool Bytes: ( 41344 / 10048 )
Peak Pool Allocations: ( 46 / 21 )
Peak Pool Bytes: ( 43352 / 12580 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: rtkvhd64.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 806 / 0 )
Current Pool Bytes: ( 296522 / 0 )
Peak Pool Allocations: ( 809 / 4 )
Peak Pool Bytes: ( 356234 / 39224514 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: nahimic_mirroring.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 9 / 0 )
Current Pool Bytes: ( 1996 / 0 )
Peak Pool Allocations: ( 9 / 0 )
Peak Pool Bytes: ( 1996 / 0 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: dump_dumpstorport.sys (load: 0 / unload: 0)

MODULE: dump_stornvme.sys (load: 2 / unload: 1)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 0 / 0 )
Current Pool Bytes: ( 0 / 0 )
Peak Pool Allocations: ( 0 / 0 )
Peak Pool Bytes: ( 0 / 0 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: dump_dumpfve.sys (load: 2 / unload: 1)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 1 / 0 )
Current Pool Bytes: ( 16400 / 0 )
Peak Pool Allocations: ( 1 / 0 )
Peak Pool Bytes: ( 16400 / 0 )
Contiguous Memory Bytes: 65536
Peak Contiguous Memory Bytes: 65536

MODULE: amdryzenmasterdriver.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 37 / 0 )
Current Pool Bytes: ( 37403 / 0 )
Peak Pool Allocations: ( 38 / 2 )
Peak Pool Bytes: ( 73403 / 316 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: logi_core_temp.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 0 / 0 )
Current Pool Bytes: ( 0 / 0 )
Peak Pool Allocations: ( 0 / 0 )
Peak Pool Bytes: ( 0 / 0 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: rtcore64.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 0 / 0 )
Current Pool Bytes: ( 0 / 0 )
Peak Pool Allocations: ( 0 / 0 )
Peak Pool Bytes: ( 0 / 0 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

MODULE: logi_joy_vir_hid.sys (load: 1 / unload: 0)

Pool Allocation Statistics: ( NonPaged / Paged )

Current Pool Allocations: ( 2 / 0 )
Current Pool Bytes: ( 134 / 0 )
Peak Pool Allocations: ( 2 / 0 )
Peak Pool Bytes: ( 134 / 0 )
Contiguous Memory Bytes: 0
Peak Contiguous Memory Bytes: 0

The drivers I could find mentioned in the stack are:
  • nt
  • ntfs
  • hal
  • fileinfo
  • fltmgr
 

Attachments

Looking over the previous dump I noticed that it contains a few more drivers than this one, i.e.:
  • cldflt
  • FLTMGR
  • Ntfs
  • crashdmp
  • dump_dumpstorport
  • dump_stornvme
  • dxgkrnl
  • nvlddmkm
And the last one is one the nvidia drivers I am currently stressing with Verifier. Last night while playing a game I noticed that it was laggier and choppier than usual, with GPU times in ~30ms range. I brushed it off thinking that it was due to Verifier running in the background, but could it be tied to the BSODs?
 
Actually, when we ran lm, we found:
fffff804`74240000 fffff804`74248000 NTIOLib_X64.

Because the Event logs earlier showed that the MSI Afterburner driver was in the MSI Gaming Apps folder, I didn't think to check if it was also located somewhere else.

Is MSI Afterburner listed in your installed Apps by chance?
 
Actually, I noticed that NTIOlib is found in almost all MSI apps I have on my PC. Should I remove all of them? I barely ever used them and just installed because "eh, it's my mobo's manufacturer stuff, it must be good for something"
Capture.PNG
 
And apparently it doesn't play nice with Valorant and its anti-cheat system Vanguard. Just google for NTIOlib_x64 valorant or valorant msi and you'll find plenty of examples like this one: I did actually try playing Valorant while it was in beta and uninstalled it specifically because of Vanguard, that might have been the event that started it all?


As much as I hate to have you do it, I would go ahead and uninstall any app that uses it for now, to make sure we root this out.
No problem at all, as I said I never use them and I'd rather get rid of unsecure drivers.
 
Removed all MSI apps, search doesn't come up with any hits for NTIOlib.
I'll restart the PC and use it normally, let's hope this solves it!
 
Another BSOD.
minidump attached, dump here.
Honestly I'm losing any hope this problem can be fixed without formatting all drives and cleanly reinstalling Windows at this point.
 

Attachments

Hi!

Please do the following:

Step#1 - FRST Scan

1. Please download Farbar Recovery Scan Tool and save it to your Desktop.
Note: You need to run the 64-bit Version so please ensure you download that one.
2. Right-click FRST64.exe and click Run as Administrator to run it as administrator. When the tool opens, click Yes to disclaimer.
3. Please ensure you place a check mark in the Addition.txt check box at the bottom of the form before running (if not already checked).
4. Press Scan button.
5. It will produce a log called FRST.txt in the same directory the tool is run from (which should now be the desktop)
6. Please attach the log back here.
7. Another log (Addition.txt - also located in the same directory as FRST64.exe) will be generated Please also attach that along with the FRST.txt in your reply.
 
As an update, it seems like the last BSODs I got were caused by the Python code I was running. The PC has now been on for almost 9 days without issues, so I think the problem is resolved! Thanks to everyone who helped me!
 
So is there a fix for this? Or just a software issue as opposed to hardware degrading over time? I'm curious of the OP, what code in particular was causing the BSOD.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top