Invalid pointer dereference in fmt::Pointer impl for Atomic and Shared when the underlying pointer is invalid
| Details |
|
| Package |
crossbeam-epoch |
| Version |
0.9.18 |
| URL |
crossbeam-rs/crossbeam#1276 |
| Date |
2026-07-06 |
| Patched versions |
>=0.9.20 |
| Unaffected versions |
<0.9.0 |
Affected versions of fmt::Display dereference the underlying pointer. This causes a invalid pointer dereference e.g., when a pointer created with Atomic::null or Shared::null. fmt::Debug impls and pre-0.9 fmt::Display impls, which do not dereference pointers, are not affected by this issue.
See advisory page for additional details.
crossbeam-epoch0.9.18>=0.9.20<0.9.0Affected versions of
fmt::Displaydereference the underlying pointer. This causes a invalid pointer dereference e.g., when a pointer created withAtomic::nullorShared::null.fmt::Debugimpls and pre-0.9fmt::Displayimpls, which do not dereference pointers, are not affected by this issue.See advisory page for additional details.