]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:17:20 +0000 (10:17 +0100)
commite8469ef3d480130a47008f523c9808ffc05fe31e
tree869a5c7e54b4680b2427e1feda84a5ed353413c2
parent5487edb7b8ede8a6f2d034a6da6ee4a56f5b1626
drm/imagination: Disallow exporting of PM/FW protected objects

commit 6b991ad8dc3abfe5720fc2e9ee96be63ae43e362 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/imagination/pvr_gem.c