diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2024-08-29 16:19:59 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-09-05 17:25:40 +0300 |
commit | 73183ad6ea51029d04b098286dcee98d715015f1 (patch) | |
tree | 4a360ea2d7b902327bf4be5720f8629a8baa2dc1 /rust/helpers/task.c | |
parent | 76889bbaabf5cab981a74ed69cb3816921edc5d4 (diff) | |
download | linux-73183ad6ea51029d04b098286dcee98d715015f1.tar.xz |
iommufd: Check the domain owner of the parent before creating a nesting domain
This check was missed, before we can pass a struct iommu_domain to a
driver callback we need to validate that the domain was created by that
driver.
Fixes: bd529dbb661d ("iommufd: Add a nested HW pagetable object")
Link: https://patch.msgid.link/r/0-v1-c8770519edde+1a-iommufd_nesting_ops_jgg@nvidia.com
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions