commit | a1616a5ac99ede5d605047a9012481ce7ff18b16 | [log] [tgz] |
---|---|---|
author | Young Xiao <YangX92@hotmail.com> | Fri Apr 12 15:24:30 2019 +0800 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Apr 23 19:04:38 2019 +0200 |
tree | c330e3f1724257262c97a58e772e119003738154 | |
parent | 73623340546cceff421c95b53abd8140d1f2b2a2 [diff] |
Bluetooth: hidp: fix buffer overflow 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