[PATCH v2 0/7] kasan: various fixes

From: Andrey Konovalov
Date: Mon Sep 14 2015 - 09:46:29 EST


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(-)

--
2.6.0.rc0.131.gf624c3d

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/