diff options
| author | Murray McAllister <[email protected]> | 2019-05-20 09:57:34 +0000 |
|---|---|---|
| committer | Thomas Hellstrom <[email protected]> | 2019-05-21 08:23:10 +0000 |
| commit | 5ed7f4b5eca11c3c69e7c8b53e4321812bc1ee1e (patch) | |
| tree | c12fa8f05a0593051fa54565fced2f63c6af22dd /tools/perf/scripts/python | |
| parent | drm/vmwgfx: NULL pointer dereference from vmw_cmd_dx_view_define() (diff) | |
| download | kernel-5ed7f4b5eca11c3c69e7c8b53e4321812bc1ee1e.tar.gz kernel-5ed7f4b5eca11c3c69e7c8b53e4321812bc1ee1e.zip | |
drm/vmwgfx: integer underflow in vmw_cmd_dx_set_shader() leading to an invalid read
If SVGA_3D_CMD_DX_SET_SHADER is called with a shader ID
of SVGA3D_INVALID_ID, and a shader type of
SVGA3D_SHADERTYPE_INVALID, the calculated binding.shader_slot
will be 4294967295, leading to an out-of-bounds read in vmw_binding_loc()
when the offset is calculated.
Cc: <[email protected]>
Fixes: d80efd5cb3de ("drm/vmwgfx: Initial DX support")
Signed-off-by: Murray McAllister <[email protected]>
Reviewed-by: Thomas Hellstrom <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
