Repository navigation
jdk-21, jdk-25, jdk-27: built from source at the Java4Shell fix tags (CVE-2026-114938) - #1556
Draft
bryan-minimal wants to merge 1 commit into
Draft
bryan-minimal wants to merge 1 commit into
bryan-minimal wants to merge 1 commit into
Conversation
Revives the from-source recipes of bryan/jdk-from-source-v2 (dd19d82, green on both arches 2026-11-05), each booted by its bootstrap JVM-ladder rung (openjdk-21, openjdk-25, openjdk-26) and compiled by the production toolchain, at the out-of-band tags that fix CVE-2026-114938 (Java4Shell, HotSpot x86-64 AVX-512 Base64 intrinsic): jdk-21.0.13.1-ga (+2), jdk-25.0.5.1-ga (+2), jdk-27.0.1.1-ga (+4). Temurin had not shipped these when this was written. Reconciled with main since v2: - CVE-2026-111943: main's eMudhra step (../jdk/cve-2026-111943.*) and its test are restored in all three. OpenJDK's own cacerts at these tags still holds both distrusted anchors. This is the blocker msample's review of #1242 found. - #1406's test_deps (bash-bootstrap, grep, coreutils) replace `base`. - jdk-27 is at 27.0.1.1, past main's Temurin 27.0.1.0.2, not 27 GA. Sources are the GitHub tag archives mirrored to staging-archives. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
jdk-21, jdk-25 and jdk-27 built from source, at the tags that fix Java4Shell (CVE-2026-114938).
Java4Shell is a CVSS 9.2 flaw in HotSpot's x86-64 AVX-512 Base64 intrinsic. OpenJDK tagged the fixes
jdk-21.0.13.1-ga,jdk-25.0.5.1-gaandjdk-27.0.1.1-gaon 2026-11-17; Corretto and Zulu shipped within hours. Temurin, which these packages download today, had not shipped when this was opened.What this is. It revives the from-source recipes of
bryan/jdk-from-source-v2(dd19d822). That branch built and passed its tests on both arches on 2026-11-05, as part of #1242. Each JDK is:openjdk-2121.0.2,openjdk-2525.0.2 andopenjdk-2626.0.2.1, the gen-15 pins, which are byte-identical to gen-18;src.zip, a sorted classlist.Reconciled with main since v2:
../jdk/cve-2026-111943.{sh,ncl},JdkDistrust.java) and its test are restored in all three. This is the blocker msample's review of bootstrap pins -> gen-13: every root, ladder top and userland cycle breaker from one generation #1242 found. OpenJDK's owncacertsat these tags still holds both distrusted anchors, so the step is needed here, not just carried over.bash-bootstrap,grepandcoreutils, replacingbase.Sources: GitHub tag archives mirrored to
gs://minimal-staging-archives/jdk-<version>-ga.tar.gz. The pinned sha256 of each is the sha256 of the mirrored object itself, re-hashed from the bucket.What changes for users vs Temurin (msample asked for this on #1242):
java -versionvendor isminimal, not Eclipse Adoptium.classes.jsa), so JVM startup is somewhat slower. It isn't reproducible yet.src.zip.cacertswith the eMudhra/AAA anchors removed, not Temurin's.Planned follow-ups (phase 2), not in this PR:
--with-cacerts-srcbuilt from ourca-certificates, with ASCII-only file names: NetLock's non-ASCII name breaksGenerateCacertsunderLC_ALL=C.--with-stdc++lib=static.--disable-cds-archiveinstead of deleting the archives.Draft until it is built green on main and on #1545's gcc 16 tree. Temurin stays the shipped binary until we decide to switch the
jdkpointer.Coordinated with the bootstrap side (the JVM ladder): the boot objects are unchanged and no new rung is needed.
🤖 Generated with Claude Code