PT-2026-158779
Published
2026-10-27
·
Updated
2026-10-27
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
hugepage rs::alloc was a publicly accessible safe function that forwarded a Layout to the hugepage allocator's GlobalAlloc::alloc implementation without enforcing its safety requirements.
GlobalAlloc::alloc requires the layout size to be non-zero. However, the safe wrapper allowed callers to pass a zero-sized Layout, violating this precondition without using unsafe.
Affected versions therefore exposed an unsafe allocation precondition through safe Rust code, violating Rust's soundness guarantees.The upstream repository fixed this in version
0.1.2 by marking alloc as unsafe and documenting its non-zero-layout requirement.Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