diff options
author | Matthew Garrett <[email protected]> | 2019-08-19 17:17:47 -0700 |
---|---|---|
committer | James Morris <[email protected]> | 2019-08-19 21:54:15 -0700 |
commit | eb627e17727ebeede70697ae1798688b0d328b54 (patch) | |
tree | 9551483d5fd043ebee8c15e1e580d7587aa070ee /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 38bd94b8a1bd46e6d3d9718c7ff582e4c8ccb440 (diff) |
PCI: Lock down BAR access when the kernel is locked down
Any hardware that can potentially generate DMA has to be locked down in
order to avoid it being possible for an attacker to modify kernel code,
allowing them to circumvent disabled module loading or module signing.
Default to paranoid - in future we can potentially relax this for
sufficiently IOMMU-isolated devices.
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
cc: [email protected]
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions