diff options
author | Vlad Malov <Vlad.Malov@caviumnetworks.com> | 2008-11-19 02:05:46 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-12-04 20:47:26 +0300 |
commit | e807f9574e37a3f202e677feaaad1b7c5d2c0db8 (patch) | |
tree | a9b61e4d8f4e53a81df3bb14df0a4c2b037d8d81 /arch/mips/mti-malta | |
parent | feaf3848a813a106f163013af6fcf6c4bfec92d9 (diff) | |
download | linux-e807f9574e37a3f202e677feaaad1b7c5d2c0db8.tar.xz |
MIPS: Fix potential DOS by untrusted user app.
On a 64 bit kernel if an o32 syscall was made with a syscall number less
than 4000, we would read the function from outside of the bounds of the
syscall table. This led to non-deterministic behavior including system
crashes.
While we were at it we reworked the 32 bit version as well to use fewer
instructions. Both 32 and 64 bit versions are use the same code now.
Signed-off-by: Vlad Malov <Vlad.Malov@caviumnetworks.com>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mti-malta')
0 files changed, 0 insertions, 0 deletions