Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2019 08:26:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 233535] Fix refcount leak in IPv6 MLD code leading to loss of IPv6 connectivity
Message-ID:  <bug-233535-7501-ropxVncwn5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233535-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233535-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233535

--- Comment #51 from commit-hook@freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Thu Jan 24 08:25:03 UTC 2019
New revision: 343394
URL: https://svnweb.freebsd.org/changeset/base/343394

Log:
  When detaching a network interface drain the workqueue freeing the inm's
  because the destructor will access the if_ioctl() callback in the ifnet
  pointer which is about to be freed. This prevents use-after-free.

  PR:                   233535
  Differential Revision:        https://reviews.freebsd.org/D18887
  Reviewed by:          bz (net)
  Tested by:            ae
  MFC after:            1 week
  Sponsored by:         Mellanox Technologies

Changes:
  head/sys/netinet6/in6_ifattach.c
  head/sys/netinet6/in6_mcast.c
  head/sys/netinet6/in6_var.h

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233535-7501-ropxVncwn5>