Subject : [PATCH] mtd: physmap: Fix NULL pointer dereference in error path Submitter : Atsushi Nemoto <anemo@mba.ocn.ne.jp> Date : 2009-03-06 1:43 References : http://marc.info/?l=linux-kernel&m=123630385119025&w=4 Handled-By : Atsushi Nemoto <anemo@mba.ocn.ne.jp> Patch : http://marc.info/?l=linux-kernel&m=123630385119025&w=4 This entry is being used for tracking a regression from 2.6.28. Please don't close it until the problem is fixed in the mainline. Caused by: commit e480814f138cd5d78a8efe397756ba6b6518fdb6 Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Date: Wed Feb 11 13:12:17 2009 -0800 [MTD] [MAPS] physmap: fix wrong free and del_mtd_{partition,device} Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Reported-by: Matthias Kaehlcke <matthias@kaehlcke.net> Tested-by: Matthias Kaehlcke <matthias@kaehlcke.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> First-Bad-Commit : e480814f138cd5d78a8efe397756ba6b6518fdb6
Fixed by commit d58ab5cf09679d8cb4824e22cae900c0eab5ab31 .