NetBSD Problem Report #59048

From www@netbsd.org  Wed Feb  5 19:08:47 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 688CD1A923A
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  5 Feb 2025 19:08:47 +0000 (UTC)
Message-Id: <20250205190846.2D4AB1A923B@mollari.NetBSD.org>
Date: Wed,  5 Feb 2025 19:08:46 +0000 (UTC)
From: para@dismail.de
Reply-To: para@dismail.de
To: gnats-bugs@NetBSD.org
Subject: rump_nfs memfaults when ran as unprivileged user
X-Send-Pr-Version: www-1.0

>Number:         59048
>Category:       lib
>Synopsis:       rump_nfs memfaults when ran as unprivileged user
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 05 19:10:00 +0000 2025
>Originator:     para
>Release:        10.99.12
>Organization:
>Environment:
NetBSD barnard 10.99.12 NetBSD 10.99.12 (GENERIC) #0: Wed Feb  5 18:04:04 UTC 2025  para@barnard:/home/para/meta/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
When attempting to run 'rump_nfs' as an unprivileged user (with no write permissions to /dev/putter), the program memfaults.
>How-To-Repeat:
0. run rump_nfs remote:/dir mountpoint as unprivileged user
1. memfault :(
>Fix:
run sysctl -w vfs.generic.usermount=1
give your user write access to /dev/putter

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.