summaryrefslogtreecommitdiff
path: root/tools/lib
diff options
context:
space:
mode:
authorMostafa Saleh <smostafa@google.com>2026-04-30 13:37:24 +0300
committerMarc Zyngier <maz@kernel.org>2026-05-06 19:09:48 +0300
commit9a624ea3f26f40c76bd2c7f77cde30659d42efbd (patch)
treee840645227a6404bcd2ae75e8ffb6540b2e413a1 /tools/lib
parentfc240715fc5003538ff530e3cfb985e7769b7171 (diff)
downloadlinux-9a624ea3f26f40c76bd2c7f77cde30659d42efbd.tar.xz
KVM: arm64: Remove potential UB on nvhe tracing clock update
Sashiko(locally) reports possiblity of division by zero and out-of-bounds bitwise shift in trace_clock_update(). Although the clock update is untrusted, we should at least have some basic checks to avoid undefined behaviours. Reviewed-by: Vincent Donnefort <vdonnefort@google.com> Signed-off-by: Mostafa Saleh <smostafa@google.com> Link: https://patch.msgid.link/20260430103724.2151625-1-smostafa@google.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions