ext4: fix spectre v1 gadgets
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ext4: super: Fix spectre gadget in ext4_quota_onfs/ | +2 | 4 replies | |
| 2/3 | ext4: super: Fix spectre gadgets in ext4_quota_{read,write,off}fs/ | +14 | 0 replies | |
| 3/3 | ext4: mballoc: Fix spectre gadget in ext4_mb_simple_scan_groupfs/ | +2 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] ext4: fix spectre v1 gadgets
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(-)
Signature · 1 line
2.17.1