RUSTSEC-2026-0384: Race condition in `tokio::time::Interval` on Tokio v1.54.0
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
The issue describes a Tokio timer race and links the fix at tokio-rs/tokio#8692, but it does not identify a stackablectl file or change to make. First check whether stackablectl uses Tokio 1.54.0 and whether that version can be affected; compare its dependency configuration with the advisory’s patched versions. Done means confirming the dependency is unaffected or updating it to a patched version.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Race condition in
tokio::time::Intervalon Tokio v1.54.0
| Details | |
|---|---|
| Package | tokio |
| Version | 1.54.0 |
| URL | https://github.com/tokio-rs/tokio/pull/8692 |
| Date | 2026-10-21 |
| Patched versions | >=1.54.1 |
| Unaffected versions | <1.54.0 |
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.
See advisory page for additional details.
- Ngôn ngữ chính
- Rust
- Star
- 11
- Fork
- 5
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stackabletech/stackablectl
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
stackabletech/stackablectl#475 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stackabletech/stackablectl#471 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
stackabletech/stackablectl#468 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
stackabletech/stackablectl#456 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
stackabletech/stackablectl#474 ·
Tất cả issue của stackabletech/stackablectl
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
area:frontend kind:bug priority:p3 ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug priority: medium ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
storytold/vectorcraft#6333 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug lexer
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
yara-x fails to build with rsa 0.10.0: unresolved import rsa::Pkcs1v15SignCó thể đã có người làm @CfirTsabari đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 87/100
VirusTotal/yara-x#865 ·
Maintainer thường phản hồi trong vòng 1 ngày