Get the latest tech news

Amazon Exploring MM-Local Memory Allocations To Help With Current/Future Speculation Attacks


Back in 2019 after various speculation-based CPU vulnerabilities began coming to light, Amazon engineers proposed process-local memory allocations for hiding KVM secrets

Amazon engineers this week laid out a new proposal after five years of ongoing Linux kernel improvements for MM-local memory allocations for dealing with current and future speculation-based cross-process attacks. Specifically, this is a proof-of-concept attempt to implement mm-local allocations piggy-backing on memfd_secret(), using regular user addressess but pinning the pages and flipping the user/supervisor flag on the respective PTEs to make them directly accessible from kernel, and sealing the VMA to prevent userland from taking over the address range. The approach allowed to delegate all the heavy lifting -- address management, interactions with the direct map, cleanup on mm teardown -- to the existing infrastructure, and required zero architecture-specific code.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of Amazon

Amazon

Related news:

News photo

Formula 1 and Amazon Aim for AI-Powered ‘Personalized’ Race Viewing

News photo

Amazon Considering Charging Extra for AI Alexa: Report | Entrepreneur

News photo

Amazon Introduces Record Low Prices on M3 iMacs, Starting at $1,149.99