An issue was discovered in the spin crate before 0.5.2 for Rust, when RwLock is used. Because memory ordering is mishandled, two writers can acquire the lock at the same time, violating mutual exclusion.
Advisories
Source ID Title
EUVD EUVD EUVD-2021-1759 An issue was discovered in the spin crate before 0.5.2 for Rust, when RwLock is used. Because memory ordering is mishandled, two writers can acquire the lock at the same time, violating mutual exclusion.
Github GHSA Github GHSA GHSA-hv7x-f3pv-gpwr Wrong memory orderings violates mutual exclusion in spin
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T01:10:41.177Z

Reserved: 2019-09-08T00:00:00

Link: CVE-2019-16137

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-09-09T12:15:10.647

Modified: 2024-11-21T04:30:07.313

Link: CVE-2019-16137

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.