DM-INLINECRYPT Expected For Linux 7.2 To Leverage Inline Encryption

Written by Michael Larabel in Linux Storage on 8 May 2026 at 09:11 AM EDT. 3 Comments
LINUX STORAGE
Queued for merging as part of the DeviceMapper changes for the upcoming Linux 7.2 kernel cycle is the new dm-inlinecrypt target for leveraging inline block device encryption.

The dm-inlinecrypt target was originally posted for Linux back in 2024 that unlike dm-crypt, which uses the regular Linux kernel crypto API, this new target would use the block crypto "blk-crypto" API. By using the block crypto API, it's able to make use of inline encryption hardware on capable systems -- many with UFS host controllers supporting inline encryption.

Eric Biggers of Google authored the dm-inlinecrypt target code. The dm-inlinecrypt target is derived from Android's dm-default-key with passthrough support removed as it proved controversial.

dm_inlinecrypt


More details on dm-inlinecrypt, which can be enabled via the new DM_INLINECRYPT Kconfig option, can be found via this patch now queued in the Device Mapper's "dm-7.2" Git branch ahead of the Linux 7.2 merge window in June.
Related News
About The Author

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week