drm/imagination: Fix user array stride in pvr_set_uobj_array()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bbebc39a70f6fc9b02637c8624349e30325873cb, Kernel 09beaf4aec05b0525f2153dce693f3eb3166697a, Kernel 8dc8f3f4c2382fb7d1b1986ba8f33a2466cd3d7a and 4 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f99f5f3ea7efd54ba0529c4f2d7c72712918a522 <bbebc39a70f6fc9b02637c8624349e30325873cb, >=f99f5f3ea7efd54ba0529c4f2d7c72712918a522 <09beaf4aec05b0525f2153dce693f3eb3166697a, >=f99f5f3ea7efd54ba0529c4f2d7c72712918a522 <8dc8f3f4c2382fb7d1b1986ba8f33a2466cd3d7a, >=f99f5f3ea7efd54ba0529c4f2d7c72712918a522 <b983a35dad3701399c692d7c6eb57d8b6ffc0929, =6.8 | bbebc39a70f6fc9b02637c8624349e30325873cb, 09beaf4aec05b0525f2153dce693f3eb3166697a, 8dc8f3f4c2382fb7d1b1986ba8f33a2466cd3d7a, b983a35dad3701399c692d7c6eb57d8b6ffc0929 |
| linux-kernel: Kernel | >=6.19.0 <7.1.6, >=6.8.0 <6.12.101, >=6.13.0 <6.18.42 | 7.1.6, 6.12.101, 6.18.42 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket