Thanks, applied as 6693728bddadf1917ad772318d47b02272e45e76.

Michael

[sent from post-receive hook]

On Fri, 18 Sep 2026 11:02:14 +0200, Christian Melki 
<[email protected]> 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 <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> 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 <[email protected]>
> +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
> +<bits/fcntl-linux.h> transitively includes <linux/openat2.h>, which
> +defines RESOLVE_NO_SYMLINKS. On Ubuntu (and other distros with older
> +glibc), <fcntl.h> 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 <[email protected]>
> +---
> + 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)))

Reply via email to