Skip to contentSkip to conversation

package/openssh: security bump version to 9.9p2

PATCH In review Michael Fischer 3 participants 4 messages Feb 20, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/openssh: security bump version to 9.9p2

Release note: https://www.openssh.com/txt/release-9.9p2

Fixes CVE-2025-26465 (ssh) , CVE-2025-26466 (sshd)

Drop upstream patch: 0001-build-construct_utmp-when-USE_BTMP-is-set.patch

---
 ...-construct_utmp-when-USE_BTMP-is-set.patch | 35 -------------------
 package/openssh/openssh.hash                  |  4 +--
 package/openssh/openssh.mk                    |  2 +-
 3 files changed, 3 insertions(+), 38 deletions(-)
 delete mode 100644 package/openssh/0001-build-construct_utmp-when-USE_BTMP-is-set.patch
package/openssh/0001-build-construct_utmp-when-USE_BTMP-is-set.patch deleted +0 -35
deleted file mode 100644
index 85ad5a538c..0000000000
@@ -1,35 +0,0 @@
-From 76a618d2842c34c16cd21a4efc7230e2f459008d Mon Sep 17 00:00:00 2001
-From: Damien Miller <[email protected]>
-Date: Wed, 25 Sep 2024 11:13:05 +1000
-Subject: [PATCH] build construct_utmp() when USE_BTMP is set
-
-Fixes compile error on Void Linux/Musl
-
-Upstream: https://anongit.mindrot.org/openssh.git/commit/?id=76a618d2842c34c16cd21a4efc7230e2f459008d
-Signed-off-by: Fiona Klute (WIWA) <[email protected]>
----
- loginrec.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/loginrec.c b/loginrec.c
-index 45f13dee8b1f..7b1818b86753 100644
---- a/loginrec.c
-+++ b/loginrec.c
-@@ -614,7 +614,7 @@ line_abbrevname(char *dst, const char *src, int dstsize)
-  ** into account.
-  **/
-
--#if defined(USE_UTMP) || defined (USE_WTMP) || defined (USE_LOGIN)
-+#if defined(USE_BTMP) || defined(USE_UTMP) || defined (USE_WTMP) || defined (USE_LOGIN)
-
- /* build the utmp structure */
- void
-@@ -698,7 +698,7 @@ construct_utmp(struct logininfo *li,
- 	}
- # endif
- }
--#endif /* USE_UTMP || USE_WTMP || USE_LOGIN */
-+#endif /* USE_BTMP || USE_UTMP || USE_WTMP || USE_LOGIN */
-
- /**
-  ** utmpx utility functions
package/openssh/openssh.hash +2 -2
index 5758ce4f36..0bbc4874df 100644
@@ -1,4 +1,4 @@
-# From https://www.openssh.com/txt/release-9.9
-sha256  b343fbcdbff87f15b1986e6e15d6d4fc9a7d36066be6b7fb507087ba8f966c02  openssh-9.9p1.tar.gz
+# From https://www.openssh.com/txt/release-9.9p2
+sha256  91aadb603e08cc285eddf965e1199d02585fa94d994d6cae5b41e1721e215673  openssh-9.9p2.tar.gz
 # Locally calculated
 sha256  5bb5b160726ef5756e4f32fe95b35249c294962419650f48d05134b486d27ccb  LICENCE
package/openssh/openssh.mk +1 -1
index 95c059e03d..115290ce13 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 OPENSSH_VERSION_MAJOR = 9.9
-OPENSSH_VERSION_MINOR = p1
+OPENSSH_VERSION_MINOR = p2
 OPENSSH_VERSION = $(OPENSSH_VERSION_MAJOR)$(OPENSSH_VERSION_MINOR)
 OPENSSH_CPE_ID_VERSION = $(OPENSSH_VERSION_MAJOR)
 OPENSSH_CPE_ID_UPDATE = $(OPENSSH_VERSION_MINOR)
Signature · 6 lines
2.20.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Tested-by Fiona Klute (WIWA) on v2 1/1
#1 lore raw

Am 20.02.25 um 14:36 schrieb Michael Fischer:

Quoted 7 lines

Release note: https://www.openssh.com/txt/release-9.9p2

Fixes CVE-2025-26465 (ssh) , CVE-2025-26466 (sshd)

Drop upstream patch: 0001-build-construct_utmp-when-USE_BTMP-is-set.patch

Builds and works without the patch now. :-)

Thank you,
Fiona

Quoted 64 lines
---
  ...-construct_utmp-when-USE_BTMP-is-set.patch | 35 -------------------
  package/openssh/openssh.hash                  |  4 +--
  package/openssh/openssh.mk                    |  2 +-
  3 files changed, 3 insertions(+), 38 deletions(-)

delete mode 100644 package/openssh/0001-build-construct_utmp-when-USE_BTMP-is-set.patch

package/openssh/0001-build-construct_utmp-when-USE_BTMP-is-set.patch deleted +0 -35
deleted file mode 100644
index 85ad5a538c..0000000000
@@ -1,35 +0,0 @@
-From 76a618d2842c34c16cd21a4efc7230e2f459008d Mon Sep 17 00:00:00 2001
-From: Damien Miller <[email protected]>
-Date: Wed, 25 Sep 2024 11:13:05 +1000
-Subject: [PATCH] build construct_utmp() when USE_BTMP is set
-
-Fixes compile error on Void Linux/Musl
-
-Upstream: https://anongit.mindrot.org/openssh.git/commit/?id=76a618d2842c34c16cd21a4efc7230e2f459008d
-Signed-off-by: Fiona Klute (WIWA) <[email protected]>
----
- loginrec.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/loginrec.c b/loginrec.c
-index 45f13dee8b1f..7b1818b86753 100644
---- a/loginrec.c
-+++ b/loginrec.c
-@@ -614,7 +614,7 @@ line_abbrevname(char *dst, const char *src, int dstsize)
-  ** into account.
-  **/
-
--#if defined(USE_UTMP) || defined (USE_WTMP) || defined (USE_LOGIN)
-+#if defined(USE_BTMP) || defined(USE_UTMP) || defined (USE_WTMP) || defined (USE_LOGIN)
-
- /* build the utmp structure */
- void
-@@ -698,7 +698,7 @@ construct_utmp(struct logininfo *li,
- 	}
- # endif
- }
--#endif /* USE_UTMP || USE_WTMP || USE_LOGIN */
-+#endif /* USE_BTMP || USE_UTMP || USE_WTMP || USE_LOGIN */
-
- /**
-  ** utmpx utility functions
package/openssh/openssh.hash +2 -2
index 5758ce4f36..0bbc4874df 100644
@@ -1,4 +1,4 @@
-# From https://www.openssh.com/txt/release-9.9
-sha256  b343fbcdbff87f15b1986e6e15d6d4fc9a7d36066be6b7fb507087ba8f966c02  openssh-9.9p1.tar.gz
+# From https://www.openssh.com/txt/release-9.9p2
+sha256  91aadb603e08cc285eddf965e1199d02585fa94d994d6cae5b41e1721e215673  openssh-9.9p2.tar.gz
  # Locally calculated
  sha256  5bb5b160726ef5756e4f32fe95b35249c294962419650f48d05134b486d27ccb  LICENCE
package/openssh/openssh.mk +0 -0
index 95c059e03d..115290ce13 100644

package/openssh/openssh.mk line 11

Quoted 8 lines
package/openssh/openssh.mk +1 -1
@@ -5,7 +5,7 @@
  ################################################################################
 
  OPENSSH_VERSION_MAJOR = 9.9
-OPENSSH_VERSION_MINOR = p1
+OPENSSH_VERSION_MINOR = p2
  OPENSSH_VERSION = $(OPENSSH_VERSION_MAJOR)$(OPENSSH_VERSION_MINOR)
  OPENSSH_CPE_ID_VERSION = $(OPENSSH_VERSION_MAJOR)
  OPENSSH_CPE_ID_UPDATE = $(OPENSSH_VERSION_MINOR)

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

#2 lore raw
In reply to Michael Fischer
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Michael" == Michael Fischer <[email protected]> writes:

Release note: https://www.openssh.com/txt/release-9.9p2
Fixes: CVE-2025-26465 (ssh) , CVE-2025-26466 (sshd)

Drop upstream patch: 0001-build-construct_utmp-when-USE_BTMP-is-set.patch

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
In reply to Michael Fischer
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Michael" == Michael Fischer <[email protected]> writes:

Release note: https://www.openssh.com/txt/release-9.9p2
Fixes: CVE-2025-26465 (ssh) , CVE-2025-26466 (sshd)

Drop upstream patch: 0001-build-construct_utmp-when-USE_BTMP-is-set.patch

Committed to 2024.02.x and 2024.11.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot