linux-stable/drivers/misc/lkdtm
Kees Cook ae2e1aad3e drivers/misc/lkdtm/bugs.c: add arithmetic overflow and array bounds checks
Adds LKDTM tests for arithmetic overflow (both signed and unsigned), as
well as array bounds checking.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Dmitry Vyukov <dvyukov@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <andreyknvl@google.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Elena Petrova <lenaptr@google.com>
Cc: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
Link: http://lkml.kernel.org/r/20200227193516.32566-4-keescook@chromium.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-04-07 10:43:44 -07:00
..
bugs.c drivers/misc/lkdtm/bugs.c: add arithmetic overflow and array bounds checks 2020-04-07 10:43:44 -07:00
cfi.c lkdtm: Add Control Flow Integrity test 2019-08-12 15:28:51 -07:00
core.c drivers/misc/lkdtm/bugs.c: add arithmetic overflow and array bounds checks 2020-04-07 10:43:44 -07:00
heap.c lkdtm/heap: add tests for freelist hardening 2019-07-12 11:05:41 -07:00
lkdtm.h drivers/misc/lkdtm/bugs.c: add arithmetic overflow and array bounds checks 2020-04-07 10:43:44 -07:00
Makefile lkdtm: Add Control Flow Integrity test 2019-08-12 15:28:51 -07:00
perms.c
refcount.c lkdtm: Remove references to CONFIG_REFCOUNT_FULL 2019-11-25 09:15:46 +01:00
rodata.c
stackleak.c lkdtm/stackleak: Make the test more verbose 2020-02-10 13:43:38 -08:00
usercopy.c lkdtm/usercopy: Moves the KERNEL_DS test to non-canonical 2019-04-07 10:38:31 -07:00