Skip to content
Commit c393e9b2 authored by Randy Dunlap's avatar Randy Dunlap Committed by Oded Gabbay
Browse files

drm/amdkfd: fix amdkfd use-after-free GP fault



Fix GP fault caused by dev_info() reference to a struct device*
after the device has been freed (use after free).
kfd_chardev_exit() frees the device so 'kfd_device' should not
be used after calling kfd_chardev_exit().

Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent 8c946b89
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment