summaryrefslogtreecommitdiff
path: root/scripts/reference_init.pl
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2026-01-11 17:51:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-16 18:43:47 +0300
commit06d5a7afe1d0b47102936d8fba568572c2b4b941 (patch)
treeaa562c663e72cee620109f9d9e7118b61a3f1c25 /scripts/reference_init.pl
parent054e1c0e6114aaf08672c5ad25d796362bc7e76b (diff)
downloadlinux-06d5a7afe1d0b47102936d8fba568572c2b4b941.tar.xz
mei: trace: treat reg parameter as string
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 'scripts/reference_init.pl')
0 files changed, 0 insertions, 0 deletions