Files
linux/net
Mathias Krause 50329c8a34 xfrm_user: fix info leak in xfrm_notify_sa()
The memory reserved to dump the ID of the xfrm state includes a padding
byte in struct xfrm_usersa_id added by the compiler for alignment. To
prevent the heap info leak, memset(0) the whole struct before filling
it.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Fixes: 0603eac0d6 ("[IPSEC]: Add XFRMA_SA/XFRMA_POLICY for delete notification")
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
2017-08-28 10:58:02 +02:00
..
2017-04-12 22:02:40 +02:00
2017-08-23 22:13:34 -07:00
2017-08-25 09:26:24 +02:00
2017-08-25 09:26:24 +02:00
2017-08-08 21:03:47 -07:00
2017-06-15 12:12:40 -04:00
2017-06-15 12:12:40 -04:00