GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [v26.x] deps: V8: cherry-pick c21a93ec80d5 by barathraj048 · Pull Request #66729 · nodejs/node

Conversation

@barathraj048

@barathraj048 barathraj048 commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Original commit message:

[sandbox] Fix JSDispatchTable entry mark-bit erasure

A race condition exists in V8's concurrent marking and deoptimization
logic where Code::SetMarkedForDeoptimization updates a dispatch table
entry without running a write barrier. During concurrent marking, a
background thread's CAS mark can be overwritten by the mutator's blind
store, leading to a live entry being swept.

Fixed: 525686865
Change-Id: I0cebd44b62ad5c16c19d73e5586058b1d2265ee4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8074259
Commit-Queue: Olivier Flückiger <[email protected]>
Reviewed-by: Dominik Inführ <[email protected]>
Auto-Submit: Olivier Flückiger <[email protected]>
Cr-Commit-Position: refs/heads/main@{#108583}

Refs: v8/v8@c21a93e
Fixes: #66661


Notes for reviewers:

  • v26.x is on V8 14.6, which does not include this fix. The patch applied
    cleanly with git am -3. v8_embedder_string bumped to -node.40.
  • The follow-up CL 8064734 (CAS loops), which the TODO refers to as the
    complete fix, is not included here.
  • No new test: the race is timing-dependent and could not be reproduced
    on demand, and the upstream commit did not add one.
  • Tested: build + vcbuild.bat test on Windows x64. All tests pass except
    test-child-process-exec-any-shells-windows, which fails with EACCES on
    the WindowsApps bash.exe app execution alias. It fails the same way on
    a main build (v27.0.0-pre) without this change, so it's
    environment-specific and unrelated.

cc @nodejs/v8

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@barathraj048
deps: V8: cherry-pick c21a93ec80d5
f294033
Original commit message:

    [sandbox] Fix JSDispatchTable entry mark-bit erasure

    A race condition exists in V8's concurrent marking and deoptimization
    logic where Code::SetMarkedForDeoptimization updates a dispatch table
    entry without running a write barrier. During concurrent marking, a
    background thread's CAS mark can be overwritten by the mutator's blind
    store, leading to a live entry being swept.

    Fixed: 525686865
    Change-Id: I0cebd44b62ad5c16c19d73e5586058b1d2265ee4
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8074259
    Commit-Queue: Olivier Flückiger <[email protected]>
    Reviewed-by: Dominik Inführ <[email protected]>
    Auto-Submit: Olivier Flückiger <[email protected]>
    Cr-Commit-Position: refs/heads/main@{#108583}

Refs: v8/v8@c21a93e
Signed-off-by: Barath <[email protected]>
@nodejs-github-bot

nodejs-github-bot commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/security-wg
  • @nodejs/v8-update
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. v26.x Issues that can be reproduced on v26.x or PRs targeting the v26.x-staging branch. v8 engine Issues and PRs related to the V8 dependency. labels Oct 14, 2026
@barathraj048

barathraj048 commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Friendly ping for review @nodejs/v8-update. The GitHub Actions checks pass;
this would need a Jenkins CI run once someone has a chance to look.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95
aduh95 force-pushed the v26.x-staging branch from c2060d3 to e7c0957 Compare November 13, 2026 08:03
@aduh95 aduh95 mentioned this pull request Nov 13, 2026
[v26.x] V8 backports #67452
Merged
aduh95 pushed a commit that referenced this pull request Nov 17, 2026
@o- @aduh95
deps: V8: cherry-pick c21a93ec80d5
7c7371d
Original commit message:

    [sandbox] Fix JSDispatchTable entry mark-bit erasure

    A race condition exists in V8's concurrent marking and deoptimization
    logic where Code::SetMarkedForDeoptimization updates a dispatch table
    entry without running a write barrier. During concurrent marking, a
    background thread's CAS mark can be overwritten by the mutator's blind
    store, leading to a live entry being swept.

    Fixed: 525686865
    Change-Id: I0cebd44b62ad5c16c19d73e5586058b1d2265ee4
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8074259
    Commit-Queue: Olivier Flückiger <[email protected]>
    Reviewed-by: Dominik Inführ <[email protected]>
    Auto-Submit: Olivier Flückiger <[email protected]>
    Cr-Commit-Position: refs/heads/main@{#108583}

Refs: v8/v8@c21a93e
PR-URL: #66729
Fixes: #66661
Reviewed-by: Antoine du Hamel <[email protected]>
@aduh95

aduh95 commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Landed in 7c7371d

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95 aduh95 closed this Nov 17, 2026
@github-actions github-actions Bot mentioned this pull request Nov 20, 2026
2026-11-30, Version 26.14.0 'Lithium' (LTS) #67664
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. v8 engine Issues and PRs related to the V8 dependency. v26.x Issues that can be reproduced on v26.x or PRs targeting the v26.x-staging branch.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@barathraj048 @nodejs-github-bot @aduh95
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.