-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Injector crashes in certain instruction range on Zen 2 #14
Comments
Okay, so after looking further at it, this seems to be a hardware problem.
|
Please send me the output dump of that run if you can? |
As in, the log that it outputs before it crashes? |
Yeah, just want to validate that the prior ones are actually also executing as expected. It's supposedly 3 SGDT operations followed by a POPQ GS. EDIT: Also please explain what the actual crash is that you are getting, what do you see printed to dmesg. |
GitHub won't let me attach the file here, so I put it on my mega.nz account. The crash is dmesg output:
|
Looking further, it looks as if all there are a lot more instructions that do this.
Perhaps blacklisting instructions we find will let us exhaustively find them? Although that sounds like a lot of waiting around... |
Yes this is what I will have to do. I'm just wondering what about your system or processors is so different that causes it to run and crash in the 0f01 instruction sequences. I've not had any other system actually execute into that range before. It's likely we'll need some more data from other Zen 2 users to confirm this. Are you using any special kernel build? For now we'll have to go with And then likely add CPUID specific blacklisting of instructions. |
The full blacklist I needed to use was:
I'm using the normal linux kernel. |
I'm sifting my Ryzen 5 3600 on Arch Linux and am having trouble running a full scan.
The processor will fall into a hole with instructions looking like this:
0f0104060f0104060f0104060f...
and after a while of executing instructions in that range, the injector will crash.
If running with the
--save
flag, and resuming with the--resume
flag, it will resume after the instruction that crashed it and will go until it crashes again in that range.The first instruction that crashes it is:
0f0104060f0104060f0104060fa9
The text was updated successfully, but these errors were encountered: