bluetooth: Validate socket address length in sco_sock_bind(). 95/154695/1
authorDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 20:39:08 +0000 (15:39 -0500)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 11 Oct 2017 05:52:56 +0000 (14:52 +0900)
commitb4c13b9db4f5ed2332d8b7225fc3c34b378e1a7d
tree2e6965cbc943508746a89f6d261a35a764bc3304
parentf45ad1ea39a7b9ab1bcdeb481d5927c0c2e97505
bluetooth: Validate socket address length in sco_sock_bind().

[ Upstream commit 5233252fce714053f0151680933571a2da9cbfb4 ]

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[sw0312.kim: cherry-pick from linux-3.10.y to fix CVE-2015-8575]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ib385bb8bb72ae28328cc859da4d633545b0251cb
net/bluetooth/sco.c