android_kernel_google_msm/net/nfc
Dan Rosenberg 6ee6b4d65c NFC: Prevent multiple buffer overflows in NCI
commit 67de956ff5 upstream.

Fix multiple remotely-exploitable stack-based buffer overflows due to
the NCI code pulling length fields directly from incoming frames and
copying too much data into statically-sized arrays.

Signed-off-by: Dan Rosenberg <dan.j.rosenberg@gmail.com>
Cc: security@kernel.org
Cc: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
Cc: Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: David S. Miller <davem@davemloft.net>
Acked-by: Ilan Elias <ilane@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-07-16 09:03:50 -07:00
..
llcp NFC: Fix the LLCP Tx fragmentation loop 2012-04-11 15:09:33 -04:00
nci NFC: Prevent multiple buffer overflows in NCI 2012-07-16 09:03:50 -07:00
af_nfc.c NFC: Core code identation fixes 2012-03-06 15:16:25 -05:00
core.c NFC: Core code identation fixes 2012-03-06 15:16:25 -05:00
Kconfig NFC: Initial LLCP support 2011-12-14 14:50:13 -05:00
Makefile NFC: Initial LLCP support 2011-12-14 14:50:13 -05:00
netlink.c NFC: Core code identation fixes 2012-03-06 15:16:25 -05:00
nfc.h NFC: Core code identation fixes 2012-03-06 15:16:25 -05:00
rawsock.c NFC: Return from rawsock_release when sk is NULL 2012-07-16 09:03:50 -07:00