Home
last modified time | relevance | path

Searched hist:e807f9574e37a3f202e677feaaad1b7c5d2c0db8 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/mips/kernel/
H A Dscall32-o32.Sdiff e807f9574e37a3f202e677feaaad1b7c5d2c0db8 Tue Nov 18 17:05:46 CST 2008 Vlad Malov <Vlad.Malov@caviumnetworks.com> 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>
H A Dscall64-o32.Sdiff e807f9574e37a3f202e677feaaad1b7c5d2c0db8 Tue Nov 18 17:05:46 CST 2008 Vlad Malov <Vlad.Malov@caviumnetworks.com> 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>