summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2026-01-11 16:51:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-30 10:32:25 +0100
commitf1cb33a82818da98baf94a65756fa23c061207a4 (patch)
tree693ce10ea26f444e556f1b5f020657197f889b98 /tools/perf/scripts/python
parentf9b059bda4276f2bb72cb98ec7875a747f042ea2 (diff)
mei: trace: treat reg parameter as string
commit 06d5a7afe1d0b47102936d8fba568572c2b4b941 upstream. The commit afd2627f727b ("tracing: Check "%s" dereference via the field and not the TP_printk format") forbids to emit event with a plain char* without a wrapper. The reg parameter always passed as static string and wrapper is not strictly required, contrary to dev parameter. Use the string wrapper anyway to check sanity of the reg parameters, store it value independently and prevent internal kernel data leaks. Since some code refactoring has taken place, explicit backporting may be needed for kernels older than 6.10. Cc: stable@vger.kernel.org # v6.11+ Fixes: a0a927d06d79 ("mei: me: add io register tracing") Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Link: https://patch.msgid.link/20260111145125.1754912-1-alexander.usyskin@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions