Re: [PATCH v1] dmaengine: idxd: fix double free of wq, engine, and group structs

From: Vinod Koul

Date: Thu Jul 02 2026 - 11:33:09 EST



On Wed, 15 Apr 2026 16:54:52 -0400, Yuho Choi wrote:
> The release callbacks for wq, engine, and group devices
> (idxd_conf_wq_release, idxd_conf_engine_release,
> idxd_conf_group_release) each call kfree() on the enclosing struct.
> The setup error paths and cleanup functions also call kfree()
> explicitly after put_device(), producing a double free whenever
> put_device() drops the reference count to zero and fires the release.
>
> [...]

Applied, thanks!

[1/1] dmaengine: idxd: fix double free of wq, engine, and group structs
commit: ec2d428b2e32dd157de8f86a86dd85c5b2c8f45c

Best regards,
--
~Vinod