]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: s390: Don't use %pK through tracepoints
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 17 Feb 2025 13:13:56 +0000 (14:13 +0100)
committerJanosch Frank <frankja@linux.ibm.com>
Mon, 17 Mar 2025 08:55:46 +0000 (08:55 +0000)
commit6c9567e0850be2f0f94ab64fa6512413fd1a1eb1
treeaba6b66ee20946cf5a9628360e29630c3fbc3525
parenta64dcfb451e254085a7daee5fe51bf22959d52d3
KVM: s390: Don't use %pK through tracepoints

Restricted pointers ("%pK") are not meant to be used through TP_format().
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>
Reviewed-by: Michael Mueller <mimu@linux.ibm.com>
Link: https://lore.kernel.org/r/20250217-restricted-pointers-s390-v1-1-0e4ace75d8aa@linutronix.de
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Message-ID: <20250217-restricted-pointers-s390-v1-1-0e4ace75d8aa@linutronix.de>
arch/s390/kvm/trace-s390.h