Re:Intel SA-00145: Lazy FP State Restore
by caf on Wednesday June 13, 2018 @08:44PM
(#17308331)
Can't you executive the trapping access in a not-taken speculatively-executed branch à la Meltdown?
[ Parent
| on HN ]
Re:Intel SA-00145: Lazy FP State Restore
by cperciva on Wednesday June 13, 2018 @09:04PM
(#17308425)
Sure, but that gives you an even shorter window because the pipeline flushes as soon as the CPU realizes that it mis-speculated.
It is my understanding that you can make that window very long by having the mis-speculated branch depend on a value that has to be loaded from main memory.
Hmm, good point. Yes, that would probably make this much easier to exploit.
Unless the CPU does a partial pipeline flush upon realizing that there would be a trap. I don't know -- do Intel CPUs check for exceptions in order?