Re: [PATCH] ARM: mm: Don't use %pK through printk
From: Russell King (Oracle)
Date: Tue Feb 18 2025 - 05:39:21 EST
On Mon, Feb 17, 2025 at 08:38:37AM +0100, Thomas Weißschuh wrote:
> Restricted pointers ("%pK") are not meant to be used through printk().
> It can unintentionally expose security sensitive, raw pointer values.
>
> Use regular pointer formatting instead.
... which means that the warning is pointless because no one can debug
it when someone reports that this has fired.
While I get the security issue, changing this is severely harmful to
fixing problems should this warning fire.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!