From owner-freebsd-bugs@FreeBSD.ORG Tue Sep 14 06:20:03 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6A531065672 for ; Tue, 14 Sep 2010 06:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A65CC8FC1B for ; Tue, 14 Sep 2010 06:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8E6K3MH099853 for ; Tue, 14 Sep 2010 06:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8E6K39X099850; Tue, 14 Sep 2010 06:20:03 GMT (envelope-from gnats) Date: Tue, 14 Sep 2010 06:20:03 GMT Message-Id: <201009140620.o8E6K39X099850@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Andriy Gapon Cc: Subject: Re: kern/150544: Panic, when viewing the list of ZFS snapshots X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andriy Gapon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2010 06:20:03 -0000 The following reply was made to PR kern/150544; it has been noted by GNATS. From: Andriy Gapon To: jhell Cc: "Vladislav V. Prodan" , bug-followup@FreeBSD.org Subject: Re: kern/150544: Panic, when viewing the list of ZFS snapshots Date: Tue, 14 Sep 2010 09:19:09 +0300 on 14/09/2010 08:56 jhell said the following: > Priority of this should be changed to *HIGH* & Severity changed to > *Critical*. > > New synopsis: [ZFS][HIGH][CRIT] amd64 & i386 stable/8-ZFSv15 & > HEAD-ZFSv15, Panic, during ls(1) while in snapshot directories. > > People BCC'd, pjd@ mm@ avg@ stable@ current@ to grab some more attention. > > Backtraces: I have two available vmcore.37 & 38 along with core.txt.37 & 38. > > Backtrace 37 attached. > > Background: Because a normal user can access snapshot directories(.zfs) > they have the ability to crash a machine running HEAD or stable/8 with > ZFSv15 patches. > > Workaround: Do not snapshot global readable directories or chmod go-rwx > /path/to where the snapshot directory (.zfs) is. > > Systems effected thus far: > FreeBSD/i386 8.1-STABLE r212590M (ZFSv15 patches) > FreeBSD 9.0-CURRENT ? ? > Possibly 8.1-RELEASE (ZFSv15 patches) Looks like unimplemented vop_lock1. I think that default implementation usually comes in via default_vnodeops, but can be locally overridden. What kind of a vnode is this? Can you print *vp in e.g. frame 8? -- Andriy Gapon