Skip to content

kasan: various fixes

Andrey Konovalov linux-mm lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesNew
  2. v17 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- rebased on top of the latest -mm

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7kasan: update reported bug types for not user nor kernel memory accessesmm/kasan/kasan.c mm/kasan/kasan.h mm/kasan/report.c+24 -370 replies
2/7kasan: update reported bug types for kernel memory accessesmm/kasan/report.c+11 -70 replies
3/7kasan: accurately determine the type of the bad accessmm/kasan/report.c+14 -30 replies
4/7kasan: update log messagesarch/x86/mm/kasan_init_64.c mm/kasan/kasan.c mm/kasan/report.c+4 -40 replies
5/7kasan: various fixes in documentationDocumentation/kasan.txt+22 -210 replies
6/7kasan: move KASAN_SANITIZE in arch/x86/boot/Makefilearch/x86/boot/Makefile+2 -20 replies
7/7kasan: update reference to kasan prototype repomm/kasan/kasan.c mm/kasan/report.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] kasan: various fixes

This patchset contains various fixes for KASAN. That includes:

1. Improving reported bug types.

Making KASAN distinguish and report the following types of bugs:
slab-out-of-bounds, stack-out-of-bounds, global-out-of-bounds use-after-free, null-ptr-deref, user-memory-access, wild-memory-access.

2. Making references to the tool name consistent.

We decided to use KASAN as the short name of the tool since a lot of people already use it, and KernelAddressSanitizer as the full name to be consistent with the userspace AddressSantizer.

Changes since v1:
- rebased on top of the latest -mm

Andrey Konovalov (7):
kasan: update reported bug types for not user nor kernel memory
accesses
kasan: update reported bug types for kernel memory accesses
kasan: accurately determine the type of the bad access
kasan: update log messages
kasan: various fixes in documentation
kasan: move KASAN_SANITIZE in arch/x86/boot/Makefile
kasan: update reference to kasan prototype repo

 Documentation/kasan.txt     | 43 +++++++++++-----------
 arch/x86/boot/Makefile      |  4 +-
 arch/x86/mm/kasan_init_64.c |  2 +-
 mm/kasan/kasan.c            | 12 ++----
 mm/kasan/kasan.h            |  3 --
 mm/kasan/report.c           | 89 +++++++++++++++++++++++++--------------------
 6 files changed, 78 insertions(+), 75 deletions(-)
Signature · 7 lines
2.6.0.rc0.131.gf624c3d

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>