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

[release/9.0-staging] Disable GS cookie checks for LightUnwind #109530

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 5, 2024

Backport of #109524 to release/9.0-staging

/cc @jkotas

Customer Impact

  • Customer reported
  • Found internally

Runtime crash when Assembly.Load or other APIs that requires stackwalk to find the calling method gets called from a method that uses stackalloc.

Regression

  • Yes
  • No

.NET 8 -> .NET 9 regression introduced by #99137 (runtime simplification)

Testing

Regression test added

Risk

Low. The fix is suppressing superfluous sanity checks.

LightUnwind does not track sufficient context to compute GS cookie address

Fixes #109242
Copy link
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

@jkotas jkotas requested a review from janvorli November 5, 2024 01:20
Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

lgtm. we will take for consideration in 9.0.x

@jeffschwMSFT jeffschwMSFT added the Servicing-consider Issue for next servicing release review label Nov 5, 2024
@jeffschwMSFT jeffschwMSFT added this to the 9.0.x milestone Nov 5, 2024
Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

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

LGTM, thank you

@rbhanda rbhanda modified the milestones: 9.0.x, 9.0.1 Nov 5, 2024
@rbhanda rbhanda added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Nov 5, 2024
@carlossanlop carlossanlop modified the milestones: 9.0.1, 9.0.2 Nov 21, 2024
@jeffschwMSFT
Copy link
Member

@janvorli can you take a look at the PR failures and merge when ready?

@jkotas
Copy link
Member

jkotas commented Jan 9, 2025

/ba-g all known infrastructure and test errors

@jkotas jkotas merged commit f09d2e8 into release/9.0-staging Jan 9, 2025
86 of 97 checks passed
@jkotas jkotas deleted the backport/pr-109524-to-release/9.0-staging branch January 9, 2025 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-VM-coreclr Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants