Skip to content

refactor(amdsmi): remove driver reload API and related functions - #9401

Closed
dmitrii-galantsev wants to merge 6 commits into
developfrom
users/dgalants/AMDSMI_Deprecate_driver_reload_API
Closed

dmitrii-galantsev wants to merge 6 commits into
developfrom
users/dgalants/AMDSMI_Deprecate_driver_reload_API

Conversation

@dmitrii-galantsev

@dmitrii-galantsev dmitrii-galantsev commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Static code scan revealed potentially vulnerable code in the driver reload API.

Technical Details

amdsmi_gpu_driver_reload() made use of an insecure pattern. The functionality had already been removed from the amdsmi CLI, so we resolved the vulnerability by removing the API and its Python binding entirely, along with the underlying ROCm SMI driver-reload plumbing.

JIRA ID

JIRA ID : ROCM-26658

Test Plan

N/A

Test Result

N/A

Submission Checklist

N/A

this is duplicate of #8575 because it got stuck as non-mergeable

gabrpham and others added 6 commits July 28, 2026 10:20
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
@dmitrii-galantsev
dmitrii-galantsev requested review from a team and Copilot July 28, 2026 21:39
@github-actions github-actions Bot added documentation Improvements or additions to documentation project: amdsmi labels Jul 28, 2026
@therock-pr-bot

therock-pr-bot Bot commented Jul 28, 2026 •

Copy link
Copy Markdown

✅ All Policy Checks Passed

Check Status Details
📝 PR Title/Description ✅ Pass —
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ✅ Pass —
🚫 Draft PR 🔜 To Be Enabled —
🚩 Feature Flag 🔜 To Be Enabled —
📊 Code Coverage 🔜 To Be Enabled —

🎉 All policy checks passed!

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

@therock-pr-bot

Copy link
Copy Markdown

🚫 Please fix the failed policies before requesting reviews.

The following policy checks failed:

  • ❌ PR Title/Description

The Not ready to Review label has been added to this PR.
Once all policies pass, the label will be removed automatically.

This comment was marked as low quality.

@marifamd

Copy link
Copy Markdown
Contributor

#8575 merged, no need for this one

@marifamd marifamd closed this Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants