6 karma · joined Jun 18, 2022 (4y ago) · 2 submissions
comment 4y ago · link · parent
Perhaps the longer-term solution is to use languages that are memory safe by design, such as Rust, to avoid that class of bugs. But there will still be a huge deal of legacy C++ code to contend with in the meantime, so we do still need exploit mitigations.
comment 4y ago · link · parent
With a much smaller size, say, 128 bytes, almost every new allocation could be put into a new page at a new address, with one or more guard pages behind it.
Yes, it would increase the size of the page tables, and the lookup time, but maybe it's worth it.