netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pull request (net): ipsec 2018-05-31
@ 2018-05-31 10:23 Steffen Klassert
  2018-05-31 10:23 ` [PATCH 1/2] xfrm6: avoid potential infinite loop in _decode_session6() Steffen Klassert
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Steffen Klassert @ 2018-05-31 10:23 UTC (permalink / raw)
  To: David Miller; +Cc: Herbert Xu, Steffen Klassert, netdev

1) Avoid possible overflow of the offset variable
   in  _decode_session6(), this fixes an infinite
   lookp there. From Eric Dumazet.

2) We may use an error pointer in the error path of
   xfrm_bundle_create(). Fix this by returning this
   pointer directly to the caller.

Please pull or let me know if there are problems.

Thanks!

The following changes since commit 2c5d5b13c6eb79f5677e206b8aad59b3a2097f60:

  llc: better deal with too small mtu (2018-05-08 00:11:40 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec.git master

for you to fetch changes up to 38369f54d97dd7dc50c73a2797bfeb53c2e87d2d:

  xfrm Fix potential error pointer dereference in xfrm_bundle_create. (2018-05-31 09:53:04 +0200)

----------------------------------------------------------------
Eric Dumazet (1):
      xfrm6: avoid potential infinite loop in _decode_session6()

Steffen Klassert (1):
      xfrm Fix potential error pointer dereference in xfrm_bundle_create.

 net/ipv6/xfrm6_policy.c | 2 +-
 net/xfrm/xfrm_policy.c  | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-06-01 17:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-31 10:23 pull request (net): ipsec 2018-05-31 Steffen Klassert
2018-05-31 10:23 ` [PATCH 1/2] xfrm6: avoid potential infinite loop in _decode_session6() Steffen Klassert
2018-05-31 10:23 ` [PATCH 2/2] xfrm Fix potential error pointer dereference in xfrm_bundle_create Steffen Klassert
2018-06-01 17:26 ` pull request (net): ipsec 2018-05-31 David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).