Mathias Krause
7b07f8eb75
dccp: fix info leak via getsockopt(DCCP_SOCKOPT_CCID_TX_INFO)
...
The CCID3 code fails to initialize the trailing padding bytes of struct
tfrc_tx_info added for alignment on 64 bit architectures. It that for
potentially leaks four bytes kernel stack via the getsockopt() syscall.
Add an explicit memset(0) before filling the structure to avoid the
info leak.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-15 21:36:31 -07:00
..
ccids
dccp: fix info leak via getsockopt(DCCP_SOCKOPT_CCID_TX_INFO)
2012-08-15 21:36:31 -07:00
ackvec.c
net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules
2011-10-31 19:30:30 -04:00
ackvec.h
net: Fix (nearly-)kernel-doc comments for various functions
2012-07-10 23:13:45 -07:00
ccid.c
net: Fix (nearly-)kernel-doc comments for various functions
2012-07-10 23:13:45 -07:00
ccid.h
dccp: check ccid before dereferencing
2012-08-15 21:36:31 -07:00
dccp.h
net: Fix (nearly-)kernel-doc comments for various functions
2012-07-10 23:13:45 -07:00
diag.c
inet_diag: Rename inet_diag_req into inet_diag_req_v2
2012-01-11 12:56:06 -08:00
feat.c
net: Fix (nearly-)kernel-doc comments for various functions
2012-07-10 23:13:45 -07:00
feat.h
input.c
net: Fix (nearly-)kernel-doc comments for various functions
2012-07-10 23:13:45 -07:00
ipv4.c
ipv4: Prepare for change of rt->rt_iif encoding.
2012-07-23 16:36:26 -07:00
ipv6.c
net: Pass optional SKB and SK arguments to dst_ops->{update_pmtu,redirect}()
2012-07-17 03:29:28 -07:00
ipv6.h
Kconfig
Makefile
minisocks.c
dccp: fix bug in sequence number validation during connection setup
2012-03-03 09:02:52 -07:00
options.c
net: Fix (nearly-)kernel-doc comments for various functions
2012-07-10 23:13:45 -07:00
output.c
net: Fix (nearly-)kernel-doc comments for various functions
2012-07-10 23:13:45 -07:00
probe.c
dccp: Fix compile warning in probe code.
2011-12-01 14:45:49 -05:00
proto.c
net: include/net/sock.h cleanup
2012-05-17 04:50:21 -04:00
qpolicy.c
sysctl.c
net: Convert all sysctl registrations to register_net_sysctl
2012-04-20 21:22:30 -04:00
timer.c
net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules
2011-10-31 19:30:30 -04:00