Files
linux/arch/arm
Dan Rosenberg f40fe91c33 ARM: 6891/1: prevent heap corruption in OABI semtimedop
commit 0f22072ab5 upstream.

When CONFIG_OABI_COMPAT is set, the wrapper for semtimedop does not
bound the nsops argument.  A sufficiently large value will cause an
integer overflow in allocation size, followed by copying too much data
into the allocated buffer.  Fix this by restricting nsops to SEMOPM.
Untested.

Signed-off-by: Dan Rosenberg <drosenberg@vsecurity.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-09 15:54:58 -07:00
..
2010-09-26 17:21:32 -07:00
2009-11-18 10:33:41 -08:00
2009-11-25 22:17:36 +00:00