diff options
author | Mathias Krause <minipli@googlemail.com> | 2013-04-07 01:52:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-07 16:28:02 -0400 |
commit | d5e0d0f607a7a029c6563a0470d88255c89a8d11 (patch) | |
tree | 01aaa7cb29147cba0fcc1202a03bbf1af598be62 /net/dns_resolver | |
parent | 680d04e0ba7e926233e3b9cee59125ce181f66ba (diff) | |
download | linux-d5e0d0f607a7a029c6563a0470d88255c89a8d11.tar.gz linux-d5e0d0f607a7a029c6563a0470d88255c89a8d11.tar.bz2 linux-d5e0d0f607a7a029c6563a0470d88255c89a8d11.zip |
VSOCK: Fix missing msg_namelen update in vsock_stream_recvmsg()
The code misses to update the msg_namelen member to 0 and therefore
makes net/socket.c leak the local, uninitialized sockaddr_storage
variable to userland -- 128 bytes of kernel stack memory.
Cc: Andy King <acking@vmware.com>
Cc: Dmitry Torokhov <dtor@vmware.com>
Cc: George Zhang <georgezhang@vmware.com>
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dns_resolver')
0 files changed, 0 insertions, 0 deletions