Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8260791 | openjdk8u292 | Andrew Hughes | P4 | Resolved | Fixed | b01 |
Jtreg test jdk/test/com/sun/crypto/provider/Cipher/CTS/CTSMode.java
failed with SIGSEGV on option "-Xcomp -XX:-TieredCompilation".
The crash happens at stub code cipherBlockChaining_decryptAESCrypt.
Checking the jdk source code CipherTextStealing.decryptFinal and its
callee CipherBlockChaining.decrypt/implDecrypt, we can see that
cipherLen which is passed to the stub code can be 0. The unexpected
len_reg value makes the load from invalid address.
The following patch could fix this issue:
http://people.linaro.org/~ningsheng.jian/webrev/cbc-stub-fix/webrev.00/
It aligns with the Java code implementation and passed JTreg tests. To
make code consistent, I also update the encrypt part.
- backported by
-
JDK-8260791 AArch64: SEGV in stub code cipherBlockChaining_decryptAESCrypt
- Resolved
- relates to
-
JDK-8169529 AArch64: Revert old JDK-8167595 changes after JDK-8159035 fix is pushed
- Resolved
-
JDK-8257192 Integrate AArch64 JIT port into 8u
- Resolved