Skip to content

kasan: more tag based mode fixes

Andrey Konovalov linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 4 repliesIn review
  2. v15 patches 11 repliesSuperseded

Changes in v2 from the cover letter

- Add comments about kmemleak vs KASAN hooks order.
- Fix compilation error when CONFIG_SLUB_DEBUG is not defined.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5kasan: fix assigning tags twicemm/kasan/common.c+17 -120 replies
2/5kasan, kmemleak: pass tagged pointers to kmemleakmm/slab.h mm/slab_common.c mm/slub.c+5 -60 replies
3/5kmemleak: account for tagged pointers when calculating pointer rangemm/kmemleak.c mm/slab.h mm/slab_common.c +1 more+10 -32 replies
4/5kasan, slub: move kasan_poison_slab hook before page_addressmm/slub.c+15 -40 replies
5/5kasan, slub: fix conflicts with CONFIG_SLAB_FREELIST_HARDENEDmm/slub.c+7 -130 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchQian CaiCatalin Marinas
1/5
2/5
3/5T-b A-b
4/5
5/5

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

Read the v2 thread

Cover letter [PATCH v2 0/5] kasan: more tag based mode fixes

Changes in v2:
- Add comments about kmemleak vs KASAN hooks order.
- Fix compilation error when CONFIG_SLUB_DEBUG is not defined.

Andrey Konovalov (5):
kasan: fix assigning tags twice
kasan, kmemleak: pass tagged pointers to kmemleak
kmemleak: account for tagged pointers when calculating pointer range kasan, slub: move kasan_poison_slab hook before page_address kasan, slub: fix conflicts with CONFIG_SLAB_FREELIST_HARDENED

 mm/kasan/common.c | 29 +++++++++++++++++------------
 mm/kmemleak.c     | 10 +++++++---
 mm/slab.h         |  7 +++----
 mm/slab_common.c  |  3 ++-
 mm/slub.c         | 43 +++++++++++++++++++++++++------------------
 5 files changed, 54 insertions(+), 38 deletions(-)
Signature · 1 line
2.20.1.791.gb4d0f1c61a-goog