[PATCH] mtd: nand: qpic_common: fix BAM transaction memory leak

Miquel Raynal miquel.raynal at bootlin.com
Tue Nov 17 06:23:26 PST 2026


On Sun, 15 Nov 2026 15:20:01 +0800, Felix Gu wrote:
> qcom_nandc_alloc() allocates the BAM transaction, but
> qcom_nandc_unalloc() does not free it. This leaks the transaction on
> controller removal and probe failures after successful allocation.
> 
> Release it in qcom_nandc_unalloc().
> 
> 
> [...]

Applied to nand/next, thanks!

[1/1] mtd: nand: qpic_common: fix BAM transaction memory leak
      commit: a53bc9468f7c4461d51c66cbe949d0fbca37f7f6

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl




More information about the linux-mtd mailing list