🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #16416

[PATCH v2 04/14] docs: threat-model: clarify the case of automatically mounted file systems

#16416
From: Willy Tarreau
Date: Sat, 14 Nov 2026 19:00
42 lines
10347 bytes
Bugs triggered by crafted file system images are among the most
frequently reported non-security issues, often with the argument that
some desktop environments automatically mount removable media without
checking them.

Let's state that automatic mounting of unchecked file systems does not
change the analysis: an automounter is expected to check a file system
before mounting it, otherwise it is at fault, and if the check does not
detect the issue, the file system checker is at fault (this doesn't void
the need to handle the kernel side of the report). Fixes should then be
directed to these tools. The only exception remains drivers specifically
documented as being hardened against hostile inputs, as already stated
for non-conforming devices and media.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
---
 Documentation/process/threat-model.rst | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Documentation/process/threat-model.rst b/Documentation/process/threat-model.rst
index 4c61f196fa84d..a55e7c1c11968 100644
--- a/Documentation/process/threat-model.rst
+++ b/Documentation/process/threat-model.rst
@@ -234,7 +234,12 @@ The following classes of problems are not considered vulnerabilities:
     image: mounting a block device is a privileged operation (see above), and
     the administrator is responsible for the media they mount. This includes
     issues that are resolved, mitigated, or detected by running a filesystem
-    consistency check (fsck) on the image prior to mounting.
+    consistency check (fsck) on the image prior to mounting. Automatic
+    mounting of unchecked file systems (e.g. removable media mounted by a
+    desktop environment) does not change this: an automounter is expected to
+    check a file system before mounting it, otherwise it is at fault, and if
+    the check does not detect the issue, the file system checker is at fault.
+    In such cases, fixes should be directed to these tools.
 
   * bugs whose reproduction requires hardware modification or emulation,
     including fake USB devices that pretend to be another one, or devices
