We should free the allocated ASID if smmu_init_cd() fails.
Move the allocation of "domain" to simplify the first error path.
Reported by: Kevin Day <kevin@your.org>
Differential D54676
arm64/iommu: Fix a resource leak in smmu_domain_alloc() Authored by markj on Jan 12 2026, 9:16 PM. Tags None Referenced Files
Details We should free the allocated ASID if smmu_init_cd() fails. Move the allocation of "domain" to simplify the first error path. Reported by: Kevin Day <kevin@your.org>
Diff Detail
|