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

Miquel Raynal miquel.raynal at bootlin.com
Thu Dec 5 02:43:25 PST 2024


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



More information about the linux-arm-kernel mailing list