diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-10-02 23:27:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-03 22:05:14 +0200 |
commit | 1661bf364ae9c506bc8795fef70d1532931be1e8 (patch) | |
tree | 2ce62724a9931016cbbdb1bb94bc140012524c71 /sound/sh | |
parent | Merge tag 'batman-adv-fix-for-davem' of git://git.open-mesh.org/linux-merge (diff) | |
download | linux-1661bf364ae9c506bc8795fef70d1532931be1e8.tar.xz linux-1661bf364ae9c506bc8795fef70d1532931be1e8.zip |
net: heap overflow in __audit_sockaddr()
We need to cap ->msg_namelen or it leads to a buffer overflow when we
to the memcpy() in __audit_sockaddr(). It requires CAP_AUDIT_CONTROL to
exploit this bug.
The call tree is:
___sys_recvmsg()
move_addr_to_user()
audit_sockaddr()
__audit_sockaddr()
Reported-by: Jüri Aedla <juri.aedla@gmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions