Skip to content

Add object validation in ksize()

Marco Elver linux-mm lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 2 repliesIn review
  2. v45 patches 1 replySuperseded
  3. v35 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches1 replySuperseded
v11 patch2 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mm/kasan: Introduce __kasan_check_{read,write}include/linux/kasan-checks.h mm/kasan/common.c+26 -90 replies
2/5mm/kasan: Change kasan_check_{read,write} to return booleaninclude/linux/kasan-checks.h mm/kasan/common.c mm/kasan/generic.c +2 more+47 -260 replies
3/5lib/test_kasan: Add test for double-kzfree detectionlib/test_kasan.c+17 -00 replies
4/5mm/slab: Refactor common ksize KASAN logic into slab_common.cinclude/linux/slab.h mm/slab.c mm/slab_common.c +2 more+37 -361 reply
5/5mm/kasan: Add object validation in ksize()include/linux/kasan.h mm/slab_common.c+26 -30 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMark RutlandKees CookChristoph LameterAndrey Ryabinin
SeriesR-b
1/5A-b
2/5
3/5
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/5] Add object validation in ksize()

This version fixes several build issues --

Previous version here:
http://lkml.kernel.org/r/[email protected]

Marco Elver (5):
mm/kasan: Introduce __kasan_check_{read,write} mm/kasan: Change kasan_check_{read,write} to return boolean lib/test_kasan: Add test for double-kzfree detection mm/slab: Refactor common ksize KASAN logic into slab_common.c mm/kasan: Add object validation in ksize()

 include/linux/kasan-checks.h | 43 +++++++++++++++++++++++++++------
 include/linux/kasan.h        |  7 ++++--
 include/linux/slab.h         |  1 +
 lib/test_kasan.c             | 17 +++++++++++++
 mm/kasan/common.c            | 14 +++++------
 mm/kasan/generic.c           | 13 +++++-----
 mm/kasan/kasan.h             | 10 +++++++-
 mm/kasan/tags.c              | 12 ++++++----
 mm/slab.c                    | 28 +++++-----------------
 mm/slab_common.c             | 46 ++++++++++++++++++++++++++++++++++++
 mm/slob.c                    |  4 ++--
 mm/slub.c                    | 14 ++---------
 12 files changed, 144 insertions(+), 65 deletions(-)
Signature · 1 line
2.22.0.410.gd8fdbe21b5-goog