Revision 294f6cf48666825d23c9372ef37631232746e40d authored by Timo Warns on 25 February 2011, 22:44:21 UTC, committed by Linus Torvalds on 25 February 2011, 23:07:36 UTC
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.

Signed-off-by: Timo Warns <warns@pre-sense.de>
Cc: Eugene Teo <eugeneteo@kernel.sg>
Acked-by: Richard Russon <ldm@flatcap.org>
Cc: Harvey Harrison <harvey.harrison@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 2876592
History
File Mode Size
amijoy.txt -rw-r--r-- 7.5 KB
appletouch.txt -rw-r--r-- 3.2 KB
atarikbd.txt -rw-r--r-- 25.5 KB
bcm5974.txt -rw-r--r-- 2.2 KB
cd32.txt -rw-r--r-- 535 bytes
cma3000_d0x.txt -rw-r--r-- 2.8 KB
cs461x.txt -rw-r--r-- 2.1 KB
elantech.txt -rw-r--r-- 10.4 KB
ff.txt -rw-r--r-- 7.4 KB
gameport-programming.txt -rw-r--r-- 5.8 KB
iforce-protocol.txt -rw-r--r-- 7.5 KB
input-programming.txt -rw-r--r-- 10.2 KB
input.txt -rw-r--r-- 10.9 KB
interactive.fig -rw-r--r-- 1.4 KB
joystick-api.txt -rw-r--r-- 9.4 KB
joystick-parport.txt -rw-r--r-- 19.5 KB
joystick.txt -rw-r--r-- 20.1 KB
multi-touch-protocol.txt -rw-r--r-- 12.6 KB
notifier.txt -rw-r--r-- 1.7 KB
ntrig.txt -rw-r--r-- 5.4 KB
rotary-encoder.txt -rw-r--r-- 3.3 KB
sentelic.txt -rw-r--r-- 22.2 KB
shape.fig -rw-r--r-- 1.9 KB
walkera0701.txt -rw-r--r-- 3.8 KB
xpad.txt -rw-r--r-- 6.8 KB
yealink.txt -rw-r--r-- 6.0 KB

back to top