Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8330611: AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512) #2634

Closed
wants to merge 1 commit into from

Conversation

asgibbons
Copy link
Contributor

@asgibbons asgibbons commented Jun 24, 2024

JDK-8330611: AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512)

Backporting 8a8d9288980513db459f7d6b36554b65844951ca from original JBS.

Backport was not clean due to renaming of a file. Made changes in the old file consistent with the new file.

Tested release, fastdebug with tier1 and tier2.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8330611 needs maintainer approval

Issue

  • JDK-8330611: AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512) (Bug - P3 - Approved)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/2634/head:pull/2634
$ git checkout pull/2634

Update a local copy of the PR:
$ git checkout pull/2634
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/2634/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2634

View PR using the GUI difftool:
$ git pr show -t 2634

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/2634.diff

Webrev

Link to Webrev Comment

Sorry, something went wrong.

@bridgekeeper
Copy link

bridgekeeper bot commented Jun 24, 2024

👋 Welcome back sgibbons! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Jun 24, 2024

@asgibbons This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

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

Reviewed-by: sviswanathan, chagedorn

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 28 new commits pushed to the master branch:

  • 379a14b: 8260633: [macos] java/awt/dnd/MouseEventAfterStartDragTest/MouseEventAfterStartDragTest.html test failed
  • 313a7e0: 8327007: javax/swing/JSpinner/8008657/bug8008657.java fails
  • 4e702a4: 8319406: x86: Shorter movptr(reg, imm) for 32-bit immediates
  • a4a0a82: 8293862: javax/swing/JFileChooser/8046391/bug8046391.java failed with 'Cannot invoke "java.awt.Image.getWidth(java.awt.image.ImageObserver)" because "retVal" is null'
  • 3bdbf49: 8298809: Clean up vm/compiler/InterfaceCalls JMH
  • 1070100: 8170817: G1: Returning MinTLABSize from unsafe_max_tlab_alloc causes TLAB flapping
  • acff32c: 8328896: Fontmetrics for large Fonts has zero width
  • 445aba4: 8303466: C2: failed: malformed control flow. Limit type made precise with MaxL/MinL
  • 5b43be2: 8317372: Refactor some NumberFormat tests to use JUnit
  • 719f9ce: 8323584: AArch64: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe
  • ... and 18 more: https://git.openjdk.org/jdk17u-dev/compare/879e8031949d6cd6ce82027296dd2d4325faa2bb...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@chhagedorn) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@asgibbons asgibbons changed the title Backport 8a8d928 Backport JDK-8330611 AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512) Jun 24, 2024
@asgibbons asgibbons changed the title Backport JDK-8330611 AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512) JDK-8330611 AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512) Jun 24, 2024
@openjdk openjdk bot changed the title JDK-8330611 AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512) 8330611: AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512) Jun 24, 2024
@asgibbons asgibbons changed the title 8330611: AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512) Backport 8a8d928 Jun 24, 2024
@asgibbons asgibbons changed the title Backport 8a8d928 Backport 8a8d9288980513db459f7d6b36554b65844951ca Jun 24, 2024
@openjdk openjdk bot changed the title Backport 8a8d9288980513db459f7d6b36554b65844951ca 8330611: AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512) Jun 24, 2024
@openjdk
Copy link

openjdk bot commented Jun 24, 2024

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added the backport label Jun 24, 2024
@asgibbons asgibbons marked this pull request as ready for review June 24, 2024 21:29
@openjdk openjdk bot added approval rfr Pull request is ready for review labels Jun 24, 2024
@asgibbons
Copy link
Contributor Author

/label hotspot
/label hotspot-compiler

@openjdk
Copy link

openjdk bot commented Jun 24, 2024

@asgibbons
The label hotspot is not a valid label.
These labels are valid:

@openjdk
Copy link

openjdk bot commented Jun 24, 2024

@asgibbons
The label hotspot-compiler is not a valid label.
These labels are valid:

@mlbridge
Copy link

mlbridge bot commented Jun 24, 2024

Webrevs

@openjdk openjdk bot removed the approval label Jun 25, 2024
Copy link

@sviswa7 sviswa7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@sviswa7
Copy link

sviswa7 commented Jun 25, 2024

@theRealAph Could you please help reviewing this backport of openjdk/jdk#18849.

@asgibbons
Copy link
Contributor Author

Can I please get a review on this? Thanks in advance.

@asgibbons
Copy link
Contributor Author

@chhagedorn Could you please review this so I can get it off my plate? thanks.

Copy link
Member

@chhagedorn chhagedorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Jul 2, 2024
@asgibbons
Copy link
Contributor Author

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Jul 2, 2024
@openjdk
Copy link

openjdk bot commented Jul 2, 2024

@asgibbons
Your change (at version eeb6d34) is now ready to be sponsored by a Committer.

@jerboaa
Copy link
Contributor

jerboaa commented Jul 4, 2024

/sponsor

@openjdk
Copy link

openjdk bot commented Jul 4, 2024

Going to push as commit c025eb6.
Since your change was applied there have been 33 commits pushed to the master branch:

  • 0090161: 8332524: Instead of printing "TLSv1.3," it is showing "TLS13"
  • 7ae015f: 8330063: Upgrade jQuery to 3.7.1
  • 83a5a4d: 8331331: :tier1 target explanation in doc/testing.md is incorrect
  • dc3abee: 8309241: ClassForNameLeak fails intermittently as the class loader hasn't been unloaded
  • b555bbb: 8294691: dynamicArchive/RelativePath.java is running other test case
  • 379a14b: 8260633: [macos] java/awt/dnd/MouseEventAfterStartDragTest/MouseEventAfterStartDragTest.html test failed
  • 313a7e0: 8327007: javax/swing/JSpinner/8008657/bug8008657.java fails
  • 4e702a4: 8319406: x86: Shorter movptr(reg, imm) for 32-bit immediates
  • a4a0a82: 8293862: javax/swing/JFileChooser/8046391/bug8046391.java failed with 'Cannot invoke "java.awt.Image.getWidth(java.awt.image.ImageObserver)" because "retVal" is null'
  • 3bdbf49: 8298809: Clean up vm/compiler/InterfaceCalls JMH
  • ... and 23 more: https://git.openjdk.org/jdk17u-dev/compare/879e8031949d6cd6ce82027296dd2d4325faa2bb...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Jul 4, 2024
@openjdk openjdk bot closed this Jul 4, 2024
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels Jul 4, 2024
@openjdk
Copy link

openjdk bot commented Jul 4, 2024

@jerboaa @asgibbons Pushed as commit c025eb6.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@asgibbons asgibbons deleted the AES_backport branch July 4, 2024 20:17
@asgibbons
Copy link
Contributor Author

Thanks, @jerboaa for the sponsorship of this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

None yet

4 participants