[PATCH 08/14] ARM: spectre-v2: harden user aborts in kernel space
From: f.fainelli@gmail.com (Florian Fainelli)
Date: 2018-05-16 16:35:07
Also in:
kvmarm
From: f.fainelli@gmail.com (Florian Fainelli)
Date: 2018-05-16 16:35:07
Also in:
kvmarm
On 05/16/2018 04:01 AM, Russell King wrote:
In order to prevent aliasing attacks on the branch predictor, invalidate the BTB or instruction cache on CPUs that are known to be affected when taking an abort on a address that is outside of a user task limit: Cortex A8, A9, A12, A17, A73, A75: flush BTB. Cortex A15, Brahma B15: invalidate icache. Signed-off-by: Russell King <redacted>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian