Re: [PATCH] mm/kmemleak: Fix sleeping function called from invalid context in kmemleak_seq_show
From: Sebastian Andrzej Siewior
Date: Wed Nov 20 2024 - 11:40:55 EST
On 2024-11-20 10:26:02 [-0500], Steven Rostedt wrote:
> The "%pK" dereferences a pointer and there's some SELinux hooks attached to
> that code. The problem is that the SELinux hooks take spinlocks. This would
> not have been an issue if it wasn't for that "%pK" in the format.
That is missing check and I think Thomas Weissschuh wanted to add it. So
we don't call into selinux.
Sebastian