summaryrefslogtreecommitdiff
path: root/include/asm-mips/git@git.tavy.me:linux.git
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-16 16:43:47 +0100
commit06d5a7afe1d0b47102936d8fba568572c2b4b941 (patch)
treeaa562c663e72cee620109f9d9e7118b61a3f1c25 /include/asm-mips/git@git.tavy.me:linux.git
parent054e1c0e6114aaf08672c5ad25d796362bc7e76b (diff)
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 'include/asm-mips/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions