[jdk22u] RFR: 8330611: AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512)

Martin Balao mbalao at openjdk.org
Sat Apr 27 06:44:18 UTC 2024


Hi all,

This pull request contains a backport of commit 8a8d9288 from the openjdk/jdk repository.

The commit being backported was authored by Martin Balao and Francisco Ferrari on 24 Apr 2024 and was reviewed by Andrew Haley and Sandhya Viswanathan. JDK-22 is affected by the bug [JDK-8330611](https://bugs.openjdk.org/browse/JDK-8330611) as it was introduced by [JDK-8233741](https://bugs.openjdk.org/browse/JDK-8233741) in JDK 14.

The JDK main line patch applies cleanly. The scope of the change is limited to the AES-CTR intrinsic for x86_64 AVX-512. I ran all the same testing as for JDK main line, no regressions were observed in hotspot/jtreg/compiler/codegen/aes and I manually verified that the bug was fixed.

Thanks!

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

Commit messages:
 - Backport 8a8d9288980513db459f7d6b36554b65844951ca

Changes: https://git.openjdk.org/jdk22u/pull/171/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk22u&pr=171&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8330611
  Stats: 23 lines in 3 files changed: 18 ins; 1 del; 4 mod
  Patch: https://git.openjdk.org/jdk22u/pull/171.diff
  Fetch: git fetch https://git.openjdk.org/jdk22u.git pull/171/head:pull/171

PR: https://git.openjdk.org/jdk22u/pull/171


More information about the jdk-updates-dev mailing list