Skip to contentSkip to conversation

CVE-2026-53356: drm/i915/gem: Fix phys BO pread/pwrite with offset

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 1

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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)

The Linux kernel CVE team has assigned CVE-2026-53356 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.7 with commit c6790dc22312f592c1434577258b31c48c72d52a and fixed in 5.10.259 with commit 40f738991058eb3e3530c3006a5bd6fd5e29f035
	Issue introduced in 5.7 with commit c6790dc22312f592c1434577258b31c48c72d52a and fixed in 5.15.210 with commit 1ec8fc63e9cdb22da54e48e536c9204020416fc6
	Issue introduced in 5.7 with commit c6790dc22312f592c1434577258b31c48c72d52a and fixed in 6.1.176 with commit 14469860e2e39b7095dcd658d2bad38a11110a68
	Issue introduced in 5.7 with commit c6790dc22312f592c1434577258b31c48c72d52a and fixed in 6.6.143 with commit 07c33be968d9e0cab6cba38c81850a09942fcb2e
	Issue introduced in 5.7 with commit c6790dc22312f592c1434577258b31c48c72d52a and fixed in 6.12.94 with commit 3bd168dd835b93a3862cd05b0d13c432b115f9d6
	Issue introduced in 5.7 with commit c6790dc22312f592c1434577258b31c48c72d52a and fixed in 6.18.36 with commit 32d4c5d328a3ff995420f4f85163e1e403f43628
	Issue introduced in 5.7 with commit c6790dc22312f592c1434577258b31c48c72d52a and fixed in 7.0.13 with commit dd51a2eeb93bc6faa892ff9083911dd23f82c187
	Issue introduced in 5.7 with commit c6790dc22312f592c1434577258b31c48c72d52a and fixed in 7.1 with commit d21ad938398bca695a511307de38a65889e3b354

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-53356

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	drivers/gpu/drm/i915/gem/i915_gem_phys.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/40f738991058eb3e3530c3006a5bd6fd5e29f035
	https://git.kernel.org/stable/c/1ec8fc63e9cdb22da54e48e536c9204020416fc6
	https://git.kernel.org/stable/c/14469860e2e39b7095dcd658d2bad38a11110a68
	https://git.kernel.org/stable/c/07c33be968d9e0cab6cba38c81850a09942fcb2e
	https://git.kernel.org/stable/c/3bd168dd835b93a3862cd05b0d13c432b115f9d6
	https://git.kernel.org/stable/c/32d4c5d328a3ff995420f4f85163e1e403f43628
	https://git.kernel.org/stable/c/dd51a2eeb93bc6faa892ff9083911dd23f82c187
	https://git.kernel.org/stable/c/d21ad938398bca695a511307de38a65889e3b354