Messages in this thread | | | From | Jeremy Cline <> | Subject | [PATCH 0/3] ext4: fix spectre v1 gadgets | Date | Fri, 27 Jul 2018 16:23:54 +0000 |
| |
Hi folks,
This patch set fixes a few Spectre v1 gadgets in ext4 detected with the help of Smatch.
Note that because the speculation window is large, the policy is to stop the speculative out-of-bounds load and not worry if the attack can be completed with a dependent load or store[0].
[0] https://marc.info/?l=linux-kernel&m=152449131114778
Jeremy Cline (3): ext4: super: Fix spectre gadget in ext4_quota_on ext4: super: Fix spectre gadgets in ext4_quota_{read,write,off} ext4: mballoc: Fix spectre gadget in ext4_mb_simple_scan_group
fs/ext4/mballoc.c | 2 ++ fs/ext4/super.c | 20 ++++++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-)
-- 2.17.1
| |