]> 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)
commitd0fc6ddd3175ac335c1c3fc7aad4fc0974e7a6d0
tree77f1c1f4cf876efdafc19a52720d6be2f645d780
parent4e8cba6135680b1ad6f813b47c3450dcea9342b6
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: 6bd72092aaf6 ('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