diff options
author | Koichiro Den <[email protected]> | 2023-10-28 01:29:42 +0900 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2023-10-30 11:36:04 -0300 |
commit | e7250ab7ca4998fe026f2149805b03e09dc32498 (patch) | |
tree | df3a20124624a34a43527321699f87f1d9ea31c2 /tools/perf/util/trace-event-scripting.c | |
parent | 03476e687eb07b94f7cdb07cd3c7c4304b6c58b3 (diff) |
iommufd: Fix missing update of domains_itree after splitting iopt_area
In iopt_area_split(), if the original iopt_area has filled a domain and is
linked to domains_itree, pages_nodes have to be properly
reinserted. Otherwise the domains_itree becomes corrupted and we will UAF.
Fixes: 51fe6141f0f6 ("iommufd: Data structure to provide IOVA to PFN mapping")
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Signed-off-by: Koichiro Den <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions