aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorMichael Neuling <[email protected]>2015-11-19 04:44:44 +0000
committerMichael Ellerman <[email protected]>2015-11-23 09:06:31 +0000
commitd2b9d2a5ad5ef04ff978c9923d19730cb05efd55 (patch)
tree204175f5f1983ff920187640fc5263115400083e /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentLinux 4.4-rc2 (diff)
downloadkernel-d2b9d2a5ad5ef04ff978c9923d19730cb05efd55.tar.gz
kernel-d2b9d2a5ad5ef04ff978c9923d19730cb05efd55.zip
powerpc/tm: Block signal return setting invalid MSR state
Currently we allow both the MSR T and S bits to be set by userspace on a signal return. Unfortunately this is a reserved configuration and will cause a TM Bad Thing exception if attempted (via rfid). This patch checks for this case in both the 32 and 64 bit signals code. If both T and S are set, we mark the context as invalid. Found using a syscall fuzzer. Fixes: 2b0a576d15e0 ("powerpc: Add new transactional memory state to the signal context") Cc: [email protected] # v3.9+ Signed-off-by: Michael Neuling <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions