Article View: linux.kernel.netdev
Article #13060[PATCH 04/14] docs: threat-model: clarify the case of automatically mounted file systems
From: Willy Tarreau
Date: Mon, 09 Nov 2026 08:02
Date: Mon, 09 Nov 2026 08:02
41 lines
10195 bytes
10195 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>
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 72cb36dd383d6..b82d5d168b4c3 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 as 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:
<20261109080240.29444-5-w@1wt.eu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359104-linux-kernel-netdev=dewy.ruReferences:
<20261109080240.29444-1-w@1wt.eu>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359104-linux-kernel-netdev=dewy.ru
From: w@1wt.eu (Willy Tarreau)
Newsgroups: linux.kernel.netdev
Subject: [PATCH 04/14] docs: threat-model: clarify the case of automatically mounted file systems
Date: Mon, 9 Nov 2026 09:02:30 +0100
Organization: Usenet Network
Message-ID: <20261109080240.29444-5-w@1wt.eu>
References: <20261109080240.29444-1-w@1wt.eu>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="304223"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:fCjMQfYnIa9LUTmclMul0POf9Jc= sha256:oHNYfj3o6JpmBZyUq0GRDDwO25wkefMdJ5FbdkHTKGA=
sha1:e64SlcqIGfTsp3eX6mLogxHzHu4= sha256:8rfIAukeR6ypFcjr/Dule/uWNcCzUDfFzXPG45qtajI=
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 CA317113728; Mon, 9 Nov 2026 11:06:34 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 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] 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 BMk3Nwm51mcb;
Mon, 9 Nov 2026 11:06:32 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-359104-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id AAD3311371F; Mon, 9 Nov 2026 11:06:23 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 06B7989F9B; Mon, 9 Nov 2026 08:03:46 +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=1794211419;
b=ySG1A79ZJ7Nzp4kjQ09sKWsBpUXQxbckJB0IeLt/PQV2vYgVU+NYkDAlory2J2HN2QWd
RRZASFwc2nKnboL13JB67RylUOdMS2tKrpTwooE6XwXb2FhgmQYk7+YmanvzkVE+85+yV
f7vmB/QRNCoOc3TLbSje+HouBb9Jz+OepReae7Qo3R6MCaT4ROXYFsRokrt4rnADs4Abo
OVQj1+tTptAxynRcFSL3AyTLxMcgVlsPdBCdBrF/CTgjiNwIfqOQln2cNjHw5ssNGrfE4
jI1qW+dsUbhijraxEO4tKOLnOWrP7Of/vOiBKftJE3vMBOryHtSe01dX4kb5ITPbFzQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794211419;
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=nCwei3yxV3B2umLK1h2qgJbCXfxvzK2XX8vQpRVad2g=;
b=PGGuvBjAAXnS1b2vWdBhMqFqVIBPpy+y7Nm+38Krh+1Pxa/iT/Jsygc5JeIPx77PAA92
6k+zl+FxAPbQBTwUIKs8wrq79YYIeIBrCqgrDZMBZmzDcgm0C38RVRqacibQW3lwCCIBS
hOYmewCHq64BBLh81b6yZWEjxPYoWbjSXZykgkvPnJDPAGFQgNGdHEwzNa+CIAsyPQoX+
WErQM9jYuyNxTCuKrNkuucw6iyb9FGk+/1T7PtL2qEAsVUAjf8y4n+NZI0zxWtsGPI4E8
Fl1ILaGTlyErLEYw9prmsQfx/USF/KuF2FK5GviDocK9nWMxaqwYIDdqpMkAkuW471g==
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=n3eIxTdT;
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 2DA17606D833;
Mon, 9 Nov 2026 08:03:39 +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=n3eIxTdT
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=1794211418;
b=bBPJprUgBtY6KGsY6+RawUgikLxRrPP3ikrKFDOeHLOgjVRp3ey3T2OhqyeE4A2CTfkH
/EOLwmFadPw9zAKew148AG+Baz0kTd9DIxL7psvcFl6Ub5+KoZU4N4USED/ucc5DrMZTH
YWqET+Ma2AQQSU0LN6WN8xXRIJjnHlNOUwcwKMvLnTJ02Ow1hhvjUZXbDO3rNrutsUzUB
HSoydyOId2r4wT69gsTh8P1bEJuex9CVslTvBx1au8wlpRi1RVR3o0+KdHedipp/G9SgO
XKd74ErQHRxwsKthTvMI+PcZvzPP8ZdYwcP+Z3YDSuKSN+tIu1EuNT1T4esRo941RRQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794211418;
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=nCwei3yxV3B2umLK1h2qgJbCXfxvzK2XX8vQpRVad2g=;
b=QFJOnG2spAMdPz3JafRfIweDZoNXbDX0+DL0jrIdGBkjOUT/0JnMh2joi85GZ+KnzFw3
VYgjEjRUxt3C1DmLt2D3zQc6veKNtpX5Zf0nm1QMV0UHObpaRE7YurwQF+/G/EEyR3/3b
kX0StpW46PQj8qvEbd0Xax/4G1PhBjN6MgUHZI0K0+eSI64O7q6xyMFzarMayFeZBwWZ2
U2HhbGDG4esAcLQp4wNQSHpqJmToTXQ+LfyGPGOLh6OCMapB0JP7TGs2tZB0XAbc6ePVj
D+FIntgFFAUMUivGA6VWM3RrLE23gH5LBmf+4QIjTvK2VnlmAH+uLTlIZxBwjycMS7w==
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=n3eIxTdT;
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))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6381B606A323;
Mon, 9 Nov 2026 08:03:37 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6381B606A323
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=1794211413; bh=nCwei3yxV3B2umLK1h2qgJbCXfxvzK2XX8vQpRVad2g=;
h=From:Message-ID:From;
b=n3eIxTdTwnvTAZJ2goCeFbsaKIDk3nIpbd7Bu7wPyIpf3X+CoH9sndrKsdt23PTx+
Jl3PU8O+PLTNJ1gniCafXwTB2v3pHYEX9/xsah86ryjNXKKmdOI22NAoH8RdRKJDEE
kM/cLgKoyReqFinxfJi4CsMDsiV5Az12gcFYicQ4=
X-Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212])
by mta1.formilux.org (Postfix) with ESMTP id DA936C095B;
Mon, 09 Nov 2026 09:03:33 +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, "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: <20261109080240.29444-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