lkml.org 
[lkml]   [2023]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: (subset) [PATCH] drm/imagination: Fixed oops when misusing ioctl CREATE_HWRT_DATASET
Date
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


\
 
 \ /
  Last update: 2023-12-15 14:13    [W:0.030 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site