Re: [PATCH RESEND v3 0/2] dmaengine: idxd: Fix refcount and cleanup issues on module unload
From: Vinod Koul
Date: Wed Aug 20 2025 - 13:39:22 EST
On Tue, 29 Jul 2025 23:03:11 +0800, Yi Sun wrote:
> This patch series addresses two issues related to the device reference
> counting and cleanup path in the idxd driver.
>
> Recent changes introduced improper put_device() calls and duplicated
> cleanup logic, leading to refcount underflow and potential use-after-free
> during module unload.
>
> [...]
Applied, thanks!
[1/2] dmaengine: idxd: Remove improper idxd_free
commit: f41c538881eec4dcf5961a242097d447f848cda6
[2/2] dmaengine: idxd: Fix refcount underflow on module unload
commit: b7cb9a034305d52222433fad10c3de10204f29e7
Best regards,
--
~Vinod