| commit | 2efb223e4be77552c19ec415699a471cf1947052 | [log] [tgz] |
|---|---|---|
| author | Karol Herbst <kherbst@redhat.com> | Wed Oct 07 00:08:09 2020 +0200 |
| committer | Sasha Levin <sashal@kernel.org> | Tue Nov 10 11:41:47 2020 +0000 |
| tree | 7d3375a3a7af41ef71585ed66abc84595be8869c | |
| parent | c991ce994cdfad18776401fa67c012d653e644f9 [diff] |
drm/nouveau/gem: fix "refcount_t: underflow; use-after-free" [ Upstream commit 925681454d7b557d404b5d28ef4469fac1b2e105 ] we can't use nouveau_bo_ref here as no ttm object was allocated and nouveau_bo_ref mainly deals with that. Simply deallocate the object. Signed-off-by: Karol Herbst <kherbst@redhat.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>