Re: [PATCH next] mtd: rawnand: fix double free in atmel_pmecc_create_user()

From: Miquel Raynal
Date: Thu Dec 05 2024 - 05:44:59 EST


On Wed, 23 Oct 2024 11:40:56 +0300, Dan Carpenter wrote:
> The "user" pointer was converted from being allocated with kzalloc() to
> being allocated by devm_kzalloc(). Calling kfree(user) will lead to a
> double free.
>
>

Applied to mtd/fixes, thanks!

[1/1] mtd: rawnand: fix double free in atmel_pmecc_create_user()

Patche(s) will be available within hours on:
mtd/linux.git

Kind regards,
Miquèl