-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Segmentations fault with --untrusted-code-mitigations
#43296
Labels
v8 engine
Issues and PRs related to the V8 dependency.
Comments
Sync to v8 issue: https://bugs.chromium.org/p/v8/issues/detail?id=12931 |
Note that V8 removed untrusted code mitigations in https://chromium-review.googlesource.com/c/v8/v8/+/3045704 (landed in version 9.5 / Node.js 17.0.0) |
XadillaX
added a commit
to XadillaX/node
that referenced
this issue
Jun 6, 2022
[Compiler] Remove untrusted code mitigations. These are no longer enabled, so remove the code mitigation logic from the codebase. BUG=chromium:1003890 Change-Id: I536bb1732e8463281c21da446bbba8f47ede8ebe Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3045704 Commit-Queue: Ross McIlroy <rmcilroy@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#76256} Refs: v8/v8@4ab70f6 Fixes: nodejs#43296
danielleadams
pushed a commit
that referenced
this issue
Jun 26, 2022
[Compiler] Remove untrusted code mitigations. These are no longer enabled, so remove the code mitigation logic from the codebase. BUG=chromium:1003890 Change-Id: I536bb1732e8463281c21da446bbba8f47ede8ebe Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3045704 Commit-Queue: Ross McIlroy <rmcilroy@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#76256} Refs: v8/v8@4ab70f6 Fixes: #43296 PR-URL: #43328 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
danielleadams
pushed a commit
that referenced
this issue
Jul 7, 2022
[Compiler] Remove untrusted code mitigations. These are no longer enabled, so remove the code mitigation logic from the codebase. BUG=chromium:1003890 Change-Id: I536bb1732e8463281c21da446bbba8f47ede8ebe Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3045704 Commit-Queue: Ross McIlroy <rmcilroy@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#76256} Refs: v8/v8@4ab70f6 Fixes: #43296 PR-URL: #43328 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Fixed in #43328 |
guangwong
pushed a commit
to noslate-project/node
that referenced
this issue
Oct 10, 2022
[Compiler] Remove untrusted code mitigations. These are no longer enabled, so remove the code mitigation logic from the codebase. BUG=chromium:1003890 Change-Id: I536bb1732e8463281c21da446bbba8f47ede8ebe Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3045704 Commit-Queue: Ross McIlroy <rmcilroy@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#76256} Refs: v8/v8@4ab70f6 Fixes: nodejs/node#43296 PR-URL: nodejs/node#43328 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
davidjb
added a commit
to davidjb/isolated-vm
that referenced
this issue
Mar 7, 2024
This functionality was removed in Node 16.17.0 and 17.0.0. Comments on the relevant issues suggest this mitigations may never have worked: nodejs/node#43296 nodejs/node#43328
laverdet
pushed a commit
to laverdet/isolated-vm
that referenced
this issue
Mar 7, 2024
This functionality was removed in Node 16.17.0 and 17.0.0. Comments on the relevant issues suggest this mitigations may never have worked: nodejs/node#43296 nodejs/node#43328
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
16.15.0
Platform
Linux zanardance 5.14.0-1036-oem #40-Ubuntu SMP Mon May 9 09:15:08 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
macOS has the same problem
Subsystem
No response
What steps will reproduce the bug?
Use this code:
And run with
--untrusted-code-mitigations
:How often does it reproduce? Is there a required condition?
Every time.
What is the expected behavior?
No response
What do you see instead?
Segmentation fault.
Additional information
No response
The text was updated successfully, but these errors were encountered: