Commit ce29b8f9fb60 for kernel
commit ce29b8f9fb606f87014c2d05483a3fef05a11f38
Merge: 4229f341be8c af1cf92e8617
Author: Dave Airlie <airlied@redhat.com>
Date: Sat Nov 21 07:37:12 2026 +1000
Merge tag 'drm-misc-fixes-2026-11-20' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes
Short summary of fixes pull:
core:
- syncobj: Limit allocations
- vblank: Resolve deadlock in timer
imagination:
- Use correct function for polling non-iomem
ivpu:
- Fix race condition in recovery
nouveau:
- Fix instmem io_mapping faults and slowdowns
omap:
- dss: Fix handling deferrals
qaic:
- Harden ioctl checks
rocket:
- Many fixes throughout driver
tilcdc:
- Fix drvdata in suspend/resume
vc4:
- Many fixes throughout driver
vmwgfx:
- Many fixes throughout driver
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20261120080903.GA18643@linux.fritz.box
diff --cc drivers/gpu/drm/drm_syncobj.c
index 137397972a98,c8a8c49d12fb..6cc654641183
--- a/drivers/gpu/drm/drm_syncobj.c
+++ b/drivers/gpu/drm/drm_syncobj.c
@@@ -1051,7 -1062,7 +1062,7 @@@ static signed long drm_syncobj_array_wa
lockdep_assert_none_held_once();
}
- points = kmalloc_objs(*points, count);
- points = kvmalloc_array(count, sizeof(*points), GFP_KERNEL);
++ points = kvmalloc_objs(*points, count);
if (points == NULL)
return -ENOMEM;
@@@ -1238,7 -1249,10 +1249,10 @@@ static int drm_syncobj_array_find(struc
struct drm_syncobj **syncobjs;
int ret;
- handles = kmalloc_objs(*handles, count_handles);
+ if (count_handles > DRM_SYNCOBJ_MAX_HANDLES)
+ return -EINVAL;
+
- handles = kvmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL);
++ handles = kvmalloc_objs(*handles, count_handles);
if (handles == NULL)
return -ENOMEM;
@@@ -1572,7 -1586,8 +1586,7 @@@ drm_syncobj_timeline_signal_ioctl(struc
if (ret < 0)
return ret;
- points = kmalloc_objs(*points, args->count_handles);
- points = kvmalloc_array(args->count_handles, sizeof(*points),
- GFP_KERNEL);
++ points = kvmalloc_objs(*points, args->count_handles);
if (!points) {
ret = -ENOMEM;
goto out;