summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2019-01-30 02:53:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-15 14:15:07 +0200
commitf08fb393786d64a97a48bd038e68aec310c31297 (patch)
tree93db9646df1f3fcd7edd4bcc414f7cbc07f76a5f /kernel
parent00cdc297e219798a43bf55a8b1b1df6b6285c8e6 (diff)
downloadlinux-f08fb393786d64a97a48bd038e68aec310c31297.tar.gz
linux-f08fb393786d64a97a48bd038e68aec310c31297.tar.bz2
linux-f08fb393786d64a97a48bd038e68aec310c31297.zip
drm/amdgpu: Check if fd really is an amdgpu fd.
commit 021830d24ba55a578f602979274965344c8e6284 upstream. Otherwise we interpret the file private data as drm & amdgpu data while it might not be, possibly allowing one to get memory corruption. Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions