[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

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

                Created:
                Updated:
                Resolved: