(subset) [PATCH] drm/imagination: Fixed oops when misusing ioctl CREATE_HWRT_DATASET
Maxime Ripard
mripard at kernel.org
Fri Dec 15 13:13:04 UTC 2023
On Fri, 08 Dec 2023 16:30:19 +0000, Donald Robson wrote:
> While writing the matching IGT suite I discovered that it's possible to
> cause a kernel oops when using DRM_IOCTL_PVR_CREATE_HWRT_DATASET when
> the call to hwrt_init_common_fw_structure() fails.
>
> Use an unwind-type error path to avoid cleaning up the object using the
> the release function before it is fully resolved.
>
> [...]
Applied to drm/drm-misc (drm-misc-next-fixes).
Thanks!
Maxime
More information about the dri-devel
mailing list