drm/i915/gvt: Verify pfn is "valid" before dereferencing "struct page"
authorjsg <jsg@openbsd.org>
Tue, 19 Sep 2023 12:31:43 +0000 (12:31 +0000)
committerjsg <jsg@openbsd.org>
Tue, 19 Sep 2023 12:31:43 +0000 (12:31 +0000)
commit39cc1c8d7c618f0d62827d80bdaa53085731d068
treeb5e9d404bf130fb530828101513dda8601befdaf
parent2e4f5bb9e0019cd6edb3716d3f0fa08ec49b83dc
drm/i915/gvt: Verify pfn is "valid" before dereferencing "struct page"

From Sean Christopherson
f5738399ed965be3ba734bd039bf96a455bb5ac0 in linux-6.1.y/6.1.54
f046923af79158361295ed4f0a588c80b9fdcc1d in mainline linux
sys/dev/pci/drm/i915/gvt/gtt.c