Skip to content

KVM: s390: Don't use %pK through debug printing or tracepoints

Thomas Weißschuh kvm linux-s390 lkml 1 version In review

Get series with b4
b4 am 20250217-restricted-pointers-s390-v1-0-0e4ace75d8aa@linutronix.de change-id 20250217-restricted-pointers-s390-3e93b67a9996

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: s390: Don't use %pK through tracepointsarch/s390/kvm/trace-s390.h+2 -21 reply
2/2KVM: s390: Don't use %pK through debug printingarch/s390/kvm/intercept.c arch/s390/kvm/interrupt.c arch/s390/kvm/kvm-s390.c+10 -103 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMichael Mueller
1/2R-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: s390: Don't use %pK through debug printing or tracepoints

Restricted pointers ("%pK") are only meant to be used when directly printing to a file from task context.
Otherwise it can unintentionally expose security sensitive, raw pointer values.

Use regular pointer formatting instead.

---
Thomas Weißschuh (2):
KVM: s390: Don't use %pK through tracepoints
KVM: s390: Don't use %pK through debug printing

 arch/s390/kvm/intercept.c  |  2 +-
 arch/s390/kvm/interrupt.c  |  8 ++++----
 arch/s390/kvm/kvm-s390.c   | 10 +++++-----
 arch/s390/kvm/trace-s390.h |  4 ++--
 4 files changed, 12 insertions(+), 12 deletions(-)

---
base-commit: 0ad2507d5d93f39619fc42372c347d6006b64319
change-id: 20250217-restricted-pointers-s390-3e93b67a9996

Best regards,

Signature · 1 line
Thomas Weißschuh <[email protected]>