Messages in this thread | | | Date | Fri, 26 Apr 2024 10:06:17 -0700 | From | Kees Cook <> | Subject | Re: [PATCH] mm/slub: Avoid recursive loop with kmemleak |
| |
On Fri, Apr 26, 2024 at 03:52:24PM +0100, Catalin Marinas wrote: > On Thu, Apr 25, 2024 at 01:55:23PM -0700, Kees Cook wrote: > > The system will immediate fill up stack and crash when both
Oops, typo from me: "immediately". You'd never guess I'm a native English speaker! :)
> > CONFIG_DEBUG_KMEMLEAK and CONFIG_MEM_ALLOC_PROFILING are enabled. > > Avoid allocation tagging of kmemleak caches, otherwise recursive > > allocation tracking occurs. > > > > Fixes: 279bb991b4d9 ("mm/slab: add allocation accounting into slab allocation and free paths") > > Signed-off-by: Kees Cook <keescook@chromium.org> > > For the kmemleak bits: > > Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Thanks!
-Kees
-- Kees Cook
| |