CONFIG_HAVE_ARCH_KSTACK_ERASE (not configurable)

configname: CONFIG_HAVE_ARCH_KSTACK_ERASE

Linux Kernel Configuration
└─>General architecture-dependent options
└─>HAVE_ARCH_KSTACK_ERASE
In linux kernel since version 6.17 (release Date: 2025-09-28)  
An architecture should select this if it has the code which
fills the used part of the kernel stack with the KSTACK_ERASE_POISON
value before returning from system calls.