[PATCH 0/6] dmaengine: idxd: More error handling fixes
From: Vinicius Costa Gomes
Date: Mon Oct 12 2026 - 17:38:51 EST
Mostly this series proposes fixes for issues in the error handling
paths of the idxd driver. Patches 1/6, 2/6 and 3/6 are for issues that
have been shown to happen in the real world.
Patch 6/6 is an exception, in the sense that it's not error path
related, it's an issue that I introduced (my scripts were removing
the idxd module after each dmatest run, so I didn't caught this).
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxx>
---
Steve Wahl (2):
dmaengine: idxd: Do not call destroy_workqueue with null idxd->wq
dmaengine: idxd: fix duplicate memory frees on initialization error path
Vinicius Costa Gomes (4):
dmaengine: idxd: Fix potential double free on probe error path
dmaengine: idxd: Fix unwind bounds in device registration error paths
dmaengine: idxd: Fix error code handling in idxd_cdev_open()
dmaengine: idxd: Do not release interrupt handles on terminate_all
drivers/dma/idxd/cdev.c | 8 ++++++--
drivers/dma/idxd/device.c | 11 ++++++++++-
drivers/dma/idxd/idxd.h | 1 +
drivers/dma/idxd/init.c | 21 ++++++---------------
drivers/dma/idxd/irq.c | 1 +
drivers/dma/idxd/sysfs.c | 9 +++++----
6 files changed, 29 insertions(+), 22 deletions(-)
---
base-commit: 42c31fec1ca76b8b5f7759def122d418dff2cd4b
change-id: 20260803-wt-idxd-fixes-1a06bb69b1e0
Best regards,
--
Vinicius