summaryrefslogtreecommitdiff
path: root/net/key
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2017-08-26 17:08:57 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2017-08-28 10:58:02 +0200
commit5fe0d4bd8f86d19f7f24c1ae5a9b6e6a5a52e51a (patch)
treea09063c857fe5f1ad3fb5f2e6cdf7f64f6f6df95 /net/key
parent54ffd790792898f05e215dce5aa593473e80e92f (diff)
xfrm_user: fix info leak in copy_user_offload()
The memory reserved to dump the xfrm offload state includes padding bytes of struct xfrm_user_offload added by the compiler for alignment. Add an explicit memset(0) before filling the buffer to avoid the heap info leak. Cc: Steffen Klassert <steffen.klassert@secunet.com> Fixes: d77e38e612a0 ("xfrm: Add an IPsec hardware offloading API") Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions