aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMoti Haimovski <[email protected]>2020-08-19 14:40:33 +0000
committerOded Gabbay <[email protected]>2020-08-31 12:10:27 +0000
commit6396feabf7a4104a4ddfecc00b8aac535c631a66 (patch)
treedb334ddac88a5e85ebdc9d9737274f87373fd00d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentLinux 5.9-rc3 (diff)
downloadkernel-6396feabf7a4104a4ddfecc00b8aac535c631a66.tar.gz
kernel-6396feabf7a4104a4ddfecc00b8aac535c631a66.zip
habanalabs: prevent user buff overflow
This commit fixes a potential debugfs issue that may occur when reading the clock gating mask into the user buffer since the user buffer size was not taken into consideration. Signed-off-by: Moti Haimovski <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions