[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z7RgpaLeIPMQ7kgp@shell.armlinux.org.uk>
Date: Tue, 18 Feb 2025 10:27:49 +0000
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: mm: Don't use %pK through printk
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!
Powered by blists - more mailing lists