]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/imagination: Disallow exporting of PM/FW protected objects
authorAlessio Belle <alessio.belle@imgtec.com>
Mon, 8 Dec 2025 09:11:00 +0000 (09:11 +0000)
committerMatt Coster <matt.coster@imgtec.com>
Thu, 18 Dec 2025 15:39:27 +0000 (15:39 +0000)
commit6b991ad8dc3abfe5720fc2e9ee96be63ae43e362
tree0de607be2fec75db4f3cd4d3d92315288d0411a1
parent2bfca4fe1f36eb6618e5712a8b5b41433bb6f10b
drm/imagination: Disallow exporting of PM/FW protected objects

These objects are meant to be used by the GPU firmware or by the PM unit
within the GPU, in which case they may contain physical addresses.

This adds a layer of protection against exposing potentially exploitable
information outside of the driver.

Fixes: ff5f643de0bf ("drm/imagination: Add GEM and VM related code")
Signed-off-by: Alessio Belle <alessio.belle@imgtec.com>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20251208-no-export-pm-fw-obj-v1-1-83ab12c61693@imgtec.com
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
drivers/gpu/drm/imagination/pvr_gem.c