On Fri, 25 Feb 2011 15:09:34 -0800 Linus Torvalds <[email protected]> wrote:
> On Fri, Feb 25, 2011 at 2:44 PM, <[email protected]> wrote: > > From: Timo Warns <[email protected]> > > > > The kernel automatically evaluates partition tables of storage devices. > > The code for evaluating LDM partitions (in fs/partitions/ldm.c) contains a > > bug that causes a kernel oops on certain corrupted LDM partitions. __A > > kernel subsystem seems to crash, because, after the oops, the kernel no > > longer recognizes newly connected storage devices. > > > > The patch changes ldm_parse_vmdb() to Validate the value of vblk_size. > > Hmm. There was another patch from Timo that was supposed to fix a heap > overflow too. I'm wondering what happened to that one? Was it > superfluous? > I'm unsure which patch you're referring to here. There's commit fa7ea87a057958a8b7926c1a60a3ca6d696328ed Author: Timo Warns <[email protected]> Date: Thu Feb 17 22:27:40 2011 +0100 fs/partitions: Validate map_count in Mac partition tables Validate number of blocks in map and remove redundant variable. Signed-off-by: Timo Warns <[email protected]> Cc: [email protected] Signed-off-by: Linus Torvalds <[email protected]> but that's already applied. _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
