diff options
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-02-17 10:43:35 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-02-18 11:48:02 +0300 |
commit | ec5fd50aeff9c9156304853c6d75eda852d4a2c8 (patch) | |
tree | 0472f3ff7f36b8a65eacb566650aef89f8583a84 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 2408a807bfc3f738850ef5ad5e3fd59d66168996 (diff) | |
download | linux-ec5fd50aeff9c9156304853c6d75eda852d4a2c8.tar.xz |
uprobes: 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.
For more background, see:
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: Ingo Molnar <mingo@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250217-restricted-pointers-uprobes-v1-1-e8cbe5bb22a7@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions