Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8261522

[PPC64] AES intrinsics write beyond the destination array

XMLWordPrintable

    • b11
    • ppc

        The stubs for aescrypt_encryptBlock / aescrypt_decryptBlock use a read-modify-write implementation to store the 16 Byte result to an unaligned address. Depending on alignment, we may read and write Bytes beyond the array. This is not safe because these Bytes can belong to another object in the Java heap which can get modified concurrently.
        VM may crash: JDK-8253927

              mdoerr Martin Doerr
              mdoerr Martin Doerr
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: