2 ms·
But this class of vuln is about data leaking between users in a multi-user system.
by dcow 2y ago
But this class of vuln is about data leaking between users in a multi-user system.
- wongarsu 2y agoIsn't it rather about data leaks between any two processes? Whether those two processes belong to different users is a detail of the threat model and the OS's security model. In a console it could well be about data leaks between a game with code-injection vulnerability and the OS or DRM system.
- alexvitkov 2y agoThey're a pain in the ass all around. Spectre allowed you to read everything paged in (including kernel memory) from JS in the browser. To mitigate it browsers did a bunch of hacks, including nerfing precision on all timer APIs and disabling shared memory, because you need an accurate timer for the exploit - to this day performance.now() rounds to 1MS on firefox and 0.1MS on Chrome. This 1MS rounding funnily is a headache for me right as we speak. On a say 240Hz monitor, for video games you need to render a frame every ~4.16ms -- 1ms precision is not enough for accurate ticker -- even if you render your frames on time, the result can't be perfectly smooth as the browser doesn't give an accurate enough timer by which to advance your physics every frame.