Re: [PATCH RESEND] ref_tracker: use %p instead of %px in debugfs dentry name
From: Eric Dumazet
Date: Fri Aug 08 2025 - 07:47:28 EST
On Fri, Aug 8, 2025 at 4:45 AM Jeff Layton <jlayton@xxxxxxxxxx> wrote:
>
> As Kees points out, this is a kernel address leak, and debugging is
> not a sufficiently good reason to expose the real kernel address.
>
> Fixes: 65b584f53611 ("ref_tracker: automatically register a file in debugfs for a ref_tracker_dir")
> Reported-by: Kees Cook <kees@xxxxxxxxxx>
> Closes: https://lore.kernel.org/netdev/202507301603.62E553F93@keescook/
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
> ---
Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>