Skip to content

Fix illegal access in IOMMU debugfs

Guanghui Feng linux-iommu lkml 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2iommu/amd: Fix illegal device-id access in IOMMU debugfsdrivers/iommu/amd/debugfs.c+12 -91 reply
2/2iommu/amd: Fix illegal cap/mmio access in IOMMU debugfsdrivers/iommu/amd/debugfs.c+19 -231 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchVasant Hegde
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix illegal access in IOMMU debugfs

In AMD IOMMU debugfs,
1. set the device, address, and other information to be accessed
2. After verifying the legitimacy of the device, address, and other information in step 1, access and obtain the information

However, before actually accessing the device, invalid device or address information might be set again after the legitimacy verification in step 2, thus triggering an unauthorized access issue.

Guanghui Feng (2):
iommu/amd: Fix illegal device-id access in IOMMU debugfs iommu/amd: Fix illegal cap/mmio access in IOMMU debugfs

 drivers/iommu/amd/debugfs.c | 63 ++++++++++++++++++-------------------
 1 file changed, 31 insertions(+), 32 deletions(-)
Signature · 1 line
2.43.7