From nobody Tue Sep 27 15:59:33 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4McPT21J3Bz4V6nB for ; Tue, 27 Sep 2022 15:59:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4McPT13p0Mz3km7 for ; Tue, 27 Sep 2022 15:59:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4McPT12dwyz19Np for ; Tue, 27 Sep 2022 15:59:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28RFxXoj092468 for ; Tue, 27 Sep 2022 15:59:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28RFxXjE092467 for bugs@FreeBSD.org; Tue, 27 Sep 2022 15:59:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265362] nmount() "snapshot" without "update" causes a kernel page fault panic Date: Tue, 27 Sep 2022 15:59:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664294373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RM0IU+Ol9bHEllqpoEeB8xhQBoGbjqGnKMF/MEPtWYM=; b=PCGkvbbTQmjuhuyCax8f0qgRSb3fxU43d5LNDm+hDmQYyKk8fUb+QdQgY6WInOQsL5nRKd Jdo985aiRT0RaNk7XOpZ/iXnleShrQkQFK/IVzKr4957kEV74/L48mKGUFBgok/bC0tUV3 TSORZJ1oJyoYXiBs58CqZZMS+mbY0n9ujikl48cAs+KiOgmnSBss3t7E2tHtn4iLJpCddi fq+uC7ZjNI+JQUxBiam+TDnRAxAv7a7npZsTwhGI7mXqNM7CexXrfW8Q+ebXEsRx+GSkxC kC/1FsNEmlDEEkcB3Vqg8PkGQLtvF61hBrZ7kWrB7bCYT2LI4YtTiL6G8j78ZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664294373; a=rsa-sha256; cv=none; b=JPRCckn6w+S7sw8CJbGC0XddgLr28l3vCqAF2bhGkHEP4OuVdPBtF3NIbXnJOvJrjw2eJf ToEUHG7foWSWV/+h7MtcngwSAB37BvZlWCGEdnkdmQjkDMbDbiZc8MkaqYSt/IntWScReF ZvyKNGY0QIGKWm2OpbBWsD3T5llw1ZOmkGKtDGK6DTY6wpkrxf7r0kDpjbweGW5L13/C1H LiXW7e18waJCTh1T4EKTmohDYL7MSQk5bA2TeckTbPhbsFlW0hk93Rp/RJqIdYPBsqTCAH rbYklJ2H/IpTARpQvR/ePwVaRQtNjApmKM4l2dFbMhTZ5uNkBxMmtxWVw75RUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265362 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D27d673fbbb79b1b829484ec127da59b45= f623ebd commit 27d673fbbb79b1b829484ec127da59b45f623ebd Author: Kirk McKusick AuthorDate: 2022-09-27 15:57:30 +0000 Commit: Kirk McKusick CommitDate: 2022-09-27 15:58:10 +0000 When taking a snapshot on a UFS/FFS filesystem, it must be mounted. The "update" mount option must be specified when the "snapshot" mount option is used. Return EINVAL if the "snapshot" option is specified without the "update" option also requested. Reported by: Robert Morris Reviewed by: kib PR: 265362 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation sys/ufs/ffs/ffs_vfsops.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=