]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommu/amd: Fix ivrs_base memleak in early_amd_iommu_init()
authorZhen Ni <zhen.ni@easystack.cn>
Fri, 22 Aug 2025 02:49:15 +0000 (10:49 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 5 Sep 2025 13:11:07 +0000 (15:11 +0200)
commit923b70581cb6acede90f8aaf4afe5d1c58c67b71
tree120cee73b6900c07599fb129969349d189d5c36f
parentb320789d6883cc00ac78ce83bccbfe7ed58afcf0
iommu/amd: Fix ivrs_base memleak in early_amd_iommu_init()

Fix a permanent ACPI table memory leak in early_amd_iommu_init() when
CMPXCHG16B feature is not supported

Fixes: 82582f85ed22 ("iommu/amd: Disable AMD IOMMU if CMPXCHG16B feature is not supported")
Cc: stable@vger.kernel.org
Signed-off-by: Zhen Ni <zhen.ni@easystack.cn>
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/20250822024915.673427-1-zhen.ni@easystack.cn
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd/init.c