]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: information leak in amdgpu_info_ioctl()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 28 Jul 2015 15:51:29 +0000 (18:51 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Jul 2015 19:50:37 +0000 (15:50 -0400)
commitbefcb635e7732c0703c2fb77a6f9fdfeb4f0f99d
tree77f1c1f4cf876efdafc19a52720d6be2f645d780
parent6b26b62cdbe22a9d575c242cbb0f5756bf580a4d
drm/amdgpu: information leak in amdgpu_info_ioctl()

We recently changed the drm_amdgpu_info_device struct so now there is
a 4 byte hole at the end.  We need to initialize it so we don't disclose
secret information from the stack.

Fixes: 592682951619 ('drm/amdgpu: add VCE harvesting instance query')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c