RE: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

From: David Laight
Date: Wed Apr 24 2019 - 09:32:01 EST


From: Reshetova, Elena
> Sent: 24 April 2019 12:43
>
> Sorry for the delay - Easter holidays + I was trying to arrange my brain around proposed options.
> Here what I think our options are with regards to the source of randomness:
>
> 1) rdtsc or variations based on it (David proposed some CRC-based variants for example)

Do I remember something about rdtsc being made less accurate in order to
make it (slightly) more difficult to use it to measure timing attacks?

If true, and it applies to the kernel (eg in a VM) then this is probably
all pointless!

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)