Files
linux/drivers
Boris Brezillon 9ad970c8a1 drm/vc4: Fix NULL pointer dereference in vc4_save_hang_state()
commit 17b11b76b8 upstream.

When saving BOs in the hang state we skip one entry of the
kernel_state->bo[] array, thus leaving it to NULL. This leads to a NULL
pointer dereference when, later in this function, we iterate over all
BOs to check their ->madv state.

Fixes: ca26d28bba ("drm/vc4: improve throughput by pipelining binning and rendering jobs")
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180118145821.22344-1-boris.brezillon@free-electrons.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-31 14:03:44 +01:00
..
2017-12-14 09:53:13 +01:00
2017-11-03 09:02:30 -07:00
2018-01-17 09:45:27 +01:00
2018-01-17 09:45:23 +01:00
2017-12-29 17:53:46 +01:00
2018-01-17 09:45:27 +01:00
2017-11-03 09:02:30 -07:00
2018-01-02 20:31:05 +01:00
2017-12-17 15:07:56 +01:00