Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

more or less... I'm surprised the CPU doesn't already flush caches after speculative execution branches are abandoned


Flushing the cache after every branch misprediction would probably make branch prediction a net loss in performance.


Well not all caches, just the part tagged with the mispredicted branch


But that'd still be vulnerable.

The issue isn't that you can read whatever was in/got brought into cache, the issue is that you can tell which part of the cache got evicted and infer values based on that.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: