ACK: [CVE-2017-5577][Yakkety] drm/vc4: Return -EINVAL on the overflow checks failing.

Seth Forshee seth.forshee at canonical.com
Fri May 19 12:31:21 UTC 2017


On Fri, May 19, 2017 at 08:08:32PM +0800, Po-Hsu Lin wrote:
> From: Eric Anholt <eric at anholt.net>
> 
> By failing to set the errno, we'd continue on to trying to set up the
> RCL, and then oops on trying to dereference the tile_bo that binning
> validation should have set up.
> 
> Reported-by: Ingo Molnar <mingo at kernel.org>
> Signed-off-by: Eric Anholt <eric at anholt.net>
> Fixes: d5b1a78a772f ("drm/vc4: Add support for drawing 3D frames.")
> (cherry picked from commit 6b8ac63847bc2f958dd93c09edc941a0118992d9)
> CVE-2017-5577
> Signed-off-by: Po-Hsu Lin <po-hsu.lin at canonical.com>

Acked-by: Seth Forshee <seth.forshee at canonical.com>




More information about the kernel-team mailing list