Re: [PATCH 5.10 5.15] vfio/iommu_type1: replace kfree with kvfree
From: Sasha Levin
Date: Sun Jun 21 2026 - 09:50:16 EST
> commit 2bed2ced40c97b8540ff38df0149e8ecb2bf4c65 upstream.
>
> Variables allocated by kvzalloc should not be freed by kfree.
> Because they may be allocated by vmalloc.
> So we replace kfree with kvfree here.
Queued for 5.10 and 5.15, thanks.
--
Thanks,
Sasha