linux/drivers/mtd/ubi
Richard Weinberger e69001acba UBI: Fix double free after do_sync_erase()
commit aa5ad3b6eb upstream.

If the erase worker is unable to erase a PEB it will
free the ubi_wl_entry itself.
The failing ubi_wl_entry must not free()'d again after
do_sync_erase() returns.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-16 06:59:30 -08:00
..
Kconfig UBI: Wire-up fastmap 2012-10-03 16:39:37 +03:00
Makefile UBI: Wire-up fastmap 2012-10-03 16:39:37 +03:00
attach.c UBI: fix error return code 2014-01-02 17:16:01 +02:00
build.c UBI: fix error return code 2014-01-02 17:16:01 +02:00
cdev.c ubi/cdev: switch to fixed_size_llseek() 2013-06-29 12:57:49 +04:00
debug.c UBI: embed ubi_debug_info field in ubi_device struct 2012-12-10 13:38:59 +02:00
debug.h mtd: rename random32() to prandom_u32() 2013-02-04 09:26:28 +02:00
eba.c UBI: Wire-up ->fm_sem 2012-10-03 12:29:37 +03:00
fastmap.c UBI: add missing kmem_cache_free() in process_pool_aeb error path 2014-11-14 08:59:49 -08:00
gluebi.c UBI: gluebi: rename misleading variables 2012-11-30 13:54:41 +02:00
io.c UBI: avoid program operation on NOR flash after erasure interrupted 2014-01-09 18:25:38 +02:00
kapi.c UBI: modify ubi_wl_flush function to clear work queue for a lnum 2012-05-21 11:34:41 +03:00
misc.c UBI: comply with coding style 2012-09-04 09:39:01 +03:00
ubi-media.h UBI: Add fastmap on-flash data structures 2012-10-03 12:29:37 +03:00
ubi.h UBI: embed ubi_debug_info field in ubi_device struct 2012-12-10 13:38:59 +02:00
upd.c UBI: Fix invalid vfree() 2015-01-16 06:59:30 -08:00
vmt.c UBI: introduce helpers dbg_chk_{io, gen} 2012-12-10 13:38:59 +02:00
vtbl.c UBI: introduce helpers dbg_chk_{io, gen} 2012-12-10 13:38:59 +02:00
wl.c UBI: Fix double free after do_sync_erase() 2015-01-16 06:59:30 -08:00