Skip to contentSkip to conversation

package/parted: security bump to version 3.8

PATCH Applied Yegor Yefremov via buildroot 1 participant 3 messages Oct 23 – Oct 30

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/parted: security bump to version 3.8

Fixes the following security issues:

- CVE-2026-89085
- CVE-2026-89088

Other changes in 3.7 and 3.8 include ExFAT detection support, several libparted fixes for corrupted/unhandled disklabels and a gcc 15 build fix. See the NEWS file for details:
https://cgit.git.savannah.gnu.org/cgit/parted.git/tree/NEWS?h=v3.8

Drop 0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch, which is included in this release.

Assisted-by Claude:claude-opus-5-5
---
 ...CH-parted-fix-do_version-declaration.patch | 44 -------------------
 package/parted/parted.hash                    |  2 +-
 package/parted/parted.mk                      |  2 +-
 3 files changed, 2 insertions(+), 46 deletions(-)
 delete mode 100644 package/parted/0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch
package/parted/0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch deleted +0 -44
deleted file mode 100644
index 78709e07ad..0000000000
@@ -1,44 +0,0 @@
-From 16343bda6ce0d41edf43f8dac368db3bbb63d271 Mon Sep 17 00:00:00 2001
-From: Rudi Heitbaum <[email protected]>
-Date: Wed, 20 Nov 2024 12:22:22 +0000
-Subject: [PATCH] bug#74444: [PATCH] parted: fix do_version declaration
-
-With gcc 15-20241117 compile fails with the below error, update the
-do_version declaration to match the header in command.h
-
-../../parted/parted.c: In function '_init_commands':
-../../parted/parted.c:2469:9: error: passing argument 2 of 'command_create' from incompatible pointer type [-Wincompatible-pointer-types]
- 2469 |         do_version,
-      |         ^~~~~~~~~~
-      |         |
-      |         int (*)(void)
-In file included from ../../parted/parted.c:28:
-../../parted/command.h:35:39: note: expected 'int (*)(PedDevice **, PedDisk **)' {aka 'int (*)(struct _PedDevice **, struct _PedDisk **)'} but argument is of type 'int (*)(void)'
-   35 |                                 int (*method) (PedDevice** dev, PedDisk** diskp),
-      |                                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Upstream: https://cgit.git.savannah.gnu.org/cgit/parted.git/commit/?id=16343bda6ce0d41edf43f8dac368db3bbb63d271
-
-Signed-off-by: Rudi Heitbaum <[email protected]>
-Signed-off-by: Brian C. Lane <[email protected]>
-Signed-off-by: Yegor Yefremov <[email protected]>
----
- parted/parted.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/parted/parted.c b/parted/parted.c
-index 3abb52f..fc2aeba 100644
---- a/parted/parted.c
-+++ b/parted/parted.c
-@@ -2172,7 +2172,7 @@ do_unit (PedDevice** dev, PedDisk** diskp)
- }
- 
- static int
--do_version ()
-+do_version (PedDevice** dev, PedDisk** diskp)
- {
-     printf ("\n%s\n%s",
-             prog_name,
--- 
-2.34.1
-
package/parted/parted.hash +1 -1
index 6643ba9fbe..9218deb39b 100644
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-sha256  3b43dbe33cca0f9a18601ebab56b7852b128ec1a3df3a9b30ccde5e73359e612  parted-3.6.tar.xz
+sha256  a2b7811f47b0ddb1f7b1d0aa456f7c1270da70708ce231c2fe054c7199eafa63  parted-3.8.tar.xz
 
 # Locally calculated
 sha256  0abbff814cd00e2b0b6d08395af2b419c1a92026c4b4adacbb65ccda45fa58cf  COPYING
package/parted/parted.mk +1 -1
index 5b55a9f21e..314bd0d3c4 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PARTED_VERSION = 3.6
+PARTED_VERSION = 3.8
 PARTED_SOURCE = parted-$(PARTED_VERSION).tar.xz
 PARTED_SITE = $(BR2_GNU_MIRROR)/parted
 PARTED_DEPENDENCIES = host-pkgconf util-linux
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · Yegor Yefremov via buildroot

Fixes the following security issues:

- CVE-2026-89085
- CVE-2026-89088

Other changes in 3.7 and 3.8 include ExFAT detection support, several libparted fixes for corrupted/unhandled disklabels and a gcc 15 build fix. See the NEWS file for details:
https://cgit.git.savannah.gnu.org/cgit/parted.git/tree/NEWS?h=v3.8

Quoted 5 lines

Drop 0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch, which is included in this release.

Assisted-by Claude:claude-opus-5-5

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Yegor Yefremov via buildroot

In reply of:

Quoted 10 lines

Fixes the following security issues:

- CVE-2026-89085
- CVE-2026-89088

Other changes in 3.7 and 3.8 include ExFAT detection support, several libparted fixes for corrupted/unhandled disklabels and a gcc 15 build fix. See the NEWS file for details:
https://cgit.git.savannah.gnu.org/cgit/parted.git/tree/NEWS?h=v3.8

Quoted 5 lines

Drop 0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch, which is included in this release.

Assisted-by Claude:claude-opus-5-5

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 73 lines
---
 ...CH-parted-fix-do_version-declaration.patch | 44 -------------------
 package/parted/parted.hash                    |  2 +-
 package/parted/parted.mk                      |  2 +-
 3 files changed, 2 insertions(+), 46 deletions(-)
 delete mode 100644 package/parted/0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch
package/parted/0001-bug-74444-PATCH-parted-fix-do_version-declaration.patch deleted +0 -44
deleted file mode 100644
index 78709e07ad..0000000000
@@ -1,44 +0,0 @@
-From 16343bda6ce0d41edf43f8dac368db3bbb63d271 Mon Sep 17 00:00:00 2001
-From: Rudi Heitbaum <[email protected]>
-Date: Wed, 20 Nov 2024 12:22:22 +0000
-Subject: [PATCH] bug#74444: [PATCH] parted: fix do_version declaration
-
-With gcc 15-20241117 compile fails with the below error, update the
-do_version declaration to match the header in command.h
-
-../../parted/parted.c: In function '_init_commands':
-../../parted/parted.c:2469:9: error: passing argument 2 of 'command_create' from incompatible pointer type [-Wincompatible-pointer-types]
- 2469 |         do_version,
-      |         ^~~~~~~~~~
-      |         |
-      |         int (*)(void)
-In file included from ../../parted/parted.c:28:
-../../parted/command.h:35:39: note: expected 'int (*)(PedDevice **, PedDisk **)' {aka 'int (*)(struct _PedDevice **, struct _PedDisk **)'} but argument is of type 'int (*)(void)'
-   35 |                                 int (*method) (PedDevice** dev, PedDisk** diskp),
-      |                                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Upstream: https://cgit.git.savannah.gnu.org/cgit/parted.git/commit/?id=16343bda6ce0d41edf43f8dac368db3bbb63d271
-
-Signed-off-by: Rudi Heitbaum <[email protected]>
-Signed-off-by: Brian C. Lane <[email protected]>
-Signed-off-by: Yegor Yefremov <[email protected]>
----
- parted/parted.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/parted/parted.c b/parted/parted.c
-index 3abb52f..fc2aeba 100644
---- a/parted/parted.c
-+++ b/parted/parted.c
-@@ -2172,7 +2172,7 @@ do_unit (PedDevice** dev, PedDisk** diskp)
- }
- 
- static int
--do_version ()
-+do_version (PedDevice** dev, PedDisk** diskp)
- {
-     printf ("\n%s\n%s",
-             prog_name,
--- 
-2.34.1
-
package/parted/parted.hash +1 -1
index 6643ba9fbe..9218deb39b 100644
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-sha256  3b43dbe33cca0f9a18601ebab56b7852b128ec1a3df3a9b30ccde5e73359e612  parted-3.6.tar.xz
+sha256  a2b7811f47b0ddb1f7b1d0aa456f7c1270da70708ce231c2fe054c7199eafa63  parted-3.8.tar.xz
 
 # Locally calculated
 sha256  0abbff814cd00e2b0b6d08395af2b419c1a92026c4b4adacbb65ccda45fa58cf  COPYING
package/parted/parted.mk +0 -0
index 5b55a9f21e..314bd0d3c4 100644

package/parted/parted.mk line 10

Quoted 8 lines
package/parted/parted.mk +1 -1
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PARTED_VERSION = 3.6
+PARTED_VERSION = 3.8
 PARTED_SOURCE = parted-$(PARTED_VERSION).tar.xz
 PARTED_SITE = $(BR2_GNU_MIRROR)/parted
 PARTED_DEPENDENCIES = host-pkgconf util-linux

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot