Files
linux/arch
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:43 -07:00
2010-01-18 10:19:11 -08:00
2010-01-18 10:19:11 -08:00
2010-07-05 11:10:49 -07:00
2010-01-18 10:19:11 -08:00
2010-01-18 10:19:11 -08:00
2010-01-18 10:19:11 -08:00
2011-03-02 09:46:49 -05:00
2010-01-18 10:19:11 -08:00
2010-04-26 07:41:17 -07:00
2010-07-05 11:10:50 -07:00