]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
Bluetooth: bnep: fix information leak to userland
authorVasiliy Kulikov <segooon@gmail.com>
Sat, 30 Oct 2010 14:26:21 +0000 (18:26 +0400)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 1 Dec 2010 23:04:35 +0000 (21:04 -0200)
commit5520d20f68310fc158dcbbecfd5eac5cdfc5a241
tree05b0f420d0634bd98e80ed58618e9b03917e08a1
parent127178d24c7eb2df53b1ba2b6f6f743e88178a1b
Bluetooth: bnep: fix information leak to userland

Structure bnep_conninfo is copied to userland with the field "device"
that has the last elements unitialized.  It leads to leaking of
contents of kernel stack memory.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/bnep/core.c