[PATCH 3.8 18/91] net: heap overflow in __audit_sockaddr()

2013-11-07 Thread Kamal Mostafa
3.8.13.13 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 1661bf364ae9c506bc8795fef70d1532931be1e8 ] We need to cap ->msg_namelen or it leads to a buffer overflow when we to the memcpy() in __audit_sockaddr().

[PATCH 3.8 18/91] net: heap overflow in __audit_sockaddr()

2013-11-07 Thread Kamal Mostafa
3.8.13.13 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter dan.carpen...@oracle.com [ Upstream commit 1661bf364ae9c506bc8795fef70d1532931be1e8 ] We need to cap -msg_namelen or it leads to a buffer overflow when we to the memcpy()