Skip to content

[Medium] Patch rust for CVE-2026-25541, CVE-2026-25727, CVE-2025-58160, CVE-2026-27171#15877

Merged
kgodara912 merged 5 commits intomicrosoft:mainfrom
BinduSri-6522866:topic_rust-2.0
Mar 13, 2026
Merged

[Medium] Patch rust for CVE-2026-25541, CVE-2026-25727, CVE-2025-58160, CVE-2026-27171#15877
kgodara912 merged 5 commits intomicrosoft:mainfrom
BinduSri-6522866:topic_rust-2.0

Conversation

@BinduSri-6522866
Copy link
Copy Markdown
Contributor

@BinduSri-6522866 BinduSri-6522866 commented Feb 17, 2026

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

Patch rust for CVE-2025-58160, CVE-2026-25541, CVE-2026-25727

Change Log
Does this affect the toolchain?

NO

Links to CVEs
Test Methodology

@BinduSri-6522866 BinduSri-6522866 marked this pull request as ready for review February 18, 2026 11:52
@BinduSri-6522866 BinduSri-6522866 requested a review from a team as a code owner February 18, 2026 11:52
@KavyaSree2610
Copy link
Copy Markdown
Contributor

KavyaSree2610 commented Feb 19, 2026

Patch Analysis (the patch applies cleanly)

  • Buddy Build successful
  • Patch applied during the build (check rpm.log)
image
  • Patches include an upstream reference
  • PR has security tag

@Kanishk-Bansal Kanishk-Bansal added the ready-for-stable-review PR has passed initial review and is now ready for a second-level stable maintainer review label Feb 24, 2026
Copy link
Copy Markdown
Contributor

@kgodara912 kgodara912 left a comment

Choose a reason for hiding this comment

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

Could you please recheck one patch? Other two patches look fine and matches with upstream reference.

@@ -0,0 +1,342 @@
From d0293b0e35838123c51ca5dfdf468ecafee4398f Mon Sep 17 00:00:00 2001
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This patch has poor indentation and multiple things which are not present in upstream patch for both the references. Could you please check once the other backports of this CVE and see if we could improve this backported patch. We can keep test cases if they are working as expected.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed and updated.

@BinduSri-6522866 BinduSri-6522866 changed the title [Medium] Patch rust for CVE-2025-58160, CVE-2026-25541, CVE-2026-25727 [Medium] Patch rust for CVE-2025-58160, CVE-2026-25541, CVE-2026-25727, CVE-2026-27171 Mar 3, 2026
@BinduSri-6522866 BinduSri-6522866 changed the title [Medium] Patch rust for CVE-2025-58160, CVE-2026-25541, CVE-2026-25727, CVE-2026-27171 [Medium] Patch rust for CVE-2026-25541, CVE-2026-25727, CVE-2025-58160, CVE-2026-27171 Mar 3, 2026
@kgodara912
Copy link
Copy Markdown
Contributor

Buddy build after recent corrections.

@BinduSri-6522866
Copy link
Copy Markdown
Contributor Author

Buddy build passed.

Copy link
Copy Markdown
Contributor

@kgodara912 kgodara912 left a comment

Choose a reason for hiding this comment

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

Patches are almost identical to upstream changes except one which is backported, though checksum file changes make them look too big. Buddy build is successful and above comment shows that they are applied too. LGTM.

@kgodara912 kgodara912 merged commit e288952 into microsoft:main Mar 13, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

main PR Destined for main Packaging ready-for-stable-review PR has passed initial review and is now ready for a second-level stable maintainer review security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants