Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Debarshi Dutta 2217e342d5 gpu: nvgpu: check for null pointer access
It is possible to have an invalid combination of the ioctl calls that
could result in a null pointer access in the function
gk20a_event_id_release(). The null pointer access can be prevented by
having a null check for a valid struct gk20a_event_id_data before
accessing its internal variables.

Bug 200462170

Change-Id: I9233479081b7a7659deeaa3b84141381ed302e63
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2006314
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2019-02-06 23:33:31 -08:00
..
2018-12-28 16:16:05 -08:00
2018-06-27 07:30:06 -07:00
2019-02-01 09:45:57 -08:00
2019-02-01 09:45:57 -08:00
2018-11-08 21:42:38 -08:00
2018-07-05 21:48:44 -07:00
2019-02-01 09:45:57 -08:00
2018-11-25 23:54:10 -08:00
2019-01-28 00:05:46 -08:00
2019-02-01 09:45:57 -08:00
2019-02-01 09:45:57 -08:00
2018-12-13 04:56:14 -08:00
2019-01-28 00:05:46 -08:00
2018-10-24 23:16:20 -07:00
2019-02-06 21:13:43 -08:00