Skip to content

[v1.16] chore(deps): update rand and chacha20 - #6162

Merged
zulinx86 merged 1 commit into
firecracker-microvm:firecracker-v1.16from
zulinx86:backport-v1.16-chacha20-0.10.2
Aug 28, 2026
Merged

[v1.16] chore(deps): update rand and chacha20#6162
zulinx86 merged 1 commit into
firecracker-microvm:firecracker-v1.16from
zulinx86:backport-v1.16-chacha20-0.10.2

Conversation

@zulinx86

Copy link
Copy Markdown
Contributor

Changes

  • Update rand from 0.10.0 to 0.10.2 and chacha20 from 0.10.0 to 0.10.2 by running cargo update --package rand@0.10.0.
  • Remove the obsolete RUSTSEC-2026-0097 exception from .cargo/audit.toml.

Reason

This backports the applicable dependency updates from PR #6160 to the v1.16 branch.

rand 0.10.0 is affected by RUSTSEC-2026-0097; version 0.10.2 contains the fix. Updating rand also allows the obsolete cargo-audit exception to be removed.

chacha20 0.10.0 was yanked after a CPU feature mismatch was found in a path enabled for SSE2 hosts. Version 0.10.2 fixes that mismatch.

Testing

  • tools/devtool --unattended test --no-build --no-kvm-check --no-artifacts-check -- integration_tests/security/test_sec_audit.py::test_cargo_audit
  • tools/devtool --unattended checkstyle
  • tools/devtool --unattended checkbuild --all

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check CONTRIBUTING.md.

PR Checklist

  • I have read and understand CONTRIBUTING.md.
  • I have run tools/devtool checkbuild --all to verify that the PR passes build checks on all supported architectures.
  • I have run tools/devtool checkstyle to verify that the PR passes the automated style checks.
  • I have clearly described the change and why it is needed.
  • Relevant documentation: not applicable.
  • CHANGELOG.md: not applicable; no user-facing changes.
  • Firecracker issue: not applicable.
  • API change runbook: not applicable; no API changes.
  • I have tested all changed functionality.
  • New TODO entries: none.

  • This functionality cannot be added in rust-vmm (not applicable; no functionality is added).

Run `cargo update --package rand@0.10.0` to update rand from 0.10.0
to 0.10.2 and chacha20 from 0.10.0 to 0.10.2.

The rand update fixes RUSTSEC-2026-0097, while the chacha20 update
replaces a yanked release that has a CPU feature mismatch in its SSE2
backend. Remove the now-obsolete cargo-audit advisory exception.

Signed-off-by: Takahiro Itazuri <zulinx86@gmail.com>
@zulinx86 zulinx86 changed the title chore(deps): update rand and chacha20 [v1.16] chore(deps): update rand and chacha20 Aug 28, 2026
@zulinx86 zulinx86 added the Status: Awaiting review Indicates that a pull request is ready to be reviewed label Aug 28, 2026
@zulinx86
zulinx86 enabled auto-merge (rebase) August 28, 2026 09:44
@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.03%. Comparing base (dd4f63a) to head (5872a5d).
⚠️ Report is 1 commits behind head on firecracker-v1.16.

Additional details and impacted files
@@                Coverage Diff                 @@
##           firecracker-v1.16    #6162   +/-   ##
==================================================
  Coverage              83.03%   83.03%           
==================================================
  Files                    277      277           
  Lines                  30119    30119           
==================================================
  Hits                   25008    25008           
  Misses                  5111     5111           
Flag Coverage Δ
5.10-m5n.metal 83.31% <ø> (ø)
5.10-m6a.metal 82.65% <ø> (ø)
5.10-m6g.metal 79.97% <ø> (ø)
5.10-m6i.metal 83.31% <ø> (-0.01%) ⬇️
5.10-m7a.metal-48xl 82.64% <ø> (-0.01%) ⬇️
5.10-m7g.metal 79.97% <ø> (ø)
5.10-m7i.metal-24xl 83.28% <ø> (-0.01%) ⬇️
5.10-m7i.metal-48xl 83.28% <ø> (-0.01%) ⬇️
5.10-m8g.metal-24xl 79.97% <ø> (-0.01%) ⬇️
5.10-m8g.metal-48xl 79.97% <ø> (-0.01%) ⬇️
5.10-m8i.metal-48xl 83.28% <ø> (ø)
5.10-m8i.metal-96xl 83.28% <ø> (ø)
6.1-m5n.metal 83.33% <ø> (-0.02%) ⬇️
6.1-m6a.metal 82.68% <ø> (-0.01%) ⬇️
6.1-m6g.metal 79.97% <ø> (-0.01%) ⬇️
6.1-m6i.metal 83.33% <ø> (ø)
6.1-m7a.metal-48xl 82.67% <ø> (-0.01%) ⬇️
6.1-m7g.metal 79.97% <ø> (-0.01%) ⬇️
6.1-m7i.metal-24xl 83.35% <ø> (ø)
6.1-m7i.metal-48xl 83.35% <ø> (ø)
6.1-m8g.metal-24xl 79.96% <ø> (-0.01%) ⬇️
6.1-m8g.metal-48xl 79.96% <ø> (-0.01%) ⬇️
6.1-m8i.metal-48xl 83.34% <ø> (-0.01%) ⬇️
6.1-m8i.metal-96xl 83.35% <ø> (ø)
6.18-m5n.metal 83.33% <ø> (-0.02%) ⬇️
6.18-m6a.metal 82.68% <ø> (ø)
6.18-m6g.metal 79.97% <ø> (-0.01%) ⬇️
6.18-m6i.metal 83.33% <ø> (-0.01%) ⬇️
6.18-m7a.metal-48xl 82.68% <ø> (+<0.01%) ⬆️
6.18-m7g.metal 79.97% <ø> (-0.01%) ⬇️
6.18-m7i.metal-24xl 83.34% <ø> (-0.02%) ⬇️
6.18-m7i.metal-48xl 83.34% <ø> (-0.01%) ⬇️
6.18-m8g.metal-24xl 79.97% <ø> (-0.01%) ⬇️
6.18-m8g.metal-48xl 79.97% <ø> (-0.01%) ⬇️
6.18-m8i.metal-48xl 83.35% <ø> (ø)
6.18-m8i.metal-96xl 83.35% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zulinx86
zulinx86 merged commit 1ea8037 into firecracker-microvm:firecracker-v1.16 Aug 28, 2026
7 of 8 checks passed
@zulinx86
zulinx86 deleted the backport-v1.16-chacha20-0.10.2 branch August 28, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Awaiting review Indicates that a pull request is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants