[PATCH v3 0/4] basic KASAN support for Xen PV domains
From: Sergey Dyasli
Date: Fri Feb 07 2020 - 09:27:14 EST
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