logoalt Hacker News

RachelF • today at 12:15 AM • 1 reply • view on HN

Lots of details missing, though: How did they go from being able to rewrite just one byte in kernel memory to arbitrary code execution?


Replies

stackghost • today at 1:46 AM

The exploit discloses up to 64 bytes of kernel stack, and allows the attacker to zero (IIUC) the two least significant bits at any arbitrary offset. So you can, in essence, re-target a pointer to attacker-controlled data. My understanding is they forged some internal structures to amplify that two-bit write into a more powerful write primitive.