From: Thomas Devoogdt <thomas@devoogdt.com>
To: thomas@devoogdt.com
Cc: buildroot@buildroot.org, buildroot@tudorholton.com,
thomas.perale@mind.be
Subject: [Buildroot] [PATCH v2 1/3] package/openjdk{-bin}: security bump 17.x to version 17.0.21.1+2
Date: Thu, 19 Nov 2026 15:02:21 +0100 [thread overview]
Message-ID: <20261119140223.1968045-1-thomas@devoogdt.com> (raw)
In-Reply-To: <20261119123532.1749442-3-thomas@devoogdt.com>
Fix CVE-2026-114938, a heap-based buffer overflow in the HotSpot
compiler which may result in takeover of affected Java runtimes.
This also includes security fixes from the OpenJDK advisories published
on 2026-04-21, 2026-07-21, 2026-08-18, 2026-10-20, 2026-10-21,
2026-10-24, and 2026-11-17.
Other relevant changes include certificate and cryptographic hardening,
updates to libpng 1.6.59, FreeType 2.15.0 and tzdata2026f, and fixes
for TLS, HTTP, Kerberos, JMX, JFR, and HotSpot.
Temurin does not provide a glibc AArch64 JDK for this security
release, so use the matching Amazon Corretto archive on those hosts.
For details, see:
https://openjdk.org/groups/vulnerability/advisories/2026-11-17
Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
---
v2:
- Restore AArch64 host support with the matching Corretto archive because
Temurin does not provide a glibc AArch64 JDK for this release:
https://corretto.aws/downloads/resources/17.0.21.1.2/amazon-corretto-17.0.21.1.2-linux-aarch64.tar.gz
- Cite the Corretto GitHub release page in the hash file:
https://github.com/corretto/corretto-17/releases/tag/17.0.21.1.2
- Cite the exact Temurin JDK checksum sidecar:
https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.21.1%2B2/OpenJDK17U-jdk_x64_linux_hotspot_17.0.21.1_2.tar.gz.sha256.txt
- Successfully cross-built OpenJDK 17 with the matching Corretto x64
boot JDK to verify archive layout and toolchain compatibility.
.checkpackageignore | 2 +-
package/openjdk-bin/17.0.18_8/openjdk-bin.hash | 7 -------
package/openjdk-bin/17.0.21.1_2/openjdk-bin.hash | 9 +++++++++
package/openjdk-bin/openjdk-bin.mk | 11 +++++++++--
...001-Add-ARCv2-ISA-processors-support-to-Zero.patch | 0
...002-awt-fix-HEADLESS-compilation-without-X11.patch | 0
package/openjdk/openjdk.hash | 2 +-
package/openjdk/openjdk.mk | 4 ++--
8 files changed, 22 insertions(+), 13 deletions(-)
delete mode 100644 package/openjdk-bin/17.0.18_8/openjdk-bin.hash
create mode 100644 package/openjdk-bin/17.0.21.1_2/openjdk-bin.hash
rename package/openjdk/{17.0.18+8 => 17.0.21.1+2}/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch (100%)
rename package/openjdk/{17.0.18+8 => 17.0.21.1+2}/0002-awt-fix-HEADLESS-compilation-without-X11.patch (100%)
diff --git a/.checkpackageignore b/.checkpackageignore
index 25c668db542..b5ad45705a0 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -657,7 +657,7 @@ package/olsr/0006-build-patch-for-gpsd-3-25.patch lib_patch.Upstream
package/olsr/S50olsr Shellcheck lib_sysv.Indent lib_sysv.Variables
package/open-plc-utils/0001-Remove-OWNER-and-GROUPS-parameters-to-install.patch lib_patch.Upstream
package/open2300/0001-fix-makefile.patch lib_patch.Upstream
-package/openjdk/17.0.18+8/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch lib_patch.Upstream
+package/openjdk/17.0.21.1+2/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch lib_patch.Upstream
package/openjdk/21.0.10+7/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch lib_patch.Upstream
package/openjdk/25.0.2+10/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch lib_patch.Upstream
package/openldap/0001-fix-bignum.patch lib_patch.Upstream
diff --git a/package/openjdk-bin/17.0.18_8/openjdk-bin.hash b/package/openjdk-bin/17.0.18_8/openjdk-bin.hash
deleted file mode 100644
index c2169350c17..00000000000
--- a/package/openjdk-bin/17.0.18_8/openjdk-bin.hash
+++ /dev/null
@@ -1,7 +0,0 @@
-# https://github.com/adoptium/temurin17-binaries/releases
-sha256 0c94cbb54325c40dcf026143eb621562017db5525727f2d9131a11250f72c450 OpenJDK17U-jdk_x64_linux_hotspot_17.0.18_8.tar.gz
-sha256 592a6702b3a07a0e0b82cb38aaab149bfce1b0c24d6b57ddb410bd9009333095 OpenJDK17U-jdk_aarch64_linux_hotspot_17.0.18_8.tar.gz
-
-# Locally calculated
-sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE
-sha256 a44eb7b5caf5534c6ef536b21edb40b4d6babf91bf97d9d45596868618b2c6fb legal/java.prefs/ASSEMBLY_EXCEPTION
diff --git a/package/openjdk-bin/17.0.21.1_2/openjdk-bin.hash b/package/openjdk-bin/17.0.21.1_2/openjdk-bin.hash
new file mode 100644
index 00000000000..7ae070f22d1
--- /dev/null
+++ b/package/openjdk-bin/17.0.21.1_2/openjdk-bin.hash
@@ -0,0 +1,9 @@
+# From https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.21.1%2B2/OpenJDK17U-jdk_x64_linux_hotspot_17.0.21.1_2.tar.gz.sha256.txt
+sha256 0b0ac5eab6db6abaec68c9913bcddb31321e5da411c45073d520d9c125e6f7b4 OpenJDK17U-jdk_x64_linux_hotspot_17.0.21.1_2.tar.gz
+
+# From https://github.com/corretto/corretto-17/releases/tag/17.0.21.1.2
+sha256 f58bea1d8fca5788081a438e46997af0fe62491ef29b6ba4d9258cbfe8eeb5bb amazon-corretto-17.0.21.1.2-linux-aarch64.tar.gz
+
+# Locally calculated
+sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE
+sha256 a44eb7b5caf5534c6ef536b21edb40b4d6babf91bf97d9d45596868618b2c6fb legal/java.prefs/ASSEMBLY_EXCEPTION
diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk
index 4a21cbb4601..a0206010f46 100644
--- a/package/openjdk-bin/openjdk-bin.mk
+++ b/package/openjdk-bin/openjdk-bin.mk
@@ -14,8 +14,8 @@ HOST_OPENJDK_BIN_VERSION_MINOR = 0.10
HOST_OPENJDK_BIN_VERSION_BUILD = 7
else
HOST_OPENJDK_BIN_VERSION_MAJOR = 17
-HOST_OPENJDK_BIN_VERSION_MINOR = 0.18
-HOST_OPENJDK_BIN_VERSION_BUILD = 8
+HOST_OPENJDK_BIN_VERSION_MINOR = 0.21.1
+HOST_OPENJDK_BIN_VERSION_BUILD = 2
endif
ifeq ($(HOSTARCH),x86_64)
@@ -29,6 +29,13 @@ HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_
HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_$(HOST_OPENJDK_BIN_DOWNLOAD_ARCH_NAME)_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz
HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION))
+# Temurin does not provide a glibc AArch64 binary for this release.
+ifeq ($(HOSTARCH),aarch64)
+HOST_OPENJDK_BIN_CORRETTO_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR).$(HOST_OPENJDK_BIN_VERSION_BUILD)
+HOST_OPENJDK_BIN_SOURCE = amazon-corretto-$(HOST_OPENJDK_BIN_CORRETTO_VERSION)-linux-aarch64.tar.gz
+HOST_OPENJDK_BIN_SITE = https://corretto.aws/downloads/resources/$(HOST_OPENJDK_BIN_CORRETTO_VERSION)
+endif
+
# Override automatic CPE ID because '_' in $(HOST_OPENJDK_BIN_VERSION) is not used by NVD
HOST_OPENJDK_BIN_CPE_ID_VENDOR = oracle
HOST_OPENJDK_BIN_CPE_ID_PRODUCT = openjdk
diff --git a/package/openjdk/17.0.18+8/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch b/package/openjdk/17.0.21.1+2/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch
similarity index 100%
rename from package/openjdk/17.0.18+8/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch
rename to package/openjdk/17.0.21.1+2/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch
diff --git a/package/openjdk/17.0.18+8/0002-awt-fix-HEADLESS-compilation-without-X11.patch b/package/openjdk/17.0.21.1+2/0002-awt-fix-HEADLESS-compilation-without-X11.patch
similarity index 100%
rename from package/openjdk/17.0.18+8/0002-awt-fix-HEADLESS-compilation-without-X11.patch
rename to package/openjdk/17.0.21.1+2/0002-awt-fix-HEADLESS-compilation-without-X11.patch
diff --git a/package/openjdk/openjdk.hash b/package/openjdk/openjdk.hash
index 3f83ab48f89..40879824ad7 100644
--- a/package/openjdk/openjdk.hash
+++ b/package/openjdk/openjdk.hash
@@ -1,5 +1,5 @@
# Locally computed
sha256 9b3164cedf78d7a76a59499d7a6833145c7e0269ec7b664bfe5ee03ced2f449e openjdk-25.0.2+10.tar.gz
sha256 6500906cb7cc49268ce4ca368db3ddf3541b40afd25eecb378e13d5a72f43214 openjdk-21.0.10+7.tar.gz
-sha256 7ebfcc2aafd514c23df3fe5280e1a34630b9b1d429c65a80dd5a4b6e7f177bc3 openjdk-17.0.18+8.tar.gz
+sha256 1358a7fbe258370744a11a4be8017bd9d30a00a5fc5b784f9221815bb7444a4d openjdk-17.0.21.1+2.tar.gz
sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 LICENSE
diff --git a/package/openjdk/openjdk.mk b/package/openjdk/openjdk.mk
index e1d68e9a458..25fa001d840 100644
--- a/package/openjdk/openjdk.mk
+++ b/package/openjdk/openjdk.mk
@@ -14,8 +14,8 @@ OPENJDK_VERSION_MINOR = 0.10
OPENJDK_VERSION_BUILD = 7
else
OPENJDK_VERSION_MAJOR = 17
-OPENJDK_VERSION_MINOR = 0.18
-OPENJDK_VERSION_BUILD = 8
+OPENJDK_VERSION_MINOR = 0.21.1
+OPENJDK_VERSION_BUILD = 2
endif
OPENJDK_VERSION = $(OPENJDK_VERSION_MAJOR).$(OPENJDK_VERSION_MINOR)+$(OPENJDK_VERSION_BUILD)
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-11-19 14:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 12:35 [Buildroot] [PATCH v1 1/3] package/openjdk{-bin}: security bump 17.x to version 17.0.21.1+2 Thomas Devoogdt
2026-11-19 12:35 ` [Buildroot] [PATCH v1 2/3] package/openjdk{-bin}: security bump 21.x to version 21.0.13.1+2 Thomas Devoogdt
2026-11-19 12:35 ` [Buildroot] [PATCH v1 3/3] package/openjdk{-bin}: security bump 25.x to version 25.0.5.1+2 Thomas Devoogdt
2026-11-19 14:02 ` Thomas Devoogdt [this message]
2026-11-19 14:02 ` [Buildroot] [PATCH v2 2/3] package/openjdk{-bin}: security bump 21.x to version 21.0.13.1+2 Thomas Devoogdt
2026-11-19 14:02 ` [Buildroot] [PATCH v2 3/3] package/openjdk{-bin}: security bump 25.x to version 25.0.5.1+2 Thomas Devoogdt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261119140223.1968045-1-thomas@devoogdt.com \
--to=thomas@devoogdt.com \
--cc=buildroot@buildroot.org \
--cc=buildroot@tudorholton.com \
--cc=thomas.perale@mind.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.