Re:Why Raspberry Pi Isn't Vulnerable to Spectre or Meltdown
by foobarian on Friday January 05, 2018 @03:05PM
(#16081213)
What are the exploits enabled by this? Seems like mostly security-related attacks on encryption keys and such.
Re:Why Raspberry Pi Isn't Vulnerable to Spectre or Meltdown
by infinite8s on Friday January 05, 2018 @03:28PM
(#16081383)
Well that value has to still be read into the cache, since the "kern_mem[address]&0x100" calculation is speculatively carried out. I don't think the MMU can do any bit level computations.
Instead, the read-ahead/speculative logic causes one of two addresses in user space to be read, and thus placed in the cache. So, by reading both of them, and checking the time it took, the exploit can indirectly determine one bit (0 or 1) of kernel memory. Scary!