drm/i915/gem: Fix phys BO pread/pwrite with offset
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 07c33be968d9e0cab6cba38c81850a09942fcb2e, Kernel 14469860e2e39b7095dcd658d2bad38a11110a68, Kernel 1ec8fc63e9cdb22da54e48e536c9204020416fc6 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: drm/i915/gem: Fix phys BO pread/pwrite with offset sg_page() returns struct page pointer not (void *) so the scaling of pread/pwrite is wrong for phys BO and wrong parts of BO would be accessed if non-zero offset is used. Last impacted platform with overlay or cursor planes using phys mapping was Gen3/945G/Lakeport. (cherry picked from commit 3e49a2f85070b2fb672c1e0fdba281a4ea3aebe6)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.7, >=c6790dc22312f592c1434577258b31c48c72d52a <07c33be968d9e0cab6cba38c81850a09942fcb2e, >=c6790dc22312f592c1434577258b31c48c72d52a <14469860e2e39b7095dcd658d2bad38a11110a68, >=c6790dc22312f592c1434577258b31c48c72d52a <1ec8fc63e9cdb22da54e48e536c9204020416fc6, >=c6790dc22312f592c1434577258b31c48c72d52a <32d4c5d328a3ff995420f4f85163e1e403f43628, >=c6790dc22312f592c1434577258b31c48c72d52a <3bd168dd835b93a3862cd05b0d13c432b115f9d6, >=c6790dc22312f592c1434577258b31c48c72d52a <40f738991058eb3e3530c3006a5bd6fd5e29f035, >=c6790dc22312f592c1434577258b31c48c72d52a <d21ad938398bca695a511307de38a65889e3b354, >=c6790dc22312f592c1434577258b31c48c72d52a <dd51a2eeb93bc6faa892ff9083911dd23f82c187 | 07c33be968d9e0cab6cba38c81850a09942fcb2e, 14469860e2e39b7095dcd658d2bad38a11110a68, 1ec8fc63e9cdb22da54e48e536c9204020416fc6, 32d4c5d328a3ff995420f4f85163e1e403f43628, 3bd168dd835b93a3862cd05b0d13c432b115f9d6, 40f738991058eb3e3530c3006a5bd6fd5e29f035, d21ad938398bca695a511307de38a65889e3b354, dd51a2eeb93bc6faa892ff9083911dd23f82c187 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket