commit | 3364cd28906d87f0c77754998679bb66639d4112 | [log] [tgz] |
---|---|---|
author | Arto Merilainen <amerilainen@nvidia.com> | Wed May 29 13:26:05 2013 +0300 |
committer | Thierry Reding <thierry.reding@gmail.com> | Sat Jun 22 12:43:53 2013 +0200 |
tree | fdd2d07872db8694df523fb64bc8779fe9f55f23 | |
parent | afac0e43c6c98473cce18fdeb5f7dda86dcf244f [diff] |
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>