CVE-2026-68262 PUBLISHED

drm/imagination: Fix user array stride in pvr_set_uobj_array()

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

In the Linux kernel, the following vulnerability has been resolved:

drm/imagination: Fix user array stride in pvr_set_uobj_array()

pvr_set_uobj_array() copies an array of kernel objects to a userspace array whose element size is described by out->stride. When out->stride is different from the kernel object size, the slow path advances the userspace pointer by the kernel object size and the kernel pointer by the userspace stride.

This reverses the intended layout. For larger userspace strides, later copies read from the wrong kernel addresses. For smaller userspace strides, later copies are written at the wrong userspace offsets. The padding clear is also done only for the first element instead of the padding area for each element.

Advance the userspace pointer by out->stride and the kernel pointer by obj_size, and clear per-element padding while the current userspace pointer is still available.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from f99f5f3ea7efd54ba0529c4f2d7c72712918a522 to bbebc39a70f6fc9b02637c8624349e30325873cb (excl.)
  • affected from f99f5f3ea7efd54ba0529c4f2d7c72712918a522 to b983a35dad3701399c692d7c6eb57d8b6ffc0929 (excl.)
  • affected from f99f5f3ea7efd54ba0529c4f2d7c72712918a522 to 09beaf4aec05b0525f2153dce693f3eb3166697a (excl.)
  • affected from f99f5f3ea7efd54ba0529c4f2d7c72712918a522 to 8dc8f3f4c2382fb7d1b1986ba8f33a2466cd3d7a (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.8 is affected
  • unaffected from 0 to 6.8 (excl.)
  • unaffected from 6.12.101 to 6.12.* (incl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc2 to * (incl.)

References