Files
linux/drivers
David Riley bc371c3453 UPSTREAM: drm/virtio: Ensure cached capset entries are valid before copying.
virtio_gpu_get_caps_ioctl could return success with invalid data if a
second caller to the function occurred after the entry was created in
virtio_gpu_cmd_get_capset but prior to the virtio_gpu_cmd_capset_cb
callback being called.  This could leak contents of memory as well
since the caps_cache allocation is done without zeroing.

Signed-off-by: David Riley <davidriley@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190605234423.11348-1-davidriley@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 7fdf478a43)
Signed-off-by: Greg Hartman <ghartman@google.com>
BUG: 139386237
Change-Id: I4b984184f3ad77cc48e2d449abc031d1dc8530bd
2019-08-19 11:29:56 -07:00
..
2019-08-04 09:37:11 +02:00
2019-08-16 11:27:10 +02:00
2019-08-16 11:27:10 +02:00
2019-08-16 11:27:10 +02:00
2019-05-14 19:17:53 +02:00
2019-08-16 11:27:10 +02:00
2019-07-26 10:31:53 +02:00
2019-08-06 20:08:18 +02:00
2019-08-16 11:27:10 +02:00
2019-08-16 11:27:10 +02:00
2019-06-09 09:27:18 +02:00
2019-02-12 20:37:21 +01:00
2019-07-26 09:14:05 +02:00
2019-08-11 15:21:36 +02:00
2019-06-15 16:12:59 +02:00
2019-08-16 11:27:10 +02:00
2019-08-04 09:30:55 +02:00
2019-05-31 06:46:14 -07:00