Searched hist:"3364 cd28906d87f0c77754998679bb66639d4112" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/host1x/ |
H A D | job.c | diff 3364cd28906d87f0c77754998679bb66639d4112 Wed May 29 05:26:05 CDT 2013 Arto Merilainen <amerilainen@nvidia.com> gpu: host1x: Copy gathers before verification
The firewall verified gather buffers before copying them. This allowed a malicious application to rewrite the buffer content by timing the rewrite carefully.
This patch makes the buffer validation occur after copying the buffers.
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
|