Files
linux/fs
Timo Warns cd60404dee fs/partitions/ldm.c: fix oops caused by corrupted partition table
commit c340b1d640 upstream.

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 validates the value of vblk_size.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Timo Warns <warns@pre-sense.de>
Cc: Eugene Teo <eugeneteo@kernel.sg>
Cc: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Richard Russon <rich@flatcap.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-09 15:55:00 -07:00
..
2010-02-09 04:50:48 -08:00
2010-02-23 07:37:55 -08:00
2010-02-09 04:50:46 -08:00
2009-10-04 15:05:10 -07:00
2010-08-13 13:20:21 -07:00
2009-06-17 00:36:36 -04:00
2009-07-12 12:22:34 -07:00
2009-12-18 14:04:08 -08:00
2009-07-12 12:22:34 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 07:39:30 -07:00
2011-04-22 08:44:15 -07:00
2010-02-09 04:50:47 -08:00
2009-06-17 00:36:37 -04:00
2011-05-09 15:54:50 -07:00
2009-06-18 13:03:46 -07:00
2009-09-24 08:41:47 -04:00
2008-12-31 18:07:43 -05:00
2010-02-23 07:37:44 -08:00
2009-03-31 23:00:26 -04:00
2009-09-24 07:47:27 -04:00
2009-04-07 08:31:16 -07:00
2009-10-04 15:05:10 -07:00
2009-09-23 07:39:29 -07:00
2009-02-18 15:37:53 -08:00