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

net_ib: fix out of bounds read in ncclIbGdrSupport on non-RDMA kernel #1470

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LunNova
Copy link

@LunNova LunNova commented Dec 18, 2024

Fixes #1469

Details

Do not mention proprietary info or link to internal work items in this PR.

Work item: #1469

What were the changes?
Fixed out of bounds read and subsequent crash if none of the entries in memory_peers_path exist.

Why were the changes made?
Crashing is bad.

How was the outcome achieved?
Only crashes/demonstrates UB on a system that is missing all entries in this list.

Additional Documentation:
What else should the reviewer know?

Approval Checklist

Do not approve until these items are satisfied.

  • Verify the CHANGELOG has been updated, if
    • there are any NCCL API version changes,
    • any changes impact library users, and/or
    • any changes impact any other ROCm library.

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.

[Issue]: [UB] memory_peers_paths is missing null terminator causing out of bound reads
1 participant