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

Tight subobject bounds in sockaddr_* structs in Netgraph and Bluetooth HCI subsystem #2279

Open
RoundofThree opened this issue Dec 29, 2024 · 0 comments

Comments

@RoundofThree
Copy link
Member

  • Type: Unneeded subobject bounds causes CHERI bounds violation
  • Trigger Conditions: Unprivileged BLUETOOTH_PROTO_HCI socket or unprivileged AF_NETGRAPH socket
  • Impact: Local DoS on CheriBSD only.
  • Root cause:
    Any socket operation that casts sockaddr to sockaddr_ng or sockaddr_hci will lead to a capability bounds fault, for example, ng_btsocket_hci_raw_bind or ng_btsocket_hci_raw_sockaddr.
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

No branches or pull requests

1 participant