aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/lkdtm
AgeCommit message (Expand)AuthorFilesLines
2024-03-22lkdtm/bugs: Improve warning message for compilers without counted_by supportNathan Chancellor1-1/+1
2024-03-12Merge tag 'slab-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/vba...Linus Torvalds1-1/+1
2024-02-01lkdtm/bugs: In lkdtm_HUNG_TASK() use BUG(), not BUG_ON(1)Douglas Anderson1-1/+1
2024-02-01lkdtm/bugs: Adjust lkdtm_HUNG_TASK() to avoid tail call optimizationDouglas Anderson1-1/+2
2024-02-01lkdtm: Make lkdtm_do_action() return to avoid tail call optimizationDouglas Anderson1-8/+14
2024-01-22mm/slub: unify all sl[au]b parameters with "slab_$param"Xiongwei Song1-1/+1
2023-12-01lkdtm: Add kfence read after free crash typeStephen Boyd1-0/+60
2023-11-08Merge tag 'riscv-for-linus-6.7-rc1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+11
2023-10-27lkdtm: Fix CFI_BACKWARD on RISC-VSami Tolvanen1-2/+11
2023-09-28lkdtm/bugs: add test for panic() with stuck secondary CPUsMark Rutland1-1/+29
2023-08-17lkdtm: Add FAM_BOUNDS test for __counted_byKees Cook1-3/+44
2023-08-15list: Introduce CONFIG_LIST_HARDENEDMarco Elver1-2/+2
2023-07-03Merge tag 'char-misc-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2023-06-27Merge tag 'hardening-v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2023-06-07lkdtm: Avoid objtool/ibt warningPeter Zijlstra1-0/+1
2023-05-31lkdtm: replace ll_rw_block with submit_bhYue Zhao1-1/+1
2023-05-30lkdtm/bugs: Switch from 1-element array to flexible arrayKees Cook1-2/+2
2023-04-14lkdtm/stackleak: Fix noinstr violationJosh Poimboeuf1-0/+6
2023-01-05fortify: Use __builtin_dynamic_object_size() when availableKees Cook1-0/+1
2022-12-14lkdtm: cfi: Make PAC test work with GCC 7 and 8Kristina Martsenko1-1/+5
2022-10-03Merge tag 'hardening-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-13/+83
2022-09-26treewide: Drop function_nocfiSami Tolvanen1-1/+1
2022-09-26lkdtm: Emit an indirect call for CFI testsSami Tolvanen1-6/+9
2022-09-07lkdtm: Update tests for memcpy() run-time warningsKees Cook1-13/+83
2022-08-04Merge tag 'char-misc-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2022-08-02Merge tag 'hardening-v5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2022-07-28drivers: lkdtm: fix clang -Wformat warningJustin Stitt1-1/+1
2022-07-27drivers: lkdtm: fix clang -Wformat warningJustin Stitt1-1/+1
2022-07-20lkdtm: Disable return thunks in rodata.cJosh Poimboeuf1-3/+6
2022-06-27lkdtm: cfi: use NULL for a null pointer rather than zeroColin Ian King1-1/+1
2022-06-03Merge tag 'char-misc-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds11-308/+560
2022-05-17lkdtm/heap: Hide allocation size from -Warray-boundsKees Cook1-0/+1
2022-05-17lkdtm/usercopy: Check vmalloc and >0-order foliosKees Cook1-0/+83
2022-05-11lkdtm/usercopy: Rename "heap" to "slab"Kees Cook1-15/+15
2022-05-08lkdtm/stackleak: fix CONFIG_GCC_PLUGIN_STACKLEAK=nMark Rutland1-1/+11
2022-05-08lkdtm/stackleak: check stack boundariesMark Rutland1-0/+20
2022-05-08lkdtm/stackleak: prevent unexpected stack usageMark Rutland1-1/+23
2022-05-08lkdtm/stackleak: rework boundary managementMark Rutland1-39/+47
2022-05-08lkdtm/stackleak: avoid spurious failureMark Rutland1-7/+0
2022-04-26lkdtm: cfi: Fix type width for masking PAC bitsKees Cook1-1/+1
2022-04-16lkdtm: Add CFI_BACKWARD to test ROP mitigationsKees Cook1-0/+134
2022-04-12lkdtm: Move crashtype definitions into each categoryKees Cook11-292/+301
2022-04-12lkdtm/bugs: Don't expect thread termination without CONFIG_UBSAN_TRAPChristophe Leroy2-5/+8
2022-04-12lkdtm/usercopy: Expand size of "out of frame" objectKees Cook1-3/+14
2022-04-12lkdtm/heap: Note conditions for SLAB_LINEAR_OVERFLOWKees Cook1-0/+6
2022-04-12lkdtm/bugs: Check for the NULL pointer after calling kmallocJiasheng Jiang1-0/+5
2022-03-28Merge tag 'char-misc-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+3
2022-02-25lkdtm/fortify: Swap memcpy() for strncpy()Kees Cook1-3/+3
2022-02-16lkdtm: Add a test for function descriptors protectionChristophe Leroy3-0/+24
2022-02-16lkdtm: Fix execute_[user]_location()Christophe Leroy1-9/+28
2022-02-16lkdtm: Really write into kernel text in WRITE_KERNChristophe Leroy1-3/+5
2022-02-16lkdtm: Force do_nothing() out of lineChristophe Leroy1-2/+2
2022-01-14Merge tag 'char-misc-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds3-9/+15
2021-12-16lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()Christophe Leroy1-1/+1
2021-12-16lkdtm: avoid printk() in recursive_loop()Ard Biesheuvel1-7/+9
2021-12-16lkdtm: Note that lkdtm_kernel_info should be removed in the futureKees Cook1-1/+5
2021-12-09powerpc/64s: Move hash MMU support code under CONFIG_PPC_64S_HASH_MMUNicholas Piggin1-1/+1
2021-12-09powerpc/64s: Make hash MMU support configurableNicholas Piggin1-1/+1
2021-10-25lkdtm/bugs: Check that a per-task stack canary existsKees Cook3-0/+79
2021-09-10lkdtm: Use init_uts_ns.name instead of macrosKees Cook2-11/+27
2021-08-19lkdtm: remove IDE_CORE_CP crashpointKevin Mitchell1-1/+0
2021-08-19lkdtm: replace SCSI_DISPATCH_CMD with SCSI_QUEUE_RQKevin Mitchell1-1/+1
2021-08-18lkdtm/heap: Avoid __alloc_size hint warning for VMALLOC_LINEAR_OVERFLOWKees Cook1-1/+8
2021-08-18lkdtm: Add kernel version to failure hintsKees Cook1-8/+12
2021-08-18lkdtm/fortify: Consolidate FORTIFY_SOURCE testsKees Cook4-54/+57
2021-08-18lkdtm/bugs: Add ARRAY_BOUNDS to selftestsKees Cook1-0/+1
2021-07-21lkdtm: remove duplicated include of init.hWan Jiabing1-1/+0
2021-07-05Merge tag 'char-misc-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds8-16/+213
2021-06-24lkdtm/heap: Add init_on_alloc testsKees Cook3-0/+69
2021-06-24lkdtm: Add CONFIG hints in errors where possibleKees Cook8-11/+116
2021-06-24lkdtm: Enable DOUBLE_FAULT on all architecturesKees Cook1-2/+0
2021-06-24lkdtm/heap: Add vmalloc linear overflow testKees Cook3-3/+25
2021-06-24lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITEKees Cook1-0/+3
2021-06-15arm64: Add ARM64_PTR_AUTH_KERNEL config optionDaniel Kiss1-3/+3
2021-04-27Merge tag 'cfi-v5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ke...Linus Torvalds1-1/+1
2021-04-08lkdtm: use function_nocfiSami Tolvanen1-1/+1
2021-04-08lkdtm: Add REPORT_STACK for checking stack offsetsKees Cook3-0/+19
2021-01-14drivers/misc/lkdtm: disable LTO for rodata.oSami Tolvanen1-0/+1
2020-12-17Merge tag 'powerpc-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds4-0/+127
2020-12-15drivers/misc/lkdtm/lkdtm.h: correct wrong filenames in commentFrancis Laniel1-7/+7
2020-12-15drivers/misc/lkdtm: add new file in LKDTM to test fortified strscpyFrancis Laniel4-0/+87
2020-12-15lkdtm: tests for FORTIFY_SOURCEDaniel Axtens3-0/+54
2020-12-15Merge tag 'char-misc-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-2/+2
2020-12-15lkdtm: disable KASAN for rodata.oMarco Elver1-0/+1
2020-12-09lkdtm: don't move ctors to .rodataMark Rutland2-2/+2
2020-12-04lkdtm/powerpc: Add SLB multihit testGanesh Goudar4-0/+127
2020-09-08lkdtm: remove set_fs-based testsChristoph Hellwig4-29/+0
2020-06-29misc: lkdtm: bugs: At least try to use popuated variableLee Jones1-2/+2
2020-06-29lkdtm: Make arch-specific tests always availableKees Cook2-19/+21
2020-06-29lkdtm/heap: Avoid edge and middle of slabsKees Cook1-4/+5
2020-06-29lkdtm: Avoid more compiler optimizations for bad writesKees Cook3-15/+25
2020-04-23lkdtm: bugs: Fix spelling mistakeGustavo A. R. Silva1-1/+1
2020-04-07drivers/misc/lkdtm/bugs.c: add arithmetic overflow and array bounds checksKees Cook3-0/+81
2020-04-03Merge tag 'char-misc-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-8/+17
2020-03-18lkdtm: arm64: test kernel pointer authenticationAmit Daniel Kachhap3-0/+38
2020-02-10lkdtm/stackleak: Make the test more verboseAlexander Popov1-8/+17
2020-01-14lkdtm/bugs: fix build error in lkdtm_UNSET_SMEPBrendan Higgins1-1/+1
2020-01-14lkdtm/bugs: Make double-fault test always availableKees Cook1-4/+6
2019-12-01Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds3-0/+45
2019-11-26lkdtm: Add a DOUBLE_FAULT crash type on x86Andy Lutomirski3-0/+45
2019-11-25lkdtm: Remove references to CONFIG_REFCOUNT_FULLWill Deacon1-2/+1
2019-11-25locking/refcount: Define constants for saturation and max refcount valuesWill Deacon1-8/+0
2019-09-02Merge 5.3-rc7 into char-misc-nextGreg Kroah-Hartman1-2/+2
2019-08-28lkdtm/bugs: fix build error in lkdtm_EXHAUST_STACKRaul E Rangel1-2/+2
2019-08-19lkdtm: Split WARNING into separate testsKees Cook3-1/+8
2019-08-12lkdtm: Add Control Flow Integrity testKees Cook4-0/+47
2019-07-12Merge tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-12/+3
2019-07-12Merge branch 'akpm' (patches from Andrew)Linus Torvalds3-0/+82
2019-07-12lkdtm/heap: add tests for freelist hardeningKees Cook3-0/+82
2019-07-11Merge tag 'char-misc-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds4-2/+69
2019-07-09Merge tag 'docs-5.3' of git://git.lwn.net/linuxLinus Torvalds1-1/+1
2019-07-08Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2019-06-23lkdtm: Check for SMEP clearing protectionsKees Cook3-0/+68
2019-06-23lkdtm: remove redundant initialization of retColin Ian King1-1/+1
2019-06-14docs: fault-injection: convert docs to ReST and rename to *.rstMauro Carvalho Chehab1-1/+1
2019-06-12lkdtm: no need to check return value of debugfs_create functionsGreg Kroah-Hartman1-11/+2
2019-06-09Merge 5.2-rc4 into char-misc-nextGreg Kroah-Hartman4-28/+28
2019-06-08Merge tag 'char-misc-5.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds4-14/+27
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner1-14/+1
2019-05-27signal: Remove task parameter from force_sigEric W. Biederman1-1/+1
2019-05-24lkdtm: support llvm-objcopyNick Desaulniers1-2/+1
2019-04-07lkdtm/bugs: Adjust recursion test to avoid elisionKees Cook3-10/+21
2019-04-07lkdtm/usercopy: Moves the KERNEL_DS test to non-canonicalKees Cook1-4/+6
2019-01-18lkdtm: change snprintf to scnprintf for possible overflowSilvio Cesare1-2/+2
2019-01-09lkdtm: Add tests for NULL pointer dereferenceChristophe Leroy3-0/+22
2019-01-09lkdtm: Print real addressesChristophe Leroy1-9/+9
2019-01-09lkdtm: Do not depend on BLOCK and clean up headersKees Cook1-9/+0
2018-11-01Merge tag 'stackleak-v4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds4-0/+79
2018-10-26Merge tag 'char-misc-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2018-09-12misc: lkdtm: fixed static variable initializationParth Y Shah1-1/+1
2018-09-04lkdtm: Add a test for STACKLEAKAlexander Popov4-0/+79
2018-09-03lkdtm: Test copy_to_user() on bad kernel pointer under KERNEL_DSJann Horn3-0/+15
2018-03-06lkdtm: Add missing SPDX-License-Identifier lineKees Cook1-0/+1
2018-03-06lkdtm: Relocate code to subdirectoryKees Cook9-0/+1969