title: drm/amd/amdgpu: fix refcount leak
description: In the Linux kernel, the following vulnerability has been resolved:
drm/amd/amdgpu: fix refcount leak
[Why]
the gem object rfb->base.obj[0] is get according to num_planes
in amdgpufb_create, but is not put according to num_planes
[How]
put rfb->base.obj[0] in amdgpu_fbdev_destroy according to num_planes
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 1da177e4c3f4, lessThan: 599e5d61ace9, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: dde2656e0bbb, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 9fdb8ed37a3a, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 95a4ec905e51, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: fa7e6abc75f3, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 4.19.193, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.124, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.42, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.12.9, lessThanOrEqual: 5.12.*, status: unaffected, versionType: custom
version: 5.13, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
