[jdk25u-dev] RFR: 8371864: GaloisCounterMode.implGCMCrypt0 AVX512/AVX2 intrinsics stubs cause AES-GCM encryption failure for certain payload sizes

Aleksey Shipilev shade at openjdk.org
Wed Dec 3 10:45:00 UTC 2025


Fixes another JDK 25 regression in AES/GCM on x86_64.

Additional testing:
 - [x] Linux x86_64 server fastdebug, AVX2 machine, new regression test fails without the patch, passes with it
 - [x] Linux x86_64 server fastdebug, AVX2 machine, `jdk_security`
 - [x] Linux x86_64 server fastdebug, AVX-512 machine, new regression test fails without the patch, passes with it
 - [x] Linux x86_64 server fastdebug, AVX-512 machine, `jdk_security`
 - [ ] Linux x86_64 server fastdebug, AVX-512 machine, `all`

-------------

Commit messages:
 - Backport 6cb1c8f9cfcb797af788ca8fb490f388cc68f525

Changes: https://git.openjdk.org/jdk25u-dev/pull/54/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=54&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371864
  Stats: 151 lines in 2 files changed: 149 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/54.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/54/head:pull/54

PR: https://git.openjdk.org/jdk25u-dev/pull/54


More information about the jdk-updates-dev mailing list