Files
linux/drivers/gpu/drm/amd/amdgpu
Pan Bian 2c528fa3c4 drm/amdgpu: fix potential double drop fence reference
[ Upstream commit 946ab8db69 ]

The object fence is not set to NULL after its reference is dropped. As a
result, its reference may be dropped again if error occurs after that,
which may lead to a use after free bug. To avoid the issue, fence is
explicitly set to NULL after dropping its reference.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-31 16:35:49 +01:00
..
2019-11-06 13:06:02 +01:00
2018-07-17 14:18:28 -05:00
2015-06-03 21:03:15 -04:00
2018-06-15 12:20:38 -05:00
2017-10-20 13:28:44 -04:00
2015-06-03 21:03:15 -04:00
2018-02-19 14:18:10 -05:00
2017-09-26 17:01:32 -04:00
2015-06-03 21:03:17 -04:00
2016-08-31 15:21:09 -04:00
2017-12-27 11:34:02 -05:00
2019-10-07 18:56:58 +02:00
2018-08-21 14:17:36 -05:00
2018-02-19 14:18:11 -05:00