mirror-linux/arch
Mostafa Saleh 9a624ea3f2 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>
2026-05-06 17:09:48 +01:00
..
alpha Delete some obsolete networking code 2026-04-24 09:41:58 -07:00
arc bpf-fixes 2026-04-17 15:58:22 -07:00
arm ARM development for 7.1-rc1 2026-04-25 07:44:26 -07:00
arm64 KVM: arm64: Remove potential UB on nvhe tracing clock update 2026-05-06 17:09:48 +01:00
csky arch, mm: consolidate empty_zero_page 2026-04-05 13:53:01 -07:00
hexagon mm.git review status for linus..mm-stable 2026-04-15 12:59:16 -07:00
loongarch LoongArch changes for v7.1 2026-04-24 09:54:45 -07:00
m68k m68k updates for v7.1 2026-04-16 08:11:01 -07:00
microblaze mm: change to return bool for ptep_test_and_clear_young() 2026-04-05 13:53:35 -07:00
mips Delete some obsolete networking code 2026-04-24 09:41:58 -07:00
nios2 mm: convert do_brk_flags() to use vma_flags_t 2026-04-05 13:53:40 -07:00
openrisc arch, mm: consolidate empty_zero_page 2026-04-05 13:53:01 -07:00
parisc parisc architecture fixes and updates for kernel v7.1-rc1: 2026-04-18 11:37:36 -07:00
powerpc Delete some obsolete networking code 2026-04-24 09:41:58 -07:00
riscv RISC-V updates for v7.1 2026-04-24 10:00:37 -07:00
s390 s390/mm: Fix phys_to_folio() usage in do_secure_storage_access() 2026-04-28 14:45:03 +02:00
sh sh: Fix fallout from ZERO_PAGE consolidation 2026-05-03 16:35:40 +02:00
sparc memblock: updates for 7.0-rc1 2026-04-18 11:29:14 -07:00
um Mostly cleanups and small things, notably: 2026-04-20 16:36:46 -07:00
x86 Miscellaneous x86 fixes: 2026-04-24 10:05:42 -07:00
xtensa Xtensa updates for v7.1 2026-04-23 16:40:03 -07:00
.gitignore
Kconfig parisc architecture fixes and updates for kernel v7.1-rc1: 2026-04-18 11:37:36 -07:00