News for hackers. Stuff that matters.
Re:Inception: A simple XOR can cause a Microarchitectural St... by duskwuff on Tuesday August 08, 2023 @03:34PM (#37054339)
As I understand it, there is likely to be a performance decrease when executing indirect branches within the kernel.
Re:Inception: A simple XOR can cause a Microarchitectural St... by mjevans on Tuesday August 08, 2023 @03:55PM (#37054621)
My understanding (which could be incorrect) is that the single return location clobbers the branch predictor's leaked data with static and (attack) worthless data without completely clearing the rest of the prediction cache.
Re:Inception: A simple XOR can cause a Microarchitectural St... by duskwuff on Tuesday August 08, 2023 @04:24PM (#37054993)
Right, which means the CPU can't effectively predict indirect branches (like calls through function pointers, or certain types of switch statements).