User-space ASAN can detect use-after-return (UAR) bugs by using fake stack frames, and poisoning and quarantining them on return. KASAN does not support this yet. Some kernel structures are frequently allocated on the stack and shared between threads, e.g. completion. C may be also be more amenable to UARs due raw struct copies (no RAII, no copy ctors, etc). Implementing UAR support may be trickier in the kernel since it will need to work in IRQ/NMI contexts. But perhaps we could do something in best-effort manner and fallback to the real frames on the stack if fake frame allocation fails/cannot be done in the current context. ASAN instrumentation may already support fallback to real frames since UAR detection can be turned off at runtime.