From owner-cvs-all@FreeBSD.ORG Mon Feb 14 05:42:07 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0030E16A4CE; Mon, 14 Feb 2005 05:42:06 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8E5843D2F; Mon, 14 Feb 2005 05:42:06 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1E5g6hA077237; Mon, 14 Feb 2005 05:42:06 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1E5g62l077236; Mon, 14 Feb 2005 05:42:06 GMT (envelope-from delphij) Message-Id: <200502140542.j1E5g62l077236@repoman.freebsd.org> From: Xin LI Date: Mon, 14 Feb 2005 05:42:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/net if.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 05:42:07 -0000 delphij 2005-02-14 05:42:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/net if.c Log: MFC 1.218+1.219: Validate ifc->ifc_len before submitting its incarnation to sbuf_new, which will finally lead to kernel panic. Security: This prevents a local DoS that can be exploited by Security: both privileged and unprivileged users. Submitted by: Wojciech A. Koszek [dunstan at freebsd czest pl] PR: 77421 Early MFC discussed with and reviewed by: security (simon, trhodes) Revision Changes Path 1.199.2.12 +4 -0 src/sys/net/if.c