Skip to content

fix(util-linux): fix 4 CVE vulnerabilities - #20

Open
deepin-ci-robot wants to merge 3 commits into
masterfrom
fix/util-linux-cve-batch-2
Open

fix(util-linux): fix 4 CVE vulnerabilities#20
deepin-ci-robot wants to merge 3 commits into
masterfrom
fix/util-linux-cve-batch-2

Conversation

@deepin-ci-robot

@deepin-ci-robot deepin-ci-robot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

CVE 修复

CVE 描述
CVE-2026-53613 libmount: add fd_target for TOCTOU prevention
CVE-2026-53612 libmount: use fd-based fchownat/chmod
CVE-2026-53614 libmount: fix SUID bypass via LIBMOUNT_FORCE_MOUNT2
CVE-2026-13595 libblkid: fix UAF in nested partition probing

Fix-Approach: patch\nGenerated-By: deepseek-v4-flash\nCo-Authored-By: hudeng [email protected]

Summary by Sourcery

Apply packaging updates to incorporate security fixes for multiple util-linux CVEs.

Build:

  • Update Debian changelog and patch series to reference new CVE fix patches for util-linux.

Chores:

  • Add patch files for the reported libmount and libblkid CVE vulnerabilities to the Debian packaging.

deepin-ci-robot and others added 3 commits July 10, 2026 03:55
CVE: CVE-2026-53612
Generated-By: deepseek-v4-flash
Co-Authored-By: hudeng <[email protected]>
CVE: CVE-2026-53614
Generated-By: deepseek-v4-flash
Co-Authored-By: hudeng <[email protected]>
CVE: CVE-2026-13595
Generated-By: deepseek-v4-flash
Co-Authored-By: hudeng <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Jul 9, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds Debian packaging patches to backport upstream libmount/libblkid fixes for four CVEs and wires them into the build via changelog and series updates.

File-Level Changes

Change Details Files
Register new CVE patches in the Debian packaging so they are applied during build.
  • Append new CVE patch filenames to the patches series list
  • Ensure patch application order is consistent with existing series
debian/patches/series
Introduce patch implementing libblkid fix for UAF in nested partition probing (CVE-2026-13595).
  • Add a new patch file carrying upstream changes for safer nested partition probing
  • Align patch metadata/comments with Debian patch conventions
debian/patches/CVE-2026-13595.patch
Introduce patches implementing libmount fixes for TOCTOU, fd-based ownership/permission operations, and SUID bypass via LIBMOUNT_FORCE_MOUNT2 (three CVEs).
  • Add a new patch to use fd_target to prevent TOCTOU in mount operations
  • Add a new patch to switch chown/chmod logic to fd-based fchownat/chmod calls
  • Add a new patch to close SUID bypass related to LIBMOUNT_FORCE_MOUNT2
debian/patches/CVE-2026-53612.patch
debian/patches/CVE-2026-53614.patch
debian/patches/CVE-2026-53613.patch
Update Debian changelog entry to document the CVE fixes and patch-based approach.
  • Add a new changelog stanza referencing the four CVEs and describing the fix approach
  • Maintain correct versioning, urgency, and maintainer attribution
debian/changelog

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@deepin-ci-robot

Copy link
Copy Markdown
Contributor Author

/hold
因为该quilt包的上游版本号变更,详情见: deepin-community/infra-settings#134

@deepin-ci-robot

Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign xzl01 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

TAG Bot

TAG: unknown
EXISTED: no
DISTRIBUTION: unstable

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@deepin-community-ci-bot

Copy link
Copy Markdown

TAG Bot

New tag: 2.40.4-3deepin12
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #21

@deepin-community-ci-bot

Copy link
Copy Markdown

TAG Bot

New tag: 2.40.4-3deepin14
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #23

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.

1 participant