linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] basic KASAN support for Xen PV domains
@ 2020-02-07 14:26 Sergey Dyasli
  2020-02-07 14:26 ` [PATCH v3 1/4] kasan: introduce set_pmd_early_shadow() Sergey Dyasli
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Sergey Dyasli @ 2020-02-07 14:26 UTC (permalink / raw)
  To: xen-devel, kasan-dev, linux-mm, linux-kernel
  Cc: Andrey Ryabinin, Alexander Potapenko, Dmitry Vyukov,
	Boris Ostrovsky, Juergen Gross, Stefano Stabellini,
	George Dunlap, Ross Lagerwall, Andrew Morton, Sergey Dyasli

This series allows to boot and run Xen PV kernels (Dom0 and DomU) with
CONFIG_KASAN=y. It has been used internally for some time now with good
results for finding memory corruption issues in Dom0 kernel.

Only Outline instrumentation is supported at the moment.

Sergey Dyasli (2):
  kasan: introduce set_pmd_early_shadow()
  x86/xen: add basic KASAN support for PV kernel

Ross Lagerwall (2):
  xen: teach KASAN about grant tables
  xen/netback: fix grant copy across page boundary

 arch/x86/mm/kasan_init_64.c       | 10 +++++-
 arch/x86/xen/Makefile             |  7 ++++
 arch/x86/xen/enlighten_pv.c       |  3 ++
 arch/x86/xen/mmu_pv.c             | 43 ++++++++++++++++++++++
 drivers/net/xen-netback/common.h  |  2 +-
 drivers/net/xen-netback/netback.c | 60 +++++++++++++++++++++++++------
 drivers/xen/Makefile              |  2 ++
 drivers/xen/grant-table.c         |  5 ++-
 include/linux/kasan.h             |  2 ++
 include/xen/xen-ops.h             | 10 ++++++
 lib/Kconfig.kasan                 |  3 +-
 mm/kasan/init.c                   | 32 ++++++++++++-----
 12 files changed, 156 insertions(+), 23 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2020-02-10 20:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-07 14:26 [PATCH v3 0/4] basic KASAN support for Xen PV domains Sergey Dyasli
2020-02-07 14:26 ` [PATCH v3 1/4] kasan: introduce set_pmd_early_shadow() Sergey Dyasli
2020-02-07 14:26 ` [PATCH v3 2/4] x86/xen: add basic KASAN support for PV kernel Sergey Dyasli
2020-02-10 20:29   ` Boris Ostrovsky
2020-02-07 14:26 ` [PATCH v3 3/4] xen: teach KASAN about grant tables Sergey Dyasli
2020-02-10 20:34   ` Boris Ostrovsky
2020-02-07 14:26 ` [PATCH v3 4/4] xen/netback: fix grant copy across page boundary Sergey Dyasli
2020-02-07 14:36   ` David Miller
2020-02-10 13:27     ` Sergey Dyasli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).