android_kernel_samsung_msm8976/net/bluetooth/hidp
Young Xiao a75346fa69 Bluetooth: hidp: fix buffer overflow
commit a1616a5ac99ede5d605047a9012481ce7ff18b16 upstream.

Struct ca is copied from userspace. It is not checked whether the "name"
field is NULL terminated, which allows local users to obtain potentially
sensitive information from kernel stack memory, via a HIDPCONNADD command.

This vulnerability is similar to CVE-2011-1079.

Signed-off-by: Young Xiao <YangX92@hotmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-27 22:10:36 +02:00
..
Kconfig
Makefile
core.c Bluetooth: hidp: Fix handling of strncpy for hid->name information 2019-07-27 21:51:39 +02:00
hidp.h UPSTREAM: HID: Bluetooth: hidp: make sure input buffers are big enough 2019-07-27 21:49:30 +02:00
sock.c Bluetooth: hidp: fix buffer overflow 2019-07-27 22:10:36 +02:00