Commit 21450e79 authored by chenmaodong's avatar chenmaodong Committed by Yang Yingliang
Browse files

fix virtio_gpu use-after-free while creating dumb



euleros inclusion
catagery: bugfix
bugzilla: 46917

-------------------------

virtio_gpu drop reference from allocate in virtio_gpu_gem_create when creating
dumb, but after that, this process will continue to use virtio_gpu_object
in virtio_gpu_object_attach, which cause uaf. See defail in bugzilla.

Signed-off-by: default avatarchenmaodong <chenmaodong@huawei.com>
Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarCheng Jian <cj.chengjian@huawei.com>
parent e131b1c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment