From owner-freebsd-bugs Thu Nov 15 13:40: 6 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BCF7337B41A for ; Thu, 15 Nov 2001 13:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAFLe1k70487; Thu, 15 Nov 2001 13:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CE45837B416 for ; Thu, 15 Nov 2001 13:36:56 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAFLau070133; Thu, 15 Nov 2001 13:36:56 -0800 (PST) (envelope-from nobody) Message-Id: <200111152136.fAFLau070133@freefall.freebsd.org> Date: Thu, 15 Nov 2001 13:36:56 -0800 (PST) From: David Hill To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/32019: open() bpf crashes system Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32019 >Category: kern >Synopsis: open() bpf crashes system >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 15 13:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: David Hill >Release: 5.0-CURRENT >Organization: >Environment: FreeBSD rain.hill.hom 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Nov 10 11:06:32 GMT 2001 root@rain.hill.hom:/usr/src/sys/i386/compile/RAIN i386 >Description: The following code crashes the system. /* code */ #include #include #include #include int main(void) { int fd; char device[] = "/dev/bpf000000"; if ((fd = open(device, O_RDONLY)) < 0) err(1, "open"); close(fd); return 0; } >How-To-Repeat: As root, compile the code and execute it. >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message