android_kernel_samsung_a7y1.../net/bluetooth
Young Xiao cacf770e56 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>
2020-04-06 16:43:08 +02:00
..
bnep A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cmtp A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hidp Bluetooth: hidp: fix buffer overflow 2020-04-06 16:43:08 +02:00
rfcomm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
6lowpan.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
a2mp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
a2mp.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
af_bluetooth.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
amp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
amp.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ecc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ecc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hci_conn.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hci_core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hci_debugfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hci_debugfs.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hci_event.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hci_request.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hci_request.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hci_sock.c Bluetooth: Fix decrementing reference count twice in releasing socket 2020-04-06 14:19:03 +02:00
hci_sysfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
l2cap_core.c Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer 2020-04-06 11:46:01 +02:00
l2cap_sock.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lib.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mgmt_util.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mgmt_util.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mgmt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sco.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
selftest.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
selftest.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
smp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
smp.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30