]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: sysctl interface leaks 16 bytes of kernel memory
authorAlan Cox <alan@linux.intel.com>
Thu, 11 Oct 2012 06:24:14 +0000 (06:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2012 19:12:33 +0000 (15:12 -0400)
commitddb1b73e5d9387ff08e4da3b23c10bca9a60b684
tree8d70e83af6991d7d997a9638602618e59e12f718
parent165760bec17750fea527b644fd31e8c8aa594fa2
tcp: sysctl interface leaks 16 bytes of kernel memory

If the rc_dereference of tcp_fastopen_ctx ever fails then we copy 16 bytes
of kernel stack into the proc result.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/sysctl_net_ipv4.c