aboutsummaryrefslogtreecommitdiff
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2019-01-30 02:53:21 +0100
committerAlex Deucher <alexander.deucher@amd.com>2019-02-15 11:15:37 -0500
commit021830d24ba55a578f602979274965344c8e6284 (patch)
tree5fe70a4455cea94a2b5b2385bb04cfc523a864d9 /drivers/devfreq
parent2a84e48e9712ea8591a10dd59d59ccab3d54efd6 (diff)
drm/amdgpu: Check if fd really is an amdgpu fd.
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>
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions