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

netgraph: Fix CHERI tag violations due to tight subobject bounds in sockaddr_* structs #2280

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

RoundofThree
Copy link
Member

@RoundofThree RoundofThree commented Dec 29, 2024

In a purecap kernel built with subobject bounds, casting sockaddr to sockaddr_* structures will lead to capability bounds fault crashes when accessing data fields that fall out of struct sockaddr.

This fixed #2279.

@bsdjhb bsdjhb merged commit 3100761 into dev Dec 30, 2024
30 checks passed
@bsdjhb bsdjhb deleted the fix-bluetooth-purecap branch December 31, 2024 17:51
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.

2 participants