CVE-2026-68262

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

State
Published
Severity
7.1 High
Published
Aug 10, 2026
Updated
Aug 17, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f99f5f3ea7efd54ba0529c4f2d7c72712918a522 to before bbebc39a70f6fc9b02637c8624349e30325873cbAffected
  • f99f5f3ea7efd54ba0529c4f2d7c72712918a522 to before b983a35dad3701399c692d7c6eb57d8b6ffc0929Affected
  • f99f5f3ea7efd54ba0529c4f2d7c72712918a522 to before 09beaf4aec05b0525f2153dce693f3eb3166697aAffected
  • f99f5f3ea7efd54ba0529c4f2d7c72712918a522 to before 8dc8f3f4c2382fb7d1b1986ba8f33a2466cd3d7aAffected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.12.101 through 6.12.*Not affected
  • 6.18.42 through 6.18.*Not affected
  • 7.1.6 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.