NetBSD Problem Report #17873
Received: (qmail 23436 invoked by uid 605); 7 Aug 2002 17:21:24 -0000
Message-Id: <1520-1028740883@rainier.reedmedia.net>
Date: Wed, 07 Aug 2002 10:21:23 -0700
From: reed@reedmedia.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.netbsd.org
Subject: can local users panic the system using the kqueue mechanism?
X-Send-Pr-Version: 3.95
>Number: 17873
>Category: security
>Synopsis: FreeBSD has security advisory for sys/kern/sys_pipe.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: jdolecek
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Aug 07 17:22:00 +0000 2002
>Closed-Date: Thu Aug 08 07:42:00 +0000 2002
>Last-Modified: Thu Aug 08 07:42:00 +0000 2002
>Originator:
>Release: NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:
System: NetBSD rainier.reedmedia.net 1.5.3 NetBSD 1.5.3 (JCR-1.5-20020723) #0: Tue Jul 23 15:18:22 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-1.5-20020723 i386
Architecture: i386
Machine: i386
>Description:
From FreeBSD-SA-02:37.kqueue:
"A local attacker may cause the system to panic by executing their own
malicious application."
>How-To-Repeat:
See FreeBSD-SA-02:37.kqueue.
>Fix:
Look at sys/kern/sys_pipe.c
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-02:36/nfs.patch
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: security-officer->jdolecek
Responsible-Changed-By: lukem
Responsible-Changed-When: Wed Aug 7 16:46:22 PDT 2002
Responsible-Changed-Why:
jaromir merged the pipe code, and is looking after kqueue too
btw; i don't think this affects netbsd w/o kqueues, but i'll let jaromir comment
on this
State-Changed-From-To: open->closed
State-Changed-By: jdolecek
State-Changed-When: Thu Aug 8 00:40:52 PDT 2002
State-Changed-Why:
This problem doesn't affect trunk, since this is only problem with
kqueue, not generic pipe code. The kqueue branch contains the fix now.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.