[GIT PULL drivers/misc] lkdtm updates for next

Kees Cook
2022-04-16T21:21:02Z

Hi Greg,

Please pull these lkdtm updates for -next.

Thanks!

-Kees

The following changes since commit ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e:

Linux 5.18-rc2 (2022-04-10 14:21:36 -1000)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/lkdtm-next

for you to fetch changes up to 2e53b877dc1258d4ac3de98f496bb88ec3bf5e25:

lkdtm: Add CFI_BACKWARD to test ROP mitigations (2022-04-16 13:57:23 -0700)

----------------------------------------------------------------
lkdtm updates for next

Christophe Leroy (1):
lkdtm/bugs: Don't expect thread termination without CONFIG_UBSAN_TRAP

Jiasheng Jiang (1):
lkdtm/bugs: Check for the NULL pointer after calling kmalloc

Kees Cook (4):
lkdtm/heap: Note conditions for SLAB_LINEAR_OVERFLOW
lkdtm/usercopy: Expand size of "out of frame" object
lkdtm: Move crashtype definitions into each category
lkdtm: Add CFI_BACKWARD to test ROP mitigations

----------------------------------------------------------------

drivers/misc/lkdtm/bugs.c | 96 +++++++++++++++------
drivers/misc/lkdtm/cfi.c | 145 +++++++++++++++++++++++++++++++-
drivers/misc/lkdtm/core.c | 138 +++++++-----------------------
drivers/misc/lkdtm/fortify.c | 17 +++-
drivers/misc/lkdtm/heap.c | 47 ++++++++---
drivers/misc/lkdtm/lkdtm.h | 142 ++++++++-----------------------
drivers/misc/lkdtm/perms.c | 47 ++++++++---
drivers/misc/lkdtm/powerpc.c | 11 ++-
drivers/misc/lkdtm/refcount.c | 65 +++++++++-----
drivers/misc/lkdtm/stackleak.c | 11 ++-
drivers/misc/lkdtm/usercopy.c | 49 ++++++++---
tools/testing/selftests/lkdtm/config | 2 +
tools/testing/selftests/lkdtm/tests.txt | 1 +
13 files changed, 471 insertions(+), 300 deletions(-)

--
Kees Cook