tmp_suning_uos_patched/net/bluetooth
Johan Hedberg e12af489b9 Bluetooth: Fix valid Identity Address check
According to the Bluetooth core specification valid identity addresses
are either Public Device Addresses or Static Random Addresses. IRKs
received with any other type of address should be discarded since we
cannot assume to know the permanent identity of the peer device.

This patch fixes a missing check for the Identity Address when receiving
the Identity Address Information SMP PDU.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: stable@vger.kernel.org # 3.17+
2015-01-14 22:48:06 +01:00
..
bnep Bluetooth: bnep: bnep_add_connection() should verify that it's dealing with l2cap socket 2014-12-19 13:48:27 +01:00
cmtp Bluetooth: Remove dead code 2015-01-14 11:16:17 +02:00
hidp Bluetooth: hidp_connection_add() unsafe use of l2cap_pi() 2014-12-19 13:40:07 +01:00
rfcomm Bluetooth: Add BUILD_BUG_ON for size of struct sockaddr_rc 2015-01-12 11:24:21 +02:00
6lowpan.c Bluetooth: 6lowpan: Do not free skb when packet is dropped 2014-12-19 13:39:50 +01:00
a2mp.c first fruits - kill l2cap ->memcpy_fromiovec() 2014-12-09 16:29:10 -05:00
a2mp.h Bluetooth: Move a2mp.h header file into net/bluetooth/ 2013-10-11 00:10:05 +02:00
af_bluetooth.c Bluetooth: Add support for self testing framework 2014-12-30 08:53:55 +02:00
amp.c Bluetooth: Fix sparse warning in amp.c 2014-11-11 00:07:29 +01:00
amp.h Bluetooth: Move amp.h header file into net/bluetooth/ 2013-10-11 00:10:03 +02:00
ecc.c Bluetooth: Add ECC library for LE Secure Connections 2014-12-03 16:51:16 +01:00
ecc.h Bluetooth: Add ECC library for LE Secure Connections 2014-12-03 16:51:16 +01:00
hci_conn.c Bluetooth: Add opcode parameter to hci_req_complete_t callback 2015-01-12 11:16:31 +02:00
hci_core.c Bluetooth: Move Delete Stored Link Key to 4th phase of initialization 2015-01-14 10:02:21 +02:00
hci_debugfs.c Bluetooth: Fix scope of sc_only_mode debugfs entry 2015-01-02 22:22:04 +01:00
hci_debugfs.h Bluetooth: Create debugfs directory for each connection handle 2014-12-20 19:54:24 +02:00
hci_event.c Bluetooth: Process result of HCI Delete Stored Link Key command 2015-01-12 21:56:06 +02:00
hci_request.c Bluetooth: Add opcode parameter to hci_req_complete_t callback 2015-01-12 11:16:31 +02:00
hci_request.h Bluetooth: Add hci_request support for hci_update_background_scan 2014-12-19 22:06:37 +01:00
hci_sock.c Bluetooth: Replace send_monitor_event with queue_monitor_skb 2015-01-12 11:26:09 +02:00
hci_sysfs.c Bluetooth: Convert to use ATTRIBUTE_GROUPS macro 2014-02-13 09:51:34 +02:00
Kconfig Bluetooth: Add skeleton for SMP self-tests 2014-12-30 08:54:33 +01:00
l2cap_core.c Bluetooth: Introduce force_bredr_smp debugfs option for testing 2015-01-02 22:22:03 +01:00
l2cap_sock.c Bluetooth: Add BUILD_BUG_ON for size of struct sockaddr_l2 2015-01-12 11:24:19 +02:00
lib.c Bluetooth: Convert bt_<level> logging functions to return void 2014-09-24 09:40:08 +02:00
Makefile Bluetooth: Add support for self testing framework 2014-12-30 08:53:55 +02:00
mgmt.c Bluetooth: Add opcode parameter to hci_req_complete_t callback 2015-01-12 11:16:31 +02:00
sco.c Bluetooth: Add BUILD_BUG_ON for size of struct sockaddr_sco 2015-01-12 11:24:24 +02:00
selftest.c Bluetooth: Use %llu for printing duration details of selftests 2015-01-14 10:02:45 +02:00
selftest.h Bluetooth: Add support for self testing framework 2014-12-30 08:53:55 +02:00
smp.c Bluetooth: Fix valid Identity Address check 2015-01-14 22:48:06 +01:00
smp.h Bluetooth: Add skeleton for SMP self-tests 2014-12-30 08:54:33 +01:00