On Wed, May 08, 2019 at 01:02:50PM +0200, Borislav Petkov wrote: > >From 28e7f23939208bea639d6cd3d492cde3f65a7e4f Mon Sep 17 00:00:00 2001 > From: Pan Bian <[email protected]> > Date: Thu, 18 Apr 2019 10:27:18 +0800 > > In edac_create_csrow_object(), the reference to the object is not > released when adding the device to the device hierarchy fails > (device_add()). This may result in a memory leak. > > Signed-off-by: Pan Bian <[email protected]> > Signed-off-by: Borislav Petkov <[email protected]> > Cc: Greg KH <[email protected]> > Cc: James Morse <[email protected]> > Cc: Mauro Carvalho Chehab <[email protected]> > Cc: linux-edac <[email protected]> > Link: > https://lkml.kernel.org/r/[email protected] > --- > drivers/edac/edac_mc_sysfs.c | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-)
Reviewed-by: Greg Kroah-Hartman <[email protected]>

