summaryrefslogtreecommitdiff
path: root/drivers/gpu/tests/git@radix-linux.su:pub
diff options
context:
space:
mode:
authorMatt Evans <mattev@meta.com>2026-05-11 17:58:24 +0300
committerAlex Williamson <alex@shazbot.org>2026-05-14 20:39:03 +0300
commit702809dabdecca807bdd50cfdcc1c980feb2ba62 (patch)
treedbbe83b2e8867cd6415020c4a7ab68960fb06a0f /drivers/gpu/tests/git@radix-linux.su:pub
parent05f2a68b407a6817fe141dd64972c6ab8725312d (diff)
downloadlinux-702809dabdecca807bdd50cfdcc1c980feb2ba62.tar.xz
vfio/pci: Check BAR resources before exporting a DMABUF
A DMABUF exports access to BAR resources and, although they are requested at startup time, we need to ensure they really were reserved before exporting. Otherwise, it's possible to access unreserved resources through the export. Add a check to the DMABUF-creation path. Fixes: 5d74781ebc86c ("vfio/pci: Add dma-buf export support for MMIO regions") Signed-off-by: Matt Evans <mattev@meta.com> Link: https://lore.kernel.org/r/20260511145829.2993601-3-mattev@meta.com Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'drivers/gpu/tests/git@radix-linux.su:pub')
0 files changed, 0 insertions, 0 deletions