mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
f8f9637506b1335c1c44b07231a8517e61e74f0a
[1] With no bound check on prefences and postfences, there is a
possibility of copying more data from the user than intended.
This results in buffer overflow and leads to security threats.
[2] This commit adds the fence check during emu submission and
prevents the cause of buffer overflow.
Bug 3613311
Change-Id: Ifdba184b34e54be0146f080e5383b8430a0b1bcd
Signed-off-by: Arvind M <am@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2723823
Reviewed-by: Martin Radev <mradev@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Gunjan Mehta <gmehta@nvidia.com>
Reviewed-by: Praveen K <kpraveen@nvidia.com>
Tested-by: Martin Radev <mradev@nvidia.com>
GVS: Gerrit_Virtual_Submit
Description
No description provided