Data races in rcu_cell
High severity
GitHub Reviewed
Published
Aug 25, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Aug 8, 2021
Reviewed
Aug 18, 2021
Published to the GitHub Advisory Database
Aug 25, 2021
Last updated
Feb 1, 2023
Affected versions of this crate unconditionally implement Send/Sync for
RcuCell<T>
.This allows users to send
T: !Send
to other threads (whileT
enclosed withinRcuCell<T>
), and allows users to concurrently accessT: !Sync
by using the APIs ofRcuCell<T>
that provide access to&T
.This can result in memory corruption caused by data races.
References