chore: update anyhow and crossbeam-epoch to resolve RUSTSEC-2026-0190 and RUSTSEC-2026-0204#704
Merged
Conversation
anyhow versions <1.0.103 have an unsoundness in Error::downcast_mut() (RUSTSEC-2026-0190). Bump the workspace constraint and refresh all lockfiles (workspace, examples, and test fixtures) to 1.0.103. Fixes microsoft#696
crossbeam-epoch 0.9.18 has an invalid pointer dereference in the fmt::Pointer impl for Atomic/Shared (RUSTSEC-2026-0204). It is pulled in transitively via assert_fs (dev-dependency). Bump to 0.9.20.
anyhow and crossbeam-epoch to resolve RUSTSEC-2026-0190 and RUSTSEC-2026-0204
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the workspace’s dependency set to address two RustSec advisories reported by cargo audit, ensuring the repository no longer resolves to vulnerable versions of anyhow and crossbeam-epoch.
Changes:
- Bump
anyhowto1.0.103(patched for RUSTSEC-2026-0190). - Bump
crossbeam-epochto0.9.20(patched for RUSTSEC-2026-0204) via lockfile resolution. - Refresh the various test/example fixture
Cargo.lockfiles to align with the updated resolved versions.
Reviewed changes
Copilot reviewed 1 out of 17 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Cargo.toml | Updates workspace dependency requirement for anyhow to the patched version. |
| Cargo.lock | Updates resolved anyhow and crossbeam-epoch versions/checksums. |
| tests/wdk-sys-tests/Cargo.lock | Updates resolved anyhow in this fixture lockfile. |
| tests/umdf-driver-workspace/Cargo.lock | Updates resolved anyhow in this fixture lockfile. |
| tests/mixed-package-kmdf-workspace/Cargo.lock | Updates resolved anyhow in this fixture lockfile. |
| tests/customized-config-toml-workspace/Cargo.lock | Updates resolved anyhow (and also refreshes bindgen) in this fixture lockfile. |
| tests/config-umdf/Cargo.lock | Updates resolved anyhow in this fixture lockfile. |
| tests/config-kmdf/Cargo.lock | Updates resolved anyhow in this fixture lockfile. |
| examples/sample-wdm-driver/Cargo.lock | Updates resolved anyhow in this example lockfile. |
| examples/sample-umdf-driver/Cargo.lock | Updates resolved anyhow in this example lockfile. |
| examples/sample-kmdf-driver/Cargo.lock | Updates resolved anyhow in this example lockfile. |
| crates/cargo-wdk/tests/wdm-driver/Cargo.lock | Updates resolved anyhow in this test fixture lockfile. |
| crates/cargo-wdk/tests/umdf-driver/Cargo.lock | Updates resolved anyhow in this test fixture lockfile. |
| crates/cargo-wdk/tests/mixed-package-kmdf-workspace/Cargo.lock | Updates resolved anyhow in this test fixture lockfile. |
| crates/cargo-wdk/tests/kmdf-driver/Cargo.lock | Updates resolved anyhow in this test fixture lockfile. |
| crates/cargo-wdk/tests/kmdf-driver-with-target-override/Cargo.lock | Updates resolved anyhow in this test fixture lockfile. |
| crates/cargo-wdk/tests/emulated-workspace/umdf-driver-workspace/Cargo.lock | Updates resolved anyhow in this test fixture lockfile. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #704 +/- ##
=======================================
Coverage 79.93% 79.93%
=======================================
Files 26 26
Lines 5633 5633
Branches 5633 5633
=======================================
Hits 4503 4503
Misses 1002 1002
Partials 128 128 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
krishnakumar4a4
approved these changes
Jul 16, 2026
anyhow and crossbeam-epoch to resolve RUSTSEC-2026-0190 and RUSTSEC-2026-0204anyhow and crossbeam-epoch to resolve RUSTSEC-2026-0190 and RUSTSEC-2026-0204
anyhow and crossbeam-epoch to resolve RUSTSEC-2026-0190 and RUSTSEC-2026-0204anyhow and crossbeam-epoch to resolve RUSTSEC-2026-0190 and RUSTSEC-2026-0204
wmmc88
approved these changes
Jul 16, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps two dependencies -
anyhowandcrossbeam-epochflagged bycargo auditto resolve open security advisories.Resolves #696 #700