[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121215175347.GA19728@liondog.tnic>
Date: Sat, 15 Dec 2012 18:53:47 +0100
From: Borislav Petkov <bp@...en8.de>
To: Konstantin Khlebnikov <khlebnikov@...nvz.org>
Cc: linux-kernel@...r.kernel.org, Denis Kirjanov <kirjanov@...il.com>,
linux-edac <linux-edac@...r.kernel.org>
Subject: Re: [PATCH 12/12] edac: fix kernel panic on module unloading
On Fri, Dec 14, 2012 at 03:03:10PM +0400, Konstantin Khlebnikov wrote:
> This patch fixes use-after-free and double-free bugs in
> edac_mc_sysfs_exit(). mci_pdev has single reference and put_device()
> calls mc_attr_release() which calls kfree(), thus following
> device_del() works with already released memory. An another kfree() in
> edac_mc_sysfs_exit() releses the same memory again. Great.
Applied and tagged for 3.6 and 3.7 stable.
Thanks.
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists