diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-04-18 18:04:22 -0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-05-05 09:08:59 +0200 |
commit | 3dd4e846042063bf5481df87a00356ee820288de (patch) | |
tree | cc860f9e11f27e9a64d2922770244053d7e9f872 /drivers/gpu/drm/i915/intel_sprite.c | |
parent | d1f13fd261f4490b3b69c1da87711fd3813c2a9f (diff) |
drm/i915: Validate VBT header before trusting it
Be we read and chase pointers from the VBT, it is prudent to make sure
that those accesses are wholly contained within the MMIO region, or else
we may cause a kernel panic during boot.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Reviewed-by: Shobhit Kumar <shobhit.kumar@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sprite.c')
0 files changed, 0 insertions, 0 deletions