netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] ipv6: fix issues on accessing fib6_metrics
@ 2018-09-18 20:44 Wei Wang
  2018-09-18 20:44 ` [PATCH net 1/2] Revert "ipv6: fix double refcount of fib6_metrics" Wei Wang
  2018-09-19  3:17 ` [PATCH net 0/2] ipv6: fix issues on accessing fib6_metrics David Miller
  0 siblings, 2 replies; 7+ messages in thread
From: Wei Wang @ 2018-09-18 20:44 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: Eric Dumazet, David Ahern, Cong Wang, Sabrina Dubroca, Wei Wang

From: Wei Wang <weiwan@google.com>

The latest fix on the memory leak of fib6_metrics still causes
use-after-free.
This patch series first revert the previous fix and propose a new fix
that is more inline with ipv4 logic and is tested to fix the
use-after-free issue reported.

Wei Wang (2):
  Revert "ipv6: fix double refcount of fib6_metrics"
  ipv6: fix memory leak on dst->_metrics

 net/ipv6/route.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

-- 
2.19.0.397.gdd90340f6a-goog

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

end of thread, other threads:[~2018-09-19  8:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-18 20:44 [PATCH net 0/2] ipv6: fix issues on accessing fib6_metrics Wei Wang
2018-09-18 20:44 ` [PATCH net 1/2] Revert "ipv6: fix double refcount of fib6_metrics" Wei Wang
2018-09-18 20:45   ` [PATCH net 2/2] ipv6: fix memory leak on dst->_metrics Wei Wang
2018-09-18 23:23     ` David Ahern
2018-09-19  1:02       ` Wei Wang
2018-09-18 23:17   ` [PATCH net 1/2] Revert "ipv6: fix double refcount of fib6_metrics" David Ahern
2018-09-19  3:17 ` [PATCH net 0/2] ipv6: fix issues on accessing fib6_metrics 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).