Skip to content

chore(deps): update rust crate tokio to v1.54.1 [security] - #1111

Merged
renovate[bot] merged 1 commit into
masterfrom
renovate/crate-tokio-vulnerability
Oct 30, 2026
Merged

renovate[bot] merged 1 commit into
masterfrom
renovate/crate-tokio-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
tokio (source) dependencies patch 1.54.0 → 1.54.1

Tokio: Race condition in tokio::time::Interval

CVE-2026-115567 / GHSA-5wjr-9356-4wc8

More information

Details

Summary

On the multi-threaded runtime, there is a race condition between Interval::poll_tick and the runtime's time driver.

This affects Interval only. Sleep and Timeout are not affected.

Details

In Tokio v1.54.0, a race condition between tokio::time::Interval::poll_tick (including .tick().await) and the runtime time driver can drop an internal timer entry without synchronizing with the driver thread that is firing it. This causes a data race and use-after-free on the timer's waker and task state in safe Rust, leading to assertion panics, task reference-count corruption, or heap memory corruption.

This bug was introduced by https://github.com/tokio-rs/tokio/pull/8458, and it was fixed by https://github.com/tokio-rs/tokio/pull/8692.

Impact

This may lead to crashes and use-after-frees in applications using Interval on a multi-threaded runtime.

Since this issue is known to lead to crashes in production systems, the v1.54.0 release of Tokio has been yanked.

Credits

Thank you to creepycode and carabistouille for reporting this privately using the procedure outlined in our security policy. They both reported the issue independently of each other.

Severity

  • CVSS Score: 5.8 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

tokio-rs/tokio (tokio)

v1.54.1: Tokio v1.54.1

Compare Source

1.54.1 (October 21st, 2026)

Fixed
  • time: revert "remove the runtime handle from timers" (#​8692)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested review from DaveHanns and l2ysho as code owners October 27, 2026 12:10
@renovate
renovate Bot enabled auto-merge (squash) October 27, 2026 12:10
@renovate
renovate Bot force-pushed the renovate/crate-tokio-vulnerability branch from 1d81c00 to 2dbf47e Compare October 30, 2026 21:15
@renovate
renovate Bot force-pushed the renovate/crate-tokio-vulnerability branch from 2dbf47e to 1878e02 Compare October 30, 2026 21:27
@renovate
renovate Bot merged commit cc92b9a into master Oct 30, 2026
61 checks passed
@renovate
renovate Bot deleted the renovate/crate-tokio-vulnerability branch October 30, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants