From owner-freebsd-current@FreeBSD.ORG Thu Aug 2 15:17:03 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FDAC106566B for ; Thu, 2 Aug 2012 15:17:03 +0000 (UTC) (envelope-from surajsandhu.2005@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id CE7658FC0A for ; Thu, 2 Aug 2012 15:17:02 +0000 (UTC) Received: by qaat11 with SMTP id t11so1481571qaa.13 for ; Thu, 02 Aug 2012 08:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=RgeOsmKIkAJM4BTu3d7Nfb1DykBvLw4x3z0p2UHvzZ4=; b=iMqs0fUwBi0K3TpN83N6V/DapyO9WvmKDHrk8eMY04YfIKdLvZdAKb6931f/nSukW/ /T9uM3RV9GkWzuH0paC6yZBlEzhL0JSz3nXgSEywrr/ETlYdmETO2KzhUBQ+/sItFy4d nRCXwAGPYr8kVOQAo9+IwUTjLq1oUyF1ciZg6jSSbfj8QqjtHruH2key1ob0pwozi5cb 01o+St6HoCr8qucLqXtgOHTGF9O6OwabIBgN8yJztbOAUae+bGGAeBxZDQSmHF24AcAD BX8LOayiRLYA62tKfRwafnaPFuIxuScdtN0boh/BMVoRZ6U6ZEIcsOxDwRzsOIzcnHBV +xEw== MIME-Version: 1.0 Received: by 10.224.189.17 with SMTP id dc17mr183722qab.47.1343920616390; Thu, 02 Aug 2012 08:16:56 -0700 (PDT) Received: by 10.229.204.131 with HTTP; Thu, 2 Aug 2012 08:16:56 -0700 (PDT) Date: Thu, 2 Aug 2012 11:16:56 -0400 Message-ID: From: suraj sandhu To: freebsd-current@freebsd.org X-Mailman-Approved-At: Thu, 02 Aug 2012 16:29:26 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Warning: ifaddr refcount use patch (svn commit: r194760 - in head/sys: contrib/rdma net net80211 netinet netinet6 netipx (fwd)) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2012 15:17:03 -0000 Hi Robert, I am using Freebsd 8.2 and facing the Use-after-free issue because of the possible reference release on ifaddr without it being acquired. The issue is that ifa remains on the addr list of ifp but it is already free which leads to the panic in the code trying to traverse through the ifaddr list of ifp. I am wondering if the patches you mentioned in the thread are still available. Thanks, Suraj