linux/drivers/char/pcmcia
Marcel Holtmann 059819a41d [PATCH] Fix buffer overflow in Omnikey CardMan 4040 driver (CVE-2007-0005)
Based on a patch from Don Howard <dhoward@redhat.com>

When calling write() with a buffer larger than 512 bytes, the
driver's write buffer overflows, allowing to overwrite the EIP and
execute arbitrary code with kernel privileges.

In read(), there exists a similar problem, but coming from the device.
A malicous or buggy device sending more than 512 bytes can overflow
of the driver's read buffer, with the same effects as above.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-06 18:01:04 -08:00
..
cm4000_cs.c [PATCH] Char: timers cleanup 2007-02-12 09:48:30 -08:00
cm4040_cs.c [PATCH] Fix buffer overflow in Omnikey CardMan 4040 driver (CVE-2007-0005) 2007-03-06 18:01:04 -08:00
cm4040_cs.h [PATCH] New Omnikey Cardman 4040 driver 2005-11-13 18:14:10 -08:00
Kconfig [PATCH] New Omnikey Cardman 4000 driver 2005-11-13 18:14:10 -08:00
Makefile [PATCH] New Omnikey Cardman 4000 driver 2005-11-13 18:14:10 -08:00
synclink_cs.c [PATCH] Char: timers cleanup 2007-02-12 09:48:30 -08:00