On Mon, Aug 31, 2020 at 01:30:02PM +0200, Borislav Petkov wrote: > AFAICT, that STACK_TYPE_UNKNOWN gets set only by the plain > get_stack_info() function - not by the _noinstr() variant so you'd need > to check the return value of latter... You are right, it needs to check the return value of get_stack_info_noinstr() instead of STACK_TYPE_UNKNOWN. Fixed that now. Regards, Joerg