Skip to content

Fix V8 issue with CET - #242

Merged
marchc1 merged 1 commit into
SourceDotNET:mainfrom
spacevx:fix/chromium-cet
Nov 12, 2026
Merged

marchc1 merged 1 commit into
SourceDotNET:mainfrom
spacevx:fix/chromium-cet

Conversation

@spacevx

@spacevx spacevx commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

CET is a CPU security feature (Intel 11th gen+, AMD Zen 3+) that keeps a hidden copy of return addresses to block exploits. Since .NET 9, Windows turns it on for our CEF process, and V8 crashes under it. That breaks the menu as soon as you click New Game or Find Multiplayer.

Like this:
image

(It's disabled only for the CEF Process and not Source process)

To check if you have it on, with the game running:

Get-Process HTML.CEF.Process | % { (Get-ProcessMitigation -Id $_.Id).UserShadowStack.UserShadowStack }

ON = you get the crash

I have a Ryzen 9 9950X with W11

@marchc1

marchc1 commented Nov 12, 2026

Copy link
Copy Markdown
Member

Want @ZehMatt's opinion before merging, but to @HappyDOGE and I this looks fine

@ZehMatt ZehMatt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like its returning to stack space, as to why I don't know but it seems to solve this issue so I think we can go with it.

@marchc1
marchc1 merged commit f2663e9 into SourceDotNET:main Nov 12, 2026
16 checks passed
@spacevx
spacevx deleted the fix/chromium-cet branch November 12, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants