Minor changes. https://github.com/util-linux/util-linux/blob/v2.42.4/Documentation/releases/v2.42.4-ReleaseNotes
Plugs CVE: CVE-2026-78408: close cgroup.procs fd after join to prevent authority leak * Remove patchset. Patch applied in upstream. Signed-off-by: Christian Melki <[email protected]> --- ...sing-fileutils.h-include-to-hook_idm.patch | 33 ------------------- patches/util-linux-2.42.3/series | 4 --- rules/util-linux.make | 4 +-- 3 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 patches/util-linux-2.42.3/0001-libmount-add-missing-fileutils.h-include-to-hook_idm.patch delete mode 100644 patches/util-linux-2.42.3/series 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 deleted file mode 100644 index 1722dea4e..000000000 --- a/patches/util-linux-2.42.3/0001-libmount-add-missing-fileutils.h-include-to-hook_idm.patch +++ /dev/null @@ -1,33 +0,0 @@ -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 deleted file mode 100644 index 666af239c..000000000 --- a/patches/util-linux-2.42.3/series +++ /dev/null @@ -1,4 +0,0 @@ -# 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 dc65181eb..25f3752b3 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.3 -UTIL_LINUX_SHA256 := 66ac7c0e725278eb2b039e3104f2c91119341d941b41bac7a285c695f940bd57 +UTIL_LINUX_VERSION := 2.42.4 +UTIL_LINUX_SHA256 := fbd62a100ab7bb8746ba0661255c3c48185b1e9021507c624da01fbc696330ec 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))) -- 2.43.0
