News for hackers. Stuff that matters.
Re:Inception: A simple XOR can cause a Microarchitectural St... by lacksconfidence on Tuesday August 08, 2023 @03:48PM (#37054547)
> By reducing all returns in the kernel to a single one, it becomes possible to ensure a safe (but still incorrect) branch predictor state each time this return is executed

I'm way out of my depth here, what does this mean? My naive guess is that they ensure there is a single assembly instruction in the entire kernel that can do a return, and every place that wants to return jumps to that return?

Re:Inception: A simple XOR can cause a Microarchitectural St... by nraynaud on Tuesday August 08, 2023 @06:55PM (#37056563)
I think there is already an entire Rube Goldberg machine like that in the kernel for spectre mitigation.