From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 18 Sep 2026 11:02:34 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x7UUM-003Vfz-1b for lore@lore.pengutronix.de; Fri, 18 Sep 2026 11:02:34 +0200 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1x7UUJ-0005KP-LF; Fri, 18 Sep 2026 11:02:31 +0200 Received: from mx1.white.stw.pengutronix.de ([2a0a:edc0:0:b01:1d::107]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1x7UU2-00048k-RE for ptxdist@pengutronix.de; Fri, 18 Sep 2026 11:02:14 +0200 Received: from drehscheibe.grey.stw.pengutronix.de (drehscheibe.grey.stw.pengutronix.de [IPv6:2a0a:edc0:0:c01:1d::a2]) (Authenticated sender: relay-from-drehscheibe.grey.stw.pengutronix.de) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id C44C420098A; Fri, 18 Sep 2026 11:02:14 +0200 (CEST) Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x7UU2-001XlS-2J; Fri, 18 Sep 2026 11:02:14 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1x7UU2-0000000766H-2m50; Fri, 18 Sep 2026 11:02:14 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 18 Sep 2026 11:02:14 +0200 Message-ID: <20260918090214.1691739-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260907171430.2969298-1-christian.melki@t2data.com> References: <20260907171430.2969298-1-christian.melki@t2data.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] util-linux: Version bump. 2.42.2 -> 2.42.3 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Christian Melki Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 6693728bddadf1917ad772318d47b02272e45e76. Michael [sent from post-receive hook] On Fri, 18 Sep 2026 11:02:14 +0200, Christian Melki wrote: > Various fixes, including security. > https://github.com/util-linux/util-linux/blob/v2.42.3/Documentation/releases/v2.42.3-ReleaseNotes > > Plugs CVEs: > CVE-2026-76642: mount post-mount hooks execute after helper failure. > CVE-2026-78410: mount TOCTOU race on source path. > CVE-2026-78409: mount X-mount.subdir symlink escape. > CVE-2026-78408: nsenter, unshare file descriptor leak. > CVE-2024-28085: wall, write, hostname escape sequence injection. (additional fixes) > > * Add upstream patch for openat2 build breakage. > > Signed-off-by: Christian Melki > Message-Id: <20260907171430.2969298-1-christian.melki@t2data.com> > Signed-off-by: Michael Olbrich > > diff --git a/patches/util-linux-2.42.3/0001-libmount-add-missing-fileutils.h-include-to-hook_idm.patch b/patches/util-linux-2.42.3/0001-libmount-add-missing-fileutils.h-include-to-hook_idm.patch > new file mode 100644 > index 000000000000..1722dea4eb5d > --- /dev/null > +++ b/patches/util-linux-2.42.3/0001-libmount-add-missing-fileutils.h-include-to-hook_idm.patch > @@ -0,0 +1,33 @@ > +From: Karel Zak > +Date: Wed, 2 Sep 2026 13:32:27 +0200 > +Subject: [PATCH] libmount: add missing fileutils.h include to hook_idmap.c > + > +The hook_idmap.c uses RESOLVE_NO_SYMLINKS (added by commit fb8e26535) > +but does not include fileutils.h, which provides the fallback #define > +for this constant. > + > +On Fedora (glibc 2.40+), this is masked because glibc's > + transitively includes , which > +defines RESOLVE_NO_SYMLINKS. On Ubuntu (and other distros with older > +glibc), does not pull in openat2.h, so the build fails: > + > + hook_idmap.c:335:33: error: 'RESOLVE_NO_SYMLINKS' undeclared > + > +Fixes: fb8e26535 ("libmount: pin source path with openat2() for restricted users") > +Signed-off-by: Karel Zak > +--- > + libmount/src/hook_idmap.c | 1 + > + 1 file changed, 1 insertion(+) > + > +diff --git a/libmount/src/hook_idmap.c b/libmount/src/hook_idmap.c > +index 77494e298102..2c697b171544 100644 > +--- a/libmount/src/hook_idmap.c > ++++ b/libmount/src/hook_idmap.c > +@@ -23,6 +23,7 @@ > + > + #include "strutils.h" > + #include "all-io.h" > ++#include "fileutils.h" > + #include "namespace.h" > + > + #include "mountP.h" > diff --git a/patches/util-linux-2.42.3/series b/patches/util-linux-2.42.3/series > new file mode 100644 > index 000000000000..666af239cb10 > --- /dev/null > +++ b/patches/util-linux-2.42.3/series > @@ -0,0 +1,4 @@ > +# generated by git-ptx-patches > +#tag:base --start-number 1 > +0001-libmount-add-missing-fileutils.h-include-to-hook_idm.patch > +# 68b169e8902b5198d49c78f09057ae1d - git-ptx-patches magic > diff --git a/rules/util-linux.make b/rules/util-linux.make > index 33e5258209a2..dc65181eb131 100644 > --- a/rules/util-linux.make > +++ b/rules/util-linux.make > @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_UTIL_LINUX) += util-linux > # > # Paths and names > # > -UTIL_LINUX_VERSION := 2.42.2 > -UTIL_LINUX_SHA256 := 03a05d3adf9602ef128f2da05b84b3205ce60c351e5737c0370f74000679ce8a > +UTIL_LINUX_VERSION := 2.42.3 > +UTIL_LINUX_SHA256 := 66ac7c0e725278eb2b039e3104f2c91119341d941b41bac7a285c695f940bd57 > UTIL_LINUX := util-linux-$(UTIL_LINUX_VERSION) > UTIL_LINUX_SUFFIX := tar.xz > UTIL_LINUX_BASENAME := v$(if $(filter 2,$(basename $(UTIL_LINUX_VERSION))),$(UTIL_LINUX_VERSION),$(basename $(UTIL_LINUX_VERSION)))