android_kernel_motorola_sm6375/arch/arm64
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Radu Rendec 4371ac7b49 arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array
[ Upstream commit 875d742cf5327c93cba1f11e12b08d3cce7a88d2 ]

The loop that detects/populates cache information already has a bounds
check on the array size but does not account for cache levels with
separate data/instructions cache. Fix this by incrementing the index
for any populated leaf (instead of any populated level).

Fixes: 5d425c1865 ("arm64: kernel: add support for cpu cache information")

Signed-off-by: Radu Rendec <rrendec@redhat.com>
Link: https://lore.kernel.org/r/20250206174420.2178724-1-rrendec@redhat.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-03-13 12:43:12 +01:00
..
boot arm64: dts: rockchip: increase gmac rx_delay on rk3399-puma 2025-03-13 12:43:07 +01:00
configs
crypto crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE 2022-08-25 11:17:41 +02:00
include arm64/uprobes: change the uprobe_opcode_t typedef to fix the sparse warning 2024-11-08 16:20:52 +01:00
kernel arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array 2025-03-13 12:43:12 +01:00
kvm KVM: arm64: Allow AArch32 PSTATE.M to be restored as System mode 2024-06-16 13:28:50 +02:00
lib
mm arm64: mm: fix VA-range sanity check 2023-07-27 08:37:42 +02:00
net bpf, arm64: Clear prog->jited_len along prog->jited 2022-06-14 18:11:57 +02:00
xen
Kbuild
Kconfig arm64: errata: Expand speculative SSBS workaround once more 2024-11-08 16:20:42 +01:00
Kconfig.debug
Kconfig.platforms irqchip/exiu: Fix acknowledgment of edge triggered interrupts 2022-06-14 18:11:35 +02:00
Makefile