]> 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)
commit9674094d82e9681a45e4c5831f7df870ec0c40d0
tree8d70e83af6991d7d997a9638602618e59e12f718
parent9afc0811ddb024cca0a0227c7d07fd9e652a417c
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