NetBSD Problem Report #43328
From www@NetBSD.org Wed May 19 17:29:05 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 171B763B879
for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 May 2010 17:29:05 +0000 (UTC)
Message-Id: <20100519172904.C721E63B873@www.NetBSD.org>
Date: Wed, 19 May 2010 17:29:04 +0000 (UTC)
From: pooka@iki.fi
Reply-To: pooka@iki.fi
To: gnats-bugs@NetBSD.org
Subject: namei is harder than sys_extattrctl thinks
X-Send-Pr-Version: www-1.0
>Number: 43328
>Category: kern
>Synopsis: namei is harder than sys_extattrctl thinks
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 19 17:30:00 +0000 2010
>Closed-Date: Sat May 22 10:34:56 +0000 2010
>Last-Modified: Sat May 22 10:34:56 +0000 2010
>Originator: Antti Kantee
>Release:
>Organization:
>Environment:
>Description:
sys_extattrctl does namei() with a locked vnode. That's not a good idea
for quite boomy reasons.
(didn't I file a PR about this or fix this already a few years ago?)
>How-To-Repeat:
extattrctl with a pathflip -> boom
>Fix:
namei in the opposite order?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: pooka@NetBSD.org
State-Changed-When: Sat, 22 May 2010 13:34:56 +0300
State-Changed-Why:
fixed in vfs_xattr.c rev 1.21
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.