aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2024-08-14 17:57:03 -0700
committerPalmer Dabbelt <[email protected]>2024-08-31 17:43:38 -0700
commitb686ecdeacf6658e1348c1a32a08e2e72f7c0f00 (patch)
treeb2c17c1d91bd7c7485b5d784032031c2d597d2fb /tools/perf/scripts/python/task-analyzer.py
parent84cfab9a1805f8e300e945f26e3fdff6d125bc20 (diff)
riscv: misaligned: Restrict user access to kernel memory
raw_copy_{to,from}_user() do not call access_ok(), so this code allowed userspace to access any virtual memory address. Cc: [email protected] Fixes: 7c83232161f6 ("riscv: add support for misaligned trap handling in S-mode") Fixes: 441381506ba7 ("riscv: misaligned: remove CONFIG_RISCV_M_MODE specific code") Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions