linux-stable/arch/arm
Dan Rosenberg ca8ec012b5 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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2012-02-11 15:37:17 +01:00
..
boot [ARM] 5194/1: update .gitignore 2008-08-12 19:54:09 +01:00
common [ARM] dma-mapping: provide sync_range APIs 2008-08-10 14:05:14 +01:00
configs Merge branch 'omap-rmk' 2008-08-27 23:07:46 +01:00
include/asm ARM: Tighten check for allowable CPSR values 2010-08-26 16:40:11 -07:00
kernel ARM: 6891/1: prevent heap corruption in OABI semtimedop 2012-02-11 15:37:17 +01:00
lib ARM: 6482/2: Fix find_next_zero_bit and related assembly 2010-12-09 13:24:19 -08:00
mach-aaec2000 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-at91 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-clps711x [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-clps7500 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-davinci [ARM] 5249/1: davinci: remove redundant check in davinci_psc_config() 2008-09-17 20:57:04 +01:00
mach-ebsa110 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-ep93xx [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-footbridge [ARM] use bcd2bin/bin2bcd 2008-08-27 20:07:59 +01:00
mach-h720x [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-imx [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-integrator [ARM] fix impd1.c build warning 2008-08-18 13:52:07 +01:00
mach-iop13xx [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-iop32x [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-iop33x [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-ixp4xx [ARM] 5208/1: fsg-setup.c fixes 2008-08-19 16:56:42 +01:00
mach-ixp23xx [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-ixp2000 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-kirkwood [ARM] Kirkwood: instantiate the orion_spi driver in the platform code 2008-08-09 15:38:18 +02:00
mach-ks8695 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-l7200 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-lh7a40x [ARM] 5191/1: ARM: remove CVS keywords 2008-08-16 20:01:18 +01:00
mach-loki [ARM] Move include/asm-arm/plat-orion to arch/arm/plat-orion/include/plat 2008-08-09 13:44:58 +02:00
mach-msm [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-mv78xx0 [ARM] Move include/asm-arm/plat-orion to arch/arm/plat-orion/include/plat 2008-08-09 13:44:58 +02:00
mach-mx2 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-mx3 pcm037: add rts/cts support for serial port 2008-09-02 10:19:29 +02:00
mach-netx [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-ns9xxx [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-omap1 [ARM] omap: fix virtual vs physical address space confusions 2008-09-04 22:21:19 +01:00
mach-omap2 [ARM] omap: fix virtual vs physical address space confusions 2008-09-04 22:21:19 +01:00
mach-orion5x [ARM] Orion: register UART1 on QNAP TS-209 and TS-409 2008-08-21 22:15:17 -04:00
mach-pnx4008 [ARM] fix pnx4008 build errors 2008-08-08 15:13:27 +01:00
mach-pxa ARM: 5300/1: fixup spitz reset during boot 2008-11-13 09:56:03 -08:00
mach-realview [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-rpc ARM: Add i2c_board_info for RiscPC PCF8583 2009-03-16 17:53:03 -07:00
mach-s3c2400 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-s3c2410 [ARM] S3C2443: Fix the S3C2443 clock register definitions 2008-08-26 22:56:22 +01:00
mach-s3c2412 [ARM] JIVE: Fix the spi bus numbering 2008-08-26 22:56:22 +01:00
mach-s3c2440 Merge http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm into for-rmk 2008-08-08 21:10:12 +01:00
mach-s3c2442 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-s3c2443 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-sa1100 MN10300: Move asm-arm/cnt32_to_63.h to include/linux/ 2008-09-24 16:38:17 -07:00
mach-shark [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mach-versatile MN10300: Move asm-arm/cnt32_to_63.h to include/linux/ 2008-09-24 16:38:17 -07:00
mm ARM: 5329/1: Feroceon: fix feroceon_l2_inv_range 2008-11-20 14:54:43 -08:00
nwfpe [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
oprofile [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
plat-iop [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
plat-mxc [ARM] remove unused #include <version.h> 2008-09-04 10:47:14 +01:00
plat-omap [ARM] omap: back out 'internal_clock' support 2008-09-17 21:01:55 +01:00
plat-orion [ARM] Move include/asm-arm/plat-orion to arch/arm/plat-orion/include/plat 2008-08-09 13:44:58 +02:00
plat-s3c [ARM] 4518/1: S3C: Rename watchdog configuration options 2007-07-22 16:44:38 +01:00
plat-s3c24xx [ARM] S3C24XX: pwm.c: stop debugging output 2008-08-26 22:56:21 +01:00
tools [ARM] update mach-types 2008-08-16 09:30:05 +01:00
vfp smp_call_function: get rid of the unused nonatomic/retry argument 2008-06-26 11:24:35 +02:00
Kconfig [ARM] Skip memory holes in FLATMEM when reading /proc/pagetypeinfo 2008-08-27 20:09:28 +01:00
Kconfig-nommu [ARM] 4532/1: allow configuration of processor ID 2007-10-12 23:43:02 +01:00
Kconfig.debug [ARM] CONFIG_DEBUG_STACK_USAGE 2008-01-26 14:50:06 +00:00
Makefile [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00