Skip to content

Patch libvirt for CVE-2025-12748#15508

Merged
jslobodzian merged 4 commits intomicrosoft:fasttrack/3.0from
akhila-guruju:topic_libvirt-3.0
Jan 15, 2026
Merged

Patch libvirt for CVE-2025-12748#15508
jslobodzian merged 4 commits intomicrosoft:fasttrack/3.0from
akhila-guruju:topic_libvirt-3.0

Conversation

@akhila-guruju
Copy link
Copy Markdown
Contributor

@akhila-guruju akhila-guruju commented Jan 15, 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 libvirt for CVE-2025-12748
Backported: NO
Pre-requisite patch reference:

  1. https://git.launchpad.net/ubuntu/+source/libvirt/patch/?id=42813e33416a8b4c052829bea5e8a938a7ba9eca
  2. https://git.launchpad.net/ubuntu/+source/libvirt/patch/?id=d7d1c76f23d767698ce0838ec4eddf1b214c4bbf
  3. https://git.launchpad.net/ubuntu/+source/libvirt/patch/?id=1991519ee70ae620312e808c5bfd1bc296208431

CVE-2025-12748.patch patch reference:

  1. https://git.launchpad.net/ubuntu/+source/libvirt/patch/?id=4ceddd072ab794135b59364cb95386ef70b51b92
  2. https://git.launchpad.net/ubuntu/+source/libvirt/patch/?id=97a53db9756cbc880ed3f4dc054e9a15690a2176
  3. https://git.launchpad.net/ubuntu/+source/libvirt/patch/?id=1b8d1bd4b10e8eaa9a247487d709440ebba014ed
  4. https://git.launchpad.net/ubuntu/+source/libvirt/patch/?id=7a62099efb32ca270e1808fead3263569b81eeea
  5. https://git.launchpad.net/ubuntu/+source/libvirt/patch/?id=b4b37eb7ae3296c8b8520b5ad5e4cbce4dbcb8ca
  6. https://git.launchpad.net/ubuntu/+source/libvirt/patch/?id=8928cf500e1a94b6f78bc5b1840fa300f18406dd
  7. https://git.launchpad.net/ubuntu/+source/libvirt/patch/?id=e8e0d3ce28a0856c14d1fe3d2b5977f164938b9a
  8. https://git.launchpad.net/ubuntu/+source/libvirt/patch/?id=6ab6e8705128808aa90b9281bcf046a8cf61dbba
Change Log
Does this affect the toolchain?

YES/NO

Associated issues
  • #xxxx
Links to CVEs
Test Methodology
  • Local Build
  • Patches apply cleanly without any modification.
image

@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging fasttrack/3.0 PRs Destined for Azure Linux 3.0 labels Jan 15, 2026
@akhila-guruju akhila-guruju marked this pull request as ready for review January 15, 2026 11:07
@akhila-guruju akhila-guruju requested a review from a team as a code owner January 15, 2026 11:07
@Kanishk-Bansal Kanishk-Bansal changed the title Patch libvirt for CVE-2025-12748 [Medium] Patch libvirt for CVE-2025-12748 Jan 15, 2026
@Kanishk-Bansal
Copy link
Copy Markdown
Contributor

All the patches are ported from ubuntu for the same version

Copy link
Copy Markdown
Contributor

@Kanishk-Bansal Kanishk-Bansal left a comment

Choose a reason for hiding this comment

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

remove Patch5: Pre-CVE-2025-12748.patch

@Kanishk-Bansal
Copy link
Copy Markdown
Contributor

/azurepipelines run

@Kanishk-Bansal Kanishk-Bansal self-requested a review January 15, 2026 11:44
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@Kanishk-Bansal
Copy link
Copy Markdown
Contributor

we tried to fix this check but it was non-trivial #13811 (review)

@Kanishk-Bansal
Copy link
Copy Markdown
Contributor

Buddy Build

Copy link
Copy Markdown
Contributor

@Kanishk-Bansal Kanishk-Bansal left a comment

Choose a reason for hiding this comment

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

All patches are taken from Ubuntu supported 10.0.0 release
Patch Analysis (the patches applies cleanly)
nbdkit & libguestfs are known failures

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

@Kanishk-Bansal Kanishk-Bansal added the CVEFixReadyForMaintainerReview When a CVE fix has been reviewed by release manager and is ready for stable maintainer review label Jan 15, 2026
@jslobodzian jslobodzian merged commit 4732270 into microsoft:fasttrack/3.0 Jan 15, 2026
15 of 16 checks passed
CBL-Mariner-Bot pushed a commit that referenced this pull request Jan 15, 2026
Co-authored-by: jslobodzian <joslobo@microsoft.com>
(cherry picked from commit 4732270)
@CBL-Mariner-Bot
Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CVEFixReadyForMaintainerReview When a CVE fix has been reviewed by release manager and is ready for stable maintainer review fasttrack/3.0 PRs Destined for Azure Linux 3.0 Packaging security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants