aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2019-08-06 08:14:09 +0800
committerJoerg Roedel <[email protected]>2019-08-09 17:35:25 +0200
commit3a18844dcf89e636b2d0cbf577e3963b0bcb6d23 (patch)
treed2e1a012c4e47e8a5d1740ae19f12d366ebac4b4 /lib/test_overflow.c
parentae23bfb68f2896835e54a137688906713cb607e7 (diff)
iommu/vt-d: Fix possible use-after-free of private domain
Multiple devices might share a private domain. One real example is a pci bridge and all devices behind it. When remove a private domain, make sure that it has been detached from all devices to avoid use-after-free case. Cc: Ashok Raj <[email protected]> Cc: Jacob Pan <[email protected]> Cc: Kevin Tian <[email protected]> Cc: Alex Williamson <[email protected]> Fixes: 942067f1b6b97 ("iommu/vt-d: Identify default domains replaced with private") Signed-off-by: Lu Baolu <[email protected]> Tested-by: Alex Williamson <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions