summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@arm.com>2025-09-17 18:41:39 +0100
committerWill Deacon <will@kernel.org>2025-09-18 15:23:59 +0100
commita29fea30dd93da16652930162b177941abd8c75e (patch)
treea867bc00b331e06c6093b4e816c42e6d5f6421e0 /net/unix/af_unix.c
parent105f56877f2d5f82d71e20b45eb7be7c24c3d908 (diff)
perf: arm_spe: Prevent overflow in PERF_IDX2OFF()
Cast nr_pages to unsigned long to avoid overflow when handling large AUX buffer sizes (>= 2 GiB). Fixes: d5d9696b0380 ("drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension") Signed-off-by: Leo Yan <leo.yan@arm.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions