diff options
author | Marcel Holtmann | 2007-03-06 22:12:00 +0100 |
---|---|---|
committer | Linus Torvalds | 2007-03-07 03:01:04 +0100 |
commit | 059819a41d4331316dd8ddcf977a24ab338f4300 (patch) | |
tree | f4d93f613001c195d66dffaa5b3593dcaf4e8d53 /drivers/char/Kconfig | |
parent | [PATCH] suspend regression: sysfs deadlock (diff) | |
download | kernel-qcow2-linux-059819a41d4331316dd8ddcf977a24ab338f4300.tar.gz kernel-qcow2-linux-059819a41d4331316dd8ddcf977a24ab338f4300.tar.xz kernel-qcow2-linux-059819a41d4331316dd8ddcf977a24ab338f4300.zip |
[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>
Diffstat (limited to 'drivers/char/Kconfig')
0 files changed, 0 insertions, 0 deletions