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

[PPC64] AES intrinsics write beyond the destination array

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b11
    • CPU:
      ppc

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: