]> Git Repo - linux.git/commit
Bluetooth: hidp: fix buffer overflow
authorYoung Xiao <[email protected]>
Fri, 12 Apr 2019 07:24:30 +0000 (15:24 +0800)
committerMarcel Holtmann <[email protected]>
Tue, 23 Apr 2019 17:04:38 +0000 (19:04 +0200)
commita1616a5ac99ede5d605047a9012481ce7ff18b16
treec330e3f1724257262c97a58e772e119003738154
parent73623340546cceff421c95b53abd8140d1f2b2a2
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 <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Cc: [email protected]
net/bluetooth/hidp/sock.c
This page took 0.040992 seconds and 4 git commands to generate.