Technology News

Replay Protected Memory Block Subsystem Officially Added to Linux 6.12 Kernel

17 September 2024

|

Zaker Adham

Summary

The latest updates to the Linux 6.12 kernel bring exciting advancements, including the addition of a new Replay Protected Memory Block (RPMB) subsystem specifically designed to enhance security within memory blocks.

The introduction of the RPMB subsystem has been eagerly anticipated for years. Back in 2016, discussions about Linux potentially receiving a Replay Protected Memory Block subsystem were already making waves. Fast forward to 2024, and RPMB is finally being integrated into the mainline Linux kernel.

For those unfamiliar with RPMB, it refers to a secure specification used to create a tamper-resistant portion of memory accessed through a hidden security key. This specific memory block is highly useful for securely storing sensitive information, such as DRM protection keys, OEM security keys, or any other sensitive data that cannot be stored in regular memory due to legal or security concerns. RPMB ensures authentication before reading or writing, providing an extra layer of security.

While RPMB has already been utilized in devices using eMMC and NVMe storage, its official inclusion in Linux 6.12 means greater support and flexibility. The new RPMB subsystem, located under drivers/misc/, links RPMB support to the MMC subsystem for eMMC cards. Additionally, the Trusted Execution Environment (TEE) subsystem, specifically OP-TEE, is the first to adopt this RPMB integration.

The initial RPMB subsystem proposal, spearheaded by Intel engineers years ago, has now been further developed under the guidance of Linaro's engineering team. After undergoing multiple revisions, the RPMB subsystem is now ready, featuring full integration with the OP-TEE driver. More technical information can be found in the Linux 6.12 MMC pull request, which details this exciting update.