Lucene search
+L

3 matches found

RustSec
RustSec
•added 2026/09/12 12:00 p.m.•25 views

Use-after-free when a future's `Drop` panics while the container is dropped

Storage::clear walks the slab, empties each entry and frees the Task allocation once its reference count reaches zero. self.tasks.setlen0 only runs after the loop. Emptying an entry drops the user future it holds, and T carries no bounds excluding a panicking Drop. If one unwinds, the length is...

6.1AI score
SaveExploits0Affected Software1
osv_rustsec
osv_rustsec
•added 2026/09/12 12:00 p.m.•31 views

RUSTSEC-2026-0298 Use-after-free when a future's `Drop` panics while the container is dropped

Storage::clear walks the slab, empties each entry and frees the Task allocation once its reference count reaches zero. self.tasks.setlen0 only runs after the loop. Emptying an entry drops the user future it holds, and T carries no bounds excluding a panicking Drop. If one unwinds, the length is...

6.1AI score
SaveExploits0References3
osv_rustsec
osv_rustsec
•added 2026/09/09 12:00 p.m.•25 views

RUSTSEC-2026-0282 Double free in `AlignedBox<[T]>::realloc_with_default` when an element's `Drop` panics

Shrinking an AlignedBox takes ownership of the buffer out of self.container with ManuallyDrop::take, destroys the elements past the new length, and only then commits the new Box back into self.container. ManuallyDrop::take moves ownership but not the bits, so until that commit self.container stil...

6.3AI score
SaveExploits0References3
Rows per page
Query Builder