[lkml]   [2022]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v2 0/5] x86/kasan: Bug fixes for recent CEA changes
Three fixes for the recent changes to how KASAN populates shadows for
the per-CPU portion of the CPU entry areas. The v1 versions were posted
independently as I kept root causing issues after posting individual fixes.

- Map the entire per-CPU area in one shot. [Andrey]
- Use the "early", i.e. read-only, variant to populate the shadow for
the shared portion (read-only IDT mapping) of the CEA. [Andrey]


Sean Christopherson (5):
x86/mm: Recompute physical address for every page of per-CPU CEA
x86/mm: Populate KASAN shadow for entire per-CPU range of CPU entry
x86/kasan: Rename local CPU_ENTRY_AREA variables to shorten names
x86/kasan: Add helpers to align shadow addresses up and down
x86/kasan: Populate shadow for shared chunk of the CPU entry area

arch/x86/mm/cpu_entry_area.c | 10 +++-----
arch/x86/mm/kasan_init_64.c | 50 +++++++++++++++++++++++-------------
2 files changed, 36 insertions(+), 24 deletions(-)

base-commit: 0008712a508f72242d185142cfdbd0646a661a18

 \ /
  Last update: 2022-11-10 21:35    [W:0.243 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site