[PATCH v2] iommu/arm-smmu-v3: Free MSIs in case of ENOMEM

Will Deacon will at kernel.org
Fri Apr 19 08:32:56 PDT 2024


On Wed, 03 Apr 2024 12:37:59 +0700, Aleksandr Aprelkov wrote:
> If devm_add_action() returns ENOMEM, then MSIs allocated but
> not freed on teardown.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> 

Applied to will (for-joerg/arm-smmu/updates), thanks!

[1/1] iommu/arm-smmu-v3: Free MSIs in case of ENOMEM
      https://git.kernel.org/will/c/80fea979dd9d

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list