{"schema":"threatline.record/2","record":{"id":"CVE-2026-115567","aliases":["GHSA-5wjr-9356-4wc8","RUSTSEC-2026-0384"],"summary":"Tokio: Race condition in `tokio::time::Interval`","details":"### Summary\n\nOn the multi-threaded runtime, there is a race condition between `Interval::poll_tick` and the runtime's time driver.\n\nThis affects `Interval` only. `Sleep` and `Timeout` are **not** affected.\n\n### Details\n\nIn 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.\n\nThis 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.\n\n### Impact\n\nThis may lead to crashes and use-after-frees in applications using `Interval` on a multi-threaded runtime.\n\nSince this issue is known to lead to crashes in production systems, the v1.54.0 release of Tokio has been yanked.\n\n### Credits\n\nThank you to [creepycode](https://github.com/ByteZ1337) and [carabistouille](https://github.com/carabistouflette) for reporting this privately using the procedure outlined in our security policy. They both reported the issue independently of each other.","categories":["Libraries & packages"],"product":"tokio","vendor":"tokio-rs","ecosystem":"rust","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-5wjr-9356-4wc8","source_modified_at":"2026-10-23T20:54:01Z","fetched_at":"2026-10-23T21:10:45.942435Z","package":{"ecosystem":"rust","name":"tokio"},"range":"= 1.54.0"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-115567","source_modified_at":"2026-10-23T17:13:16.161Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"tokio","vendor":"tokio-rs","versions":[{"status":"affected","version":"= 1.54.0"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-5wjr-9356-4wc8","source_modified_at":"2026-10-23T21:00:04.324221983Z","fetched_at":"2026-10-23T21:10:45.942435Z","package":{"name":"tokio","ecosystem":"crates.io","purl":"pkg:cargo/tokio"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.54.0"},{"fixed":"1.54.1"}]}],"versions":["1.54.0"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-5wjr-9356-4wc8","source_modified_at":"2026-10-23T20:54:01Z","fetched_at":"2026-10-23T21:10:45.942435Z","package":{"ecosystem":"rust","name":"tokio"},"version":"1.54.1"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-5wjr-9356-4wc8","source_modified_at":"2026-10-23T21:00:04.324221983Z","fetched_at":"2026-10-23T21:10:45.942435Z","package":{"name":"tokio","ecosystem":"crates.io","purl":"pkg:cargo/tokio"},"version":"1.54.1"}],"cvss":5.8,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-23T17:13:16.161Z","modified_at":"2026-10-23T21:00:04.324221983Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-5wjr-9356-4wc8","fetched_at":"2026-10-23T21:10:45.942435Z","source_modified_at":"2026-10-23T20:54:01Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-115567","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T17:13:16.161Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-5wjr-9356-4wc8","fetched_at":"2026-10-23T21:10:45.942435Z","source_modified_at":"2026-10-23T21:00:04.324221983Z"}],"sources":["GitHub Advisory Database","CVE List","OSV"],"references":[{"source":"CVE List","url":"https://github.com/tokio-rs/tokio/security/advisories/GHSA-5wjr-9356-4wc8","tags":["x_refsource_CONFIRM"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115567","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/tokio-rs/tokio/pull/8458","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/tokio-rs/tokio/pull/8692","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/tokio-rs/tokio/commit/2b4eba7833864c04ecd2f3e5f4a97ff4f6fa28d0","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/tokio-rs/tokio/commit/5ed619bbaba87357ee5103d71b75e7c84cad99c9","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/tokio-rs/tokio/releases/tag/tokio-1.54.1","tags":["x_refsource_MISC"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0384.html","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-5wjr-9356-4wc8","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-23T21:00:04.324221983Z","content_hash":"bb582a9c7163748ec16574c7d4820a52443515b611eb7ddfe2f40410e3b68498"}}
