kernel_samsung_a53x/arch/riscv
Jisheng Zhang e1bc326def riscv: define ILLEGAL_POINTER_VALUE for 64bit
commit 5c178472af247c7b50f962495bb7462ba453b9fb upstream.

This is used in poison.h for poison pointer offset. Based on current
SV39, SV48 and SV57 vm layout, 0xdead000000000000 is a proper value
that is not mappable, this can avoid potentially turning an oops to
an expolit.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Fixes: fbe934d69eb7 ("RISC-V: Build Infrastructure")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240705170210.3236-1-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:21:45 +01:00
..
boot Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
configs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
include riscv: Fix TASK_SIZE on 64-bit NOMMU 2024-11-19 11:32:40 +01:00
kernel riscv: Fix fp alignment bug in perf_callchain_user() 2024-11-23 23:21:26 +01:00
lib Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mm riscv/mm: Add handling for VM_FAULT_SIGSEGV in mm_fault_error() 2024-11-23 23:20:20 +01:00
net riscv, bpf: Sign-extend return values 2024-11-08 11:25:45 +01:00
Kbuild Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig riscv: define ILLEGAL_POINTER_VALUE for 64bit 2024-11-23 23:21:45 +01:00
Kconfig.debug Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.socs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile riscv: Enable per-task stack canaries 2024-11-19 11:32:21 +01:00