All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] x86/kasan: Bug fixes for recent CEA changes
@ 2022-11-10 20:34 Sean Christopherson
  2022-11-10 20:35 ` [PATCH v2 1/5] x86/mm: Recompute physical address for every page of per-CPU CEA mapping Sean Christopherson
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Sean Christopherson @ 2022-11-10 20:34 UTC (permalink / raw)
  To: Dave Hansen, Andy Lutomirski, Peter Zijlstra, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, x86, Andrey Ryabinin
  Cc: H. Peter Anvin, Alexander Potapenko, Andrey Konovalov,
	Dmitry Vyukov, Vincenzo Frascino, linux-kernel, kasan-dev,
	Sean Christopherson, syzbot+ffb4f000dc2872c93f62,
	syzbot+8cdd16fd5a6c0565e227

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.

v2:
  - 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]

v1:
  - https://lore.kernel.org/all/20221104212433.1339826-1-seanjc@google.com
  - https://lore.kernel.org/all/20221104220053.1702977-1-seanjc@google.com
  - https://lore.kernel.org/all/20221104183247.834988-1-seanjc@google.com

Sean Christopherson (5):
  x86/mm: Recompute physical address for every page of per-CPU CEA
    mapping
  x86/mm: Populate KASAN shadow for entire per-CPU range of CPU entry
    area
  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
-- 
2.38.1.431.g37b22c650d-goog


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2022-12-17 18:56 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 20:34 [PATCH v2 0/5] x86/kasan: Bug fixes for recent CEA changes Sean Christopherson
2022-11-10 20:35 ` [PATCH v2 1/5] x86/mm: Recompute physical address for every page of per-CPU CEA mapping Sean Christopherson
2022-11-14 14:09   ` Andrey Ryabinin
2022-11-15 22:26   ` [tip: x86/mm] " tip-bot2 for Sean Christopherson
2022-12-17 18:55   ` tip-bot2 for Sean Christopherson
2022-11-10 20:35 ` [PATCH v2 2/5] x86/mm: Populate KASAN shadow for entire per-CPU range of CPU entry area Sean Christopherson
2022-11-14 14:10   ` Andrey Ryabinin
2022-11-15 22:26   ` [tip: x86/mm] " tip-bot2 for Sean Christopherson
2022-12-17 18:55   ` tip-bot2 for Sean Christopherson
2022-11-10 20:35 ` [PATCH v2 3/5] x86/kasan: Rename local CPU_ENTRY_AREA variables to shorten names Sean Christopherson
2022-11-14 14:10   ` Andrey Ryabinin
2022-11-15 22:26   ` [tip: x86/mm] " tip-bot2 for Sean Christopherson
2022-12-17 18:55   ` tip-bot2 for Sean Christopherson
2022-11-10 20:35 ` [PATCH v2 4/5] x86/kasan: Add helpers to align shadow addresses up and down Sean Christopherson
2022-11-14 14:13   ` Andrey Ryabinin
2022-11-15 22:26   ` [tip: x86/mm] " tip-bot2 for Sean Christopherson
2022-12-17 18:55   ` tip-bot2 for Sean Christopherson
2022-11-10 20:35 ` [PATCH v2 5/5] x86/kasan: Populate shadow for shared chunk of the CPU entry area Sean Christopherson
2022-11-14 14:44   ` Andrey Ryabinin
2022-11-14 15:12     ` Peter Zijlstra
2022-11-14 17:53       ` Sean Christopherson
2022-11-14 21:46         ` Peter Zijlstra
2022-11-15 22:26   ` [tip: x86/mm] " tip-bot2 for Sean Christopherson
2022-12-17 18:55   ` tip-bot2 for Sean Christopherson
2022-11-14 11:57 ` [PATCH v2 0/5] x86/kasan: Bug fixes for recent CEA changes Peter Zijlstra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.