-- 
2.52.0
Technical Details
Message-ID: <20261114190014.17826-5-w@1wt.eu>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363420-linux-kernel-netdev=dewy.ru
References: <20261114190014.17826-1-w@1wt.eu>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363420-linux-kernel-netdev=dewy.ru
From: w@1wt.eu (Willy Tarreau)
Newsgroups: linux.kernel.netdev
Subject: [PATCH v2 04/14] docs: threat-model: clarify the case of automatically mounted file systems
Date: Sat, 14 Nov 2026 20:00:04 +0100
Organization: Usenet Network
Message-ID: <20261114190014.17826-5-w@1wt.eu>
References: <20261114190014.17826-1-w@1wt.eu>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1640654"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:46pGNm3VDlDxwezdnmZ/3gujSqo= sha256:WpBQQ9Y26ssSLoJSFUQSybiWWebkdTzxHoUXIFqMxik=
	sha1:ihBfHAmFxBnRoGBFRjT9EajA584= sha256:prImFOa+TeIMYMbouLzB2leRBRQ7ukpWpzGPjum1ZFE=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 03EB21148A7; Sat, 14 Nov 2026 22:01:55 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=1wt.eu
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id xi9JiePzp7v8;
	Sat, 14 Nov 2026 22:01:52 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-363420-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=1wt.eu
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 8A0C61148A0; Sat, 14 Nov 2026 22:01:42 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id ED7BD33647; Sat, 14 Nov 2026 19:01:18 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794682859;
	b=asqS3oCc9kx1cm8op2imxHA1Y2gFNGLRlbQHPRIIEyv8RHH6indeFs7wIn+Es+MUIMSJ
	 Mi4CvPMldbGSrN5ALOzi91BMOkuFTp/QtYZy2bhMyVkbig5hEiIb0gZxqTQtGFLlbPfIm
	 uzU/Dovvbbcwj+HhPR6YC1PqDlVdWfOOtFZ0SOJ89gCuIKFNvTN5kLNTcoWpZ0t9MXXPd
	 zzQ+slk9K4mg66RTvcyOOA+O4whIsAVVqGlGsv8r2Z7Q2ZT42MwpurXP/99jXVTvGtLY9
	 9ioya61lCqsXlVBya7lWQhhhFGgny2RxTzVP0olBdfkZ9zm2eA7y0O4OPTMMJ22tS6A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794682859;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:From:To:
	 Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding;
	bh=d94VSXJN67mMncU42K5uwIo/1aJEGK7XaOOOUlwXwHs=;
	b=t8JgCa2MJaKzKZQ7AzOOGCIX+u6iu/KCBDheNuQXa7kN8ZlKqxtcVC2Gdx1iSOsOwxRz
	 dY7T6xLxJzbfZeWwP3W34kxJnx20GcJXUe5vLiAZuQhblr4Xh2owzyWFbalaxC6TYRo4q
	 r7CJyAbvgos1gC6Xy4bSepHRdGAie1HOnFFNJ9fzN+JgrTbUI+/ErJUz/IbFeo+xUlSwE
	 vSt4bn7v9sdMKqaLusf9NPq43gXdQb8eH5h7UW0flRQFB2LGJKj7q2nLD5ufWxAa4jF4d
	 Cf0lPN5zmI9xbaHIhJM2IYpPcYnkA7gx6/VBvd8VwlL72tT3XbBMTDrlhLyOrbfu6Ag==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=1wt.eu header.i=@1wt.eu header.a=rsa-sha256 header.s=mail header.b=HOIc4Uh8;
	dmarc=pass header.from=1wt.eu;
	spf=pass smtp.mailfrom=1wt.eu;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id C334960A2606;
	Sat, 14 Nov 2026 19:00:59 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=1wt.eu header.i=@1wt.eu header.a=rsa-sha256 header.s=mail header.b=HOIc4Uh8
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=51.159.59.229
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794682858;
	b=K3MEBtVybntD+0GjGQzAP8zEkPmtTzoZhK3wcLxGOFa2igPIgZzCELZrdFCx8iPakaKI
	 gY9wY1j0hY+hJE4pjlcOn5LI7zSyiz703qsoMwdVvIp93RgD89yr1V/KQYeQpErVV+E9H
	 PaXuqutVzXMh2ZZjlBuBY+OUEzjimTjhOF2d2GIj3NOuiP+Eur5oJZjul64pK8W47PlsL
	 1JZVnl6Mj/83puQc5Rg5Cq+HCVC9fhlZWiuICLcROc3OLnVqlu96nNCKBmA1cUxsEd1zg
	 h9xpxuiXBQDh5KgXFoMeMBfVdaAXkspiOC0bIFHfUbSnW9yFlVVXBr3/1EWHKXPF04Q==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794682858;
	h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date:
	 Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:
	 Content-Transfer-Encoding;
	bh=d94VSXJN67mMncU42K5uwIo/1aJEGK7XaOOOUlwXwHs=;
	b=wDMbzlusO9HtMWsgUXzpejoT8Q8TeKTvx0RDNwPvjAbfWwXzpTivN8N5yc8IHyWwRIft
	 0kfMy9WhietTRITSXSGWWQc3/vch7Z2bxNh+BMCW/2Topg4I0L2ommlwdVTzva+tqdlJy
	 VQPNK54xh70f9WVhUXG4g0jx1lVu3w8mxmCdfFWG61lQd00JqTiv+/HWSxYbMOH6oU5If
	 LXzh5bFhW9/5h9RFf7/Tlr85XEKfqxAIEdLnwSeOMtY+Fn0Owk9ProLCmtdob3KNCEe7n
	 Nw43uMt0ktY5V1RIjUeoRWkCzxqWoZIYYcTDcvfvs80h4ZOeovj0E2D7Ulmch7u1bvg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=1wt.eu;
	spf=pass smtp.mailfrom=1wt.eu;
	dkim=pass header.d=1wt.eu header.i=@1wt.eu header.a=rsa-sha256 header.s=mail header.b=HOIc4Uh8;
	arc=none smtp.remote-ip=51.159.59.229
X-Received: from mta1.formilux.org (mta1.formilux.org [51.159.59.229])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C871606A33B;
	Sat, 14 Nov 2026 19:00:45 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0C871606A33B
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=1wt.eu
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=1wt.eu
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1wt.eu; s=mail;
	t=1794682837; bh=d94VSXJN67mMncU42K5uwIo/1aJEGK7XaOOOUlwXwHs=;
	h=From:Message-ID:From;
	b=HOIc4Uh8CrWwAHWhZ5uW7r7uQ7z1LtE7FJBOkd/lBzJ5K2HEy3kBuJt196Ip6XLWF
	 YTR59dN4xL7X5YYOVDjFOzbmIyPjnSYmuCrTPgJodSqmJzIf5hNEl5t9zyq/mUS4WO
	 SqER7gsfb1eaucWYGHTh4cRY5upFAB/ahoi1aFls=
X-Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212])
	by mta1.formilux.org (Postfix) with ESMTP id 26310C095B;
	Sat, 14 Nov 2026 20:00:37 +0100 (CET)
X-Cc: skhan@linuxfoundation.org, Randy Dunlap <rdunlap@infradead.org>,
        workflows@vger.kernel.org, linux-doc@vger.kernel.org,
        linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
        gregkh@linuxfoundation.org, Johan Hovold <johan@kernel.org>,
        "David S. Miller" <davem@davemloft.net>,
        Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>,
        Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>
X-Mailer: git-send-email 2.52.0
X-In-Reply-To: <20261114190014.17826-1-w@1wt.eu>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list