mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] util-linux: Version bump. 2.42.3 -> 2.42.4
@ 2026-09-22 18:59 Christian Melki
  2026-10-06  7:01 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Melki @ 2026-09-22 18:59 UTC (permalink / raw)
  To: ptxdist

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 <christian.melki@t2data.com>
---
 ...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 <kzak@redhat.com>
-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 <kzak@redhat.com>
----
- 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] util-linux: Version bump. 2.42.3 -> 2.42.4
  2026-09-22 18:59 [ptxdist] [PATCH] util-linux: Version bump. 2.42.3 -> 2.42.4 Christian Melki
@ 2026-10-06  7:01 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-10-06  7:01 UTC (permalink / raw)
  To: ptxdist; +Cc: Christian Melki

Thanks, applied as ad49f48fa175088fec26415896745a8e9d058988.

Michael

[sent from post-receive hook]

On Tue, 06 Oct 2026 09:01:23 +0200, Christian Melki <christian.melki@t2data.com> wrote:
> 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 <christian.melki@t2data.com>
> Message-Id: <20260922185903.3876194-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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 1722dea4eb5d..000000000000
> --- 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 <kzak@redhat.com>
> -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 <kzak@redhat.com>
> ----
> - 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 666af239cb10..000000000000
> --- 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 dc65181eb131..25f3752b3f3f 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)))



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-06  7:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-22 18:59 [ptxdist] [PATCH] util-linux: Version bump. 2.42.3 -> 2.42.4 Christian Melki
2026-10-06  7:01 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox