netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/4] l2tp: pppol2tp_connect() fixes
@ 2018-06-13 13:09 Guillaume Nault
  2018-06-13 13:09 ` [PATCH net 1/4] l2tp: fix pseudo-wire type for sessions created by pppol2tp_connect() Guillaume Nault
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Guillaume Nault @ 2018-06-13 13:09 UTC (permalink / raw)
  To: netdev; +Cc: James Chapman

This series fixes a few remaining issues with pppol2tp_connect().

It doesn't try to prevent invalid configurations that have no effect on
kernel's reliability. That would be work for a future patch set.

Patch 2 is the most important as it avoids an invalid pointer
dereference crashing the kernel. It depends on patch 1 for correctly
identifying L2TP session types.

Patches 3 and 4 avoid creating stale tunnels and sessions.

Guillaume Nault (4):
  l2tp: fix pseudo-wire type for sessions created by pppol2tp_connect()
  l2tp: only accept PPP sessions in pppol2tp_connect()
  l2tp: prevent pppol2tp_connect() from creating kernel sockets
  l2tp: clean up stale tunnel or session in pppol2tp_connect's error
    path

 net/l2tp/l2tp_ppp.c | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

-- 
2.17.1

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

end of thread, other threads:[~2018-06-15  0:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-13 13:09 [PATCH net 0/4] l2tp: pppol2tp_connect() fixes Guillaume Nault
2018-06-13 13:09 ` [PATCH net 1/4] l2tp: fix pseudo-wire type for sessions created by pppol2tp_connect() Guillaume Nault
2018-06-13 13:09 ` [PATCH net 2/4] l2tp: only accept PPP sessions in pppol2tp_connect() Guillaume Nault
2018-06-13 13:09 ` [PATCH net 3/4] l2tp: prevent pppol2tp_connect() from creating kernel sockets Guillaume Nault
2018-06-13 13:09 ` [PATCH net 4/4] l2tp: clean up stale tunnel or session in pppol2tp_connect's error path Guillaume Nault
2018-06-15  0:10 ` [PATCH net 0/4] l2tp: pppol2tp_connect() fixes 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).