All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-4.9 0/5] l2tp session lookup fixes
@ 2017-06-26 15:47 Amit Pundir
  2017-06-26 15:47 ` [PATCH for-4.9 1/5] l2tp: fix race in l2tp_recv_common() Amit Pundir
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Amit Pundir @ 2017-06-26 15:47 UTC (permalink / raw)
  To: Greg KH, Guillaume Nault, David S . Miller; +Cc: Stable

Hi,

Kindly consider/review following l2tp fixes for stable 4.9.y.

This patchset fix race in l2tp sessions, avoid duplicate sessions
and probable "use after free" bugs. Here is the original submission
https://www.mail-archive.com/netdev@vger.kernel.org/msg161040.html

Cherry-picked and build tested on Linux 4.9.34 for
ARCH=x86/x86_64 + allmodconfig.

Regards,
Amit Pundir


Guillaume Nault (5):
  l2tp: fix race in l2tp_recv_common()
  l2tp: ensure session can't get removed during pppol2tp_session_ioctl()
  l2tp: fix duplicate session creation
  l2tp: hold session while sending creation notifications
  l2tp: take a reference on sessions used in genetlink handlers

 net/l2tp/l2tp_core.c    | 152 ++++++++++++++++++++++++++++++++++++++----------
 net/l2tp/l2tp_core.h    |   6 +-
 net/l2tp/l2tp_eth.c     |  10 +---
 net/l2tp/l2tp_ip.c      |  17 ++++--
 net/l2tp/l2tp_ip6.c     |  18 ++++--
 net/l2tp/l2tp_netlink.c |  45 +++++++++-----
 net/l2tp/l2tp_ppp.c     |  75 +++++++++++++-----------
 7 files changed, 222 insertions(+), 101 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-07-03  9:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-26 15:47 [PATCH for-4.9 0/5] l2tp session lookup fixes Amit Pundir
2017-06-26 15:47 ` [PATCH for-4.9 1/5] l2tp: fix race in l2tp_recv_common() Amit Pundir
2017-06-26 15:47 ` [PATCH for-4.9 2/5] l2tp: ensure session can't get removed during pppol2tp_session_ioctl() Amit Pundir
2017-06-26 15:47 ` [PATCH for-4.9 3/5] l2tp: fix duplicate session creation Amit Pundir
2017-06-26 15:47 ` [PATCH for-4.9 4/5] l2tp: hold session while sending creation notifications Amit Pundir
2017-06-26 15:47 ` [PATCH for-4.9 5/5] l2tp: take a reference on sessions used in genetlink handlers Amit Pundir
2017-06-27  7:57 ` [PATCH for-4.9 0/5] l2tp session lookup fixes Guillaume Nault
2017-07-03  8:48 ` Greg KH
2017-07-03  8:56   ` Amit Pundir
2017-07-03  9:03     ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.