xref: /openbmc/linux/tools/testing/selftests/lkdtm/tests.txt (revision b97d6790d03b763eca08847a9a5869a4291b9f9a)
146d1a0f0SKees Cook#PANIC
246d1a0f0SKees CookBUG kernel BUG at
346d1a0f0SKees CookWARNING WARNING:
446d1a0f0SKees CookWARNING_MESSAGE message trigger
546d1a0f0SKees CookEXCEPTION
646d1a0f0SKees Cook#LOOP Hangs the system
746d1a0f0SKees Cook#EXHAUST_STACK Corrupts memory on failure
846d1a0f0SKees Cook#CORRUPT_STACK Crashes entire system on success
946d1a0f0SKees Cook#CORRUPT_STACK_STRONG Crashes entire system on success
10*2a79a7e8SRicardo CañueloARRAY_BOUNDS call trace:|UBSAN: array-index-out-of-bounds
1146d1a0f0SKees CookCORRUPT_LIST_ADD list_add corruption
1246d1a0f0SKees CookCORRUPT_LIST_DEL list_del corruption
1346d1a0f0SKees CookSTACK_GUARD_PAGE_LEADING
1446d1a0f0SKees CookSTACK_GUARD_PAGE_TRAILING
15d46e58efSKees CookREPORT_STACK_CANARY repeat:2 ok: stack canaries differ
16c2eb472bSKees CookUNSET_SMEP pinned CR4 bits changed:
1746d1a0f0SKees CookDOUBLE_FAULT
18ae56942cSKees CookCORRUPT_PAC
1946d1a0f0SKees CookUNALIGNED_LOAD_STORE_WRITE
209c4f6ebcSKees CookSLAB_LINEAR_OVERFLOW
219c4f6ebcSKees CookVMALLOC_LINEAR_OVERFLOW
2246d1a0f0SKees Cook#WRITE_AFTER_FREE Corrupts memory on failure
230acbdbc7SKees CookREAD_AFTER_FREE call trace:|Memory correctly poisoned
2446d1a0f0SKees Cook#WRITE_BUDDY_AFTER_FREE Corrupts memory on failure
250acbdbc7SKees CookREAD_BUDDY_AFTER_FREE call trace:|Memory correctly poisoned
2637a0ca7fSKees CookSLAB_INIT_ON_ALLOC Memory appears initialized
2737a0ca7fSKees CookBUDDY_INIT_ON_ALLOC Memory appears initialized
2846d1a0f0SKees CookSLAB_FREE_DOUBLE
2946d1a0f0SKees CookSLAB_FREE_CROSS
3046d1a0f0SKees CookSLAB_FREE_PAGE
3146d1a0f0SKees Cook#SOFTLOCKUP Hangs the system
3246d1a0f0SKees Cook#HARDLOCKUP Hangs the system
3346d1a0f0SKees Cook#SPINLOCKUP Hangs the system
3446d1a0f0SKees Cook#HUNG_TASK Hangs the system
3546d1a0f0SKees CookEXEC_DATA
3646d1a0f0SKees CookEXEC_STACK
3746d1a0f0SKees CookEXEC_KMALLOC
3846d1a0f0SKees CookEXEC_VMALLOC
3946d1a0f0SKees CookEXEC_RODATA
4046d1a0f0SKees CookEXEC_USERSPACE
4146d1a0f0SKees CookEXEC_NULL
4246d1a0f0SKees CookACCESS_USERSPACE
4346d1a0f0SKees CookACCESS_NULL
4446d1a0f0SKees CookWRITE_RO
4546d1a0f0SKees CookWRITE_RO_AFTER_INIT
4646d1a0f0SKees CookWRITE_KERN
475e5a6c54SChristophe LeroyWRITE_OPD
4846d1a0f0SKees CookREFCOUNT_INC_OVERFLOW
4946d1a0f0SKees CookREFCOUNT_ADD_OVERFLOW
5046d1a0f0SKees CookREFCOUNT_INC_NOT_ZERO_OVERFLOW
5146d1a0f0SKees CookREFCOUNT_ADD_NOT_ZERO_OVERFLOW
5246d1a0f0SKees CookREFCOUNT_DEC_ZERO
5346d1a0f0SKees CookREFCOUNT_DEC_NEGATIVE Negative detected: saturated
5446d1a0f0SKees CookREFCOUNT_DEC_AND_TEST_NEGATIVE Negative detected: saturated
5546d1a0f0SKees CookREFCOUNT_SUB_AND_TEST_NEGATIVE Negative detected: saturated
5646d1a0f0SKees CookREFCOUNT_INC_ZERO
5746d1a0f0SKees CookREFCOUNT_ADD_ZERO
5846d1a0f0SKees CookREFCOUNT_INC_SATURATED Saturation detected: still saturated
5946d1a0f0SKees CookREFCOUNT_DEC_SATURATED Saturation detected: still saturated
6046d1a0f0SKees CookREFCOUNT_ADD_SATURATED Saturation detected: still saturated
6146d1a0f0SKees CookREFCOUNT_INC_NOT_ZERO_SATURATED
6246d1a0f0SKees CookREFCOUNT_ADD_NOT_ZERO_SATURATED
6346d1a0f0SKees CookREFCOUNT_DEC_AND_TEST_SATURATED Saturation detected: still saturated
6446d1a0f0SKees CookREFCOUNT_SUB_AND_TEST_SATURATED Saturation detected: still saturated
6546d1a0f0SKees Cook#REFCOUNT_TIMING timing only
6646d1a0f0SKees Cook#ATOMIC_TIMING timing only
67d2b8060fSKees CookUSERCOPY_SLAB_SIZE_TO
68d2b8060fSKees CookUSERCOPY_SLAB_SIZE_FROM
69d2b8060fSKees CookUSERCOPY_SLAB_WHITELIST_TO
70d2b8060fSKees CookUSERCOPY_SLAB_WHITELIST_FROM
7146d1a0f0SKees CookUSERCOPY_STACK_FRAME_TO
7246d1a0f0SKees CookUSERCOPY_STACK_FRAME_FROM
7346d1a0f0SKees CookUSERCOPY_STACK_BEYOND
7446d1a0f0SKees CookUSERCOPY_KERNEL
7546d1a0f0SKees CookSTACKLEAK_ERASING OK: the rest of the thread stack is properly erased
7646d1a0f0SKees CookCFI_FORWARD_PROTO
772e53b877SKees CookCFI_BACKWARD call trace:|ok: control flow unchanged
78325bf6d8SKees CookFORTIFY_STRSCPY detected buffer overflow
79325bf6d8SKees CookFORTIFY_STR_OBJECT detected buffer overflow
80325bf6d8SKees CookFORTIFY_STR_MEMBER detected buffer overflow
81325bf6d8SKees CookFORTIFY_MEM_OBJECT detected buffer overflow
82325bf6d8SKees CookFORTIFY_MEM_MEMBER detected field-spanning write
833ba150fbSGanesh GoudarPPC_SLB_MULTIHIT Recovered
84