Thanks to plugin power, it was fixed in grsecurity in 2019 for all affected GCC versions: scripts/gcc-plugins/utilities_plugin/fix_esra.c
1
8
The Microsoft c++ guide talks about it at a high level docs.microsoft.com/en-us/cpp… but haven't seen much more since then, have wondered if you could find a good use of that to fetch arbitrary addresses for cross thread disclosures
2
Actually, I didn't read the example closely enough. It was an SSB case, and we have an option specifically for that with Respectre. So I threw the example into mm/memory.c and compiled it with the verbose mode on:
2
Had to add noinline to InitializeIndex to make it match the description, but here's the resulting disasm:
1
don't have current numbers at hand, but on a 5.4.13-allyes-amd64 config respectre reported about 33k v4 instances as above. that was over 1.5y ago, so not quite representative of the current code but you get the idea.
Aug 12, 2021 · 2:50 PM UTC
1




