Skip to content

basic KASAN support for Xen PV domains

Sergey Dyasli linux-mm lkml netdev xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 4 repliesIn review
  2. v24 patches 5 repliesSuperseded
  3. v14 patches 12 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kasan: introduce set_pmd_early_shadow()mm/kasan/init.c+24 -80 replies
2/4x86/xen: add basic KASAN support for PV kernelarch/x86/mm/kasan_init_64.c arch/x86/xen/Makefile arch/x86/xen/enlighten_pv.c +5 more+78 -21 reply
3/4xen: teach KASAN about grant tablesdrivers/xen/grant-table.c+4 -11 reply
4/4xen/netback: fix grant copy across page boundarydrivers/net/xen-netback/common.h drivers/net/xen-netback/netback.c+50 -122 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchPaul DurrantBoris Ostrovsky
1/4
2/4R-b
3/4R-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] basic KASAN support for Xen PV domains

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(-)
Signature · 1 line
2.17.1