]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
MIPS: Don't use %pK through printk
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Fri, 18 Jul 2025 13:18:24 +0000 (15:18 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 28 Jul 2025 07:58:49 +0000 (09:58 +0200)
commit3ebcbf079c26ab6e82faa7f896b66def55547eee
treeff08632f5be86ab0dda16a820b675214bfafbf21
parent748f8b27b0076379f71848259718cf9360e3a0c0
MIPS: Don't use %pK through printk

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.

Link: https://lore.kernel.org/lkml/20250113171731-dc10e3c1-da64-4af0-b767-7c7070468023@linutronix.de/
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/relocate.c
arch/mips/kvm/mips.c
arch/mips/mm/physaddr.c