Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.
Page Table Check Feature Merged For Linux 5.17 To Help Fight Memory Corruption
Google engineers last year uncovered a reference count underflow issue in the kernel that affected all kernel releases going back to Linux 4.14 four years prior. Stemming from uncovering that issue, Google engineers came up with Page Table Check to help uncover issues like that moving forward. The Page Table Check feature is principally about ensuring there is no illegal sharing of pages such as one process accidentally (or otherwise) leaking to another process.
Due to the run-time performance costs involved, the Linux 5.17+ kernel needs to be built with the PAGE_TABLE_CHECK=y option and then booting the built kernel with the "page_table_check=on" parameter to actually enable the functionality.
The Page Table Check feature has been merged and ready to go for Linux 5.17.