[jdk21u-dev] RFR: 8345296: AArch64: VM crashes with SIGILL when prctl is disallowed [v2]
Kerem Kat
krk at openjdk.org
Thu Dec 12 13:11:39 UTC 2024
> Ref. https://github.com/openjdk/jdk/pull/22479
>
>> We have caught this in some prod environments, where prctl is forbidden by the sandboxing mechanism. This fails the JVM
>
> Backport depends on [JDK-8339063](https://bugs.openjdk.org/browse/) which is included.
>
> JDK-8339063 did not apply cleanly, resolved conflict in `src/hotspot/cpu/aarch64/aarch64.ad` by keeping const qualifiers. These were removed in [JDK-8310948](https://bugs.openjdk.org/browse/JDK-8310948) which doesn't apply cleanly either.
>
> Additional testing:
>
> - [x] Verified the bug is fixed with the seccomp repro from [JDK-8345296](https://bugs.openjdk.org/browse/JDK-8345296?focusedId=14727386&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14727386): Segfault without the patch, works with.
Kerem Kat has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains one additional commit since the last revision:
Backport 3c60f0b2bb75150d49da9ab94d88b767275de5e2
-------------
Changes:
- all: https://git.openjdk.org/jdk21u-dev/pull/1222/files
- new: https://git.openjdk.org/jdk21u-dev/pull/1222/files/8ec87dce..3fc28084
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1222&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1222&range=00-01
Stats: 2257 lines in 45 files changed: 1402 ins; 204 del; 651 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/1222.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1222/head:pull/1222
PR: https://git.openjdk.org/jdk21u-dev/pull/1222
More information about the jdk-updates-dev
mailing list