aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2024-06-12 08:44:27 +0900
committerMasami Hiramatsu (Google) <[email protected]>2024-06-12 08:44:27 +0900
commit1713b63a07a28a475de94664f783b4cfd2e4fa90 (patch)
tree7abbd076ad664d9ac4299b4a07e1b6a3276b1fd1 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent1b3c86eeea7594eeeb49b8d1c1db0a40f0ce7920 (diff)
x86/shstk: Make return uprobe work with shadow stack
Currently the application with enabled shadow stack will crash if it sets up return uprobe. The reason is the uretprobe kernel code changes the user space task's stack, but does not update shadow stack accordingly. Adding new functions to update values on shadow stack and using them in uprobe code to keep shadow stack in sync with uretprobe changes to user stack. Link: https://lore.kernel.org/all/[email protected]/ Acked-by: Andrii Nakryiko <[email protected]> Acked-by: Rick Edgecombe <[email protected]> Reviewed-by: Oleg Nesterov <[email protected]> Fixes: 488af8ea7131 ("x86/shstk: Wire in shadow stack interface") Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions