RUSTSEC-2026-0384: Race condition in `tokio::time::Interval` on Tokio v1.54.0
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Rust
- Sterne
- 11
- Forks
- 5
- Ø Merge
- 1 T. 6 Std.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus stackabletech/stackablectl
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 65/100
stackabletech/stackablectl#475 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
stackabletech/stackablectl#471 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 60/100
stackabletech/stackablectl#468 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
stackabletech/stackablectl#456 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 45/100
stackabletech/stackablectl#474 ·
Alle Issues in stackabletech/stackablectl
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
area:frontend kind:bug priority:p3 ready
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug priority: medium ui
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
storytold/vectorcraft#6333 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug lexer
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
yara-x fails to build with rsa 0.10.0: unresolved import rsa::Pkcs1v15SignEvtl. vergeben @CfirTsabari hat das heute übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 87/100
VirusTotal/yara-x#865 ·
Maintainer antworten meist innerhalb von 1 Tag