From owner-cvs-src@FreeBSD.ORG Fri Aug 19 12:04:28 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17D6816A420; Fri, 19 Aug 2005 12:04:28 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0F1C43D8E; Fri, 19 Aug 2005 12:04:20 +0000 (GMT) (envelope-from pjd@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 j7JC4KO4028283; Fri, 19 Aug 2005 12:04:20 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7JC4KIB028282; Fri, 19 Aug 2005 12:04:20 GMT (envelope-from pjd) Message-Id: <200508191204.j7JC4KIB028282@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Fri, 19 Aug 2005 12:04:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/opencrypto cryptodev.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2005 12:04:28 -0000 pjd 2005-08-19 12:04:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/opencrypto cryptodev.c Log: MFC: sys/opencrypto/cryptodev.c 1.26 Fix bogus check. It was possible to panic the kernel by giving 0 length. This is actually a local DoS, as every user can use /dev/crypto if there is crypto hardware in the system and cryptodev.ko is loaded (or compiled into the kernel). Reported by: Mike Tancsa Security: Local DoS on systems with crypto HW and with /dev/crypto available Approved by: re (kensmith) Revision Changes Path 1.25.2.1 +4 -2 src/sys/opencrypto/cryptodev.c