Analyses / Embedded storage
eMMC, UFS and RPMB: interface, boot and security boundaries
Published 17 October 2026 / Updated 6 November 2026 / Source review
eMMC and UFS package flash with a controller, but use different host interfaces. RPMB adds authenticated, replay-resistant storage access. None of those labels alone establishes encryption, whole-system crash safety or a recoverable backup.
Managed flash describes who manages the NAND
NAND is the storage medium. With managed flash, the package also includes a controller that handles flash-management work. With raw NAND, more of that responsibility sits in the host. Micron also documents an intermediate case: on-die ECC handles error correction but leaves wear leveling and bad-block management to the host. The distinction is not simply "has ECC" versus "has no ECC". [2]
eMMC combines NAND and a controller using a parallel MMC interface. KIOXIA's brief explicitly includes logical-to-physical translation among the controller's tasks. [1] UFS devices likewise integrate flash and a controller, but use a different serial interface. [4] Neither name is a substitute for TLC or QLC: interface and bits per cell answer different questions.
Do not turn an interface label into a benchmark
| Concept | What it describes | What it does not prove |
|---|---|---|
| Raw NAND | Flash access with substantial management outside the device | Absence of on-die ECC |
| eMMC | Managed flash with a parallel MMC interface | A particular NAND cell type or application lifetime |
| UFS | Serial storage architecture using M-PHY and UniPro | NVMe compatibility or sustained application throughput |
| RPMB | Authenticated access with replay protection | Data confidentiality or independent recovery copies |
The UFS architecture uses SCSI command conventions transported in UFS protocol information units, above UniPro and M-PHY. A shared command vocabulary does not make the physical connection SAS or PCIe/NVMe. The Linux overview contains historical UFS-version examples; this guide uses its architecture, not its speed list as a current product catalogue. [3]
Full-duplex support permits traffic in both directions. It does not establish how fast a particular application finishes. [4] Hesela's comparison rule: hold the workload and completion criterion constant, then record the actual host, device, negotiated mode, temperature and cache state. A link ceiling is not a substitute for such measurements.
Write acceleration and durable completion answer different questions
UFS WriteBooster uses a finite SLC-mode flash buffer. KIOXIA describes fallback to the user area when it fills and later migration of buffered data, which can increase write amplification. A burst rate therefore does not establish sustained throughput. This is flash operated in one-bit mode, not a volatile DRAM buffer. [10]
The Linux v6.12 UFS interface separates feature capability, enabled state and flush status. Its enable_wb_buf_flush control permits flushing when the command queue is empty; wb_flush_status can instead report an idle, running, prematurely stopped, successful or failed operation. Permission is not completion. Record the actual state rather than treating a feature flag as a completed action. [11]
Here, WriteBooster flushing moves data between flash regions. By contrast, Linux REQ_PREFLUSH establishes non-volatile storage of previously completed writes before the associated I/O starts; REQ_FUA delays completion of the associated write until its data is non-volatile. [13] These are different contracts despite the shared word "flush". Do not infer that data in an SLC-mode buffer is volatile, or that migrating it proves a filesystem transaction durable.
For ordinary eMMC block I/O, Linux v6.12 mmc_blk_data_prep selects reliable writes for FUA-tagged write requests when the device path advertises reliable-write support. The legacy reliable-write path constrains alignment and transfer size and can complete a larger request in pieces. [12] Our inference: a driver mechanism for FUA is not evidence that an arbitrary multi-write application transaction is atomic. Check the filesystem or database protocol separately; no hardware power-cut test is claimed here.
Wear estimates are not a remaining-life clock
For supported eMMC 5.0-and-later devices, distinguish lifetime A/B estimates from PRE_EOL reserve status. The pinned mmc-utils decoder keeps these fields separate and checks the revision before reporting them. [15]
| Field | Raw code | Meaning |
|---|---|---|
| Lifetime A/B | 0x01 / 0x0A | 0-10% / 90-100% used-life bands |
| Lifetime A/B | 0x0B | Estimated maximum exceeded |
| PRE_EOL | 0x01 / 0x02 / 0x03 | Normal / warning / urgent reserve status |
| Either | 0x00 | Undefined, not zero wear or a healthy verdict |
Kingston describes endurance-based reporting in 10% steps and separate, more precise vendor diagnostics. [16] Our inference: a band cannot supply an exact wear percentage, remaining calendar lifetime or calibrated probability of failure. An unchanged code between observations does not demonstrate zero additional wear within that band.
Preserve the raw A/B and PRE_EOL values, device revision and observation time. Check the device's A/B mapping instead of assuming fixed cell types. Toradex distinguishes generic and vendor-specific health information; older devices may lack the generic fields without lacking all diagnostics. [17] Undefined and reserved states must remain distinguishable from valid readings.
Background-operation urgency is a third signal. BKOPS_STATUS uses bits 1:0 of EXT_CSD byte 246: 0x02 reports performance impact and 0x03 critical background work. PRE_EOL 0x03 instead reports urgent reserve-block condition. The matching code does not make these states equivalent; record the field name with the value. JESD84-B51 section 7.4.33 and the pinned decoder keep the signals separate. [14] [15]
Boot areas are not filesystem partitions or RPMB
Linux exposes MMC boot areas as /dev/mmcblkXboot0 and /dev/mmcblkXboot1, separately from the user-area block device. Writes are disabled by default because damaging their contents may prevent booting. The driver also distinguishes its forced read-only setting from a device-supported lock until the next power-on. [5]
Practical inference: copying files from the user filesystem does not establish that boot-area contents or authenticated state have been captured. A recovery plan must name its scope. This is not an instruction to unlock boot areas or export secrets. See backup verification and restore evidence.
Authentication, confidentiality and recovery are separate
RPMB is supported within eMMC and UFS. Its authenticated writes include a counter: after an accepted write advances it, replaying the old authenticated operation cannot supply the expected current counter. [6] This is a storage protocol mechanism, not proof that every application object has a correctly enforced rollback policy.
RPMB is not encryption. OP-TEE distinguishes its RPMB authentication key from the keys used to encrypt stored files. [7] The pinned Linux mmc-utils help permits an RPMB read without the optional key used to verify the response. Obtaining bytes and verifying their authenticity are different outcomes. [8]
OP-TEE also documents one-time eMMC key programming and platform-specific secret handling. Treat provisioning as a security lifecycle decision, not a reversible tuning switch. [7] Our architectural inference: trusted software must enforce rollback policy; authentication cannot recreate data after device loss. Secure storage still needs an explicitly designed recovery policy.
Read freshness and transaction atomicity need separate checks
The fTPM paper by Raj and colleagues (USENIX Security 2016, section 6.1.1) distinguishes write counters from read nonces. A read request supplies a nonce; the authenticated response binds that nonce to the returned data. The caller must verify both authentication and the expected nonce. A valid old response is not evidence of a fresh read. [9]
Section 9.1 describes another layer: shadow copies and a bit vector committed in one atomic write make a multi-write state update atomic. That software mechanism is separate from replay protection. This is the paper's design, not a claim that every RPMB implementation uses it, or a hardware test by Hesela. [9]
OP-TEE adds a practical configuration boundary: with both REE and RPMB filesystems enabled, a hash of REE filesystem state is kept in RPMB. That does not mean all file contents live there. Its platform caveats also require real device-specific key support; a feature flag alone does not establish secure provisioning. [7]
Ask for evidence at the correct layer
- Identify the package and controller revision, not just the advertised capacity.
- Record lifetime A/B and PRE_EOL independently; do not convert undefined or reserved codes into wear percentages.
- Separate NAND organization, host interface and measured workload behavior.
- For WriteBooster, record effective support, enabled state, available buffer and flush status.
- Distinguish buffer migration, volatile-cache flushing, FUA completion and application transaction atomicity.
- Inventory user storage, boot areas and protected state as distinct recovery dependencies.
- For RPMB, document who provisions the key, verifies responses and enforces rollback policy, without recording secret key material.
- State whether a result demonstrates integrity, confidentiality, replay resistance, persistence or an actual restore.
This is an evidence checklist, not a procedure tested on hardware. Continue with flash translation layers, authenticated encryption and integrity and freshness boundaries.
Method and limitations
Editorial comparison of primary manufacturer documentation, Linux documentation and pinned mmc-utils source, cross-checked against OP-TEE's secure-storage design and the fTPM paper's read-freshness and atomic-update mechanisms (USENIX Security 2016). The decision table and inspection checklist are Hesela's synthesis, not measurements. The write-contract extension compares KIOXIA's January 2023 WriteBooster brief with Linux v6.12 UFS ABI, MMC block-driver and writeback-cache documentation. The health-field extension cross-checks JESD84-B51 with a pinned mmc-utils decoder and Kingston/Toradex guidance; no health trace was collected.
No device was benchmarked, reconfigured or subjected to power loss. No RPMB key was provisioned. This is not a JEDEC conformance review or a security audit of a specific platform. Host support, device revision and trusted-software integration must be checked separately.
Manufacturer briefs support the described mechanisms, not universal reliability claims. Version-specific optional features and provisioning procedures require the applicable device specification and platform documentation.
Primary sources
- KIOXIA: e-MMC Managed Flash, product brief Rev. 1.1 (2022)
- Micron: Choosing the right NAND, raw, managed and on-die ECC NAND
- Linux kernel documentation: Universal Flash Storage, architecture overview
- KIOXIA: UFS for consumer and industrial applications, integrated controller and serial interface
- Linux kernel documentation: SD and MMC Device Partitions
- KIOXIA: Introducing Replay Protected Memory Block within the e-MMC and UFS Specifications, November 2022, Rev. 1.1
- OP-TEE documentation: Secure storage, RPMB device access and security considerations
- Linux mmc-utils: RPMB read-block help, pinned commit c6692d5
- Raj et al.: fTPM: A Software-Only Implementation of a TPM Chip, USENIX Security 2016, sections 6.1.1 and 9.1
- KIOXIA: Understanding the WriteBooster Feature, January 2023, Rev. 2.0, pages 1-3
- Linux v6.12: UFS sysfs ABI, WriteBooster controls, attributes and effective capabilities
- Linux v6.12 MMC block driver: mmc_blk_data_prep and mmc_apply_rel_rw
- Linux v6.12: Explicit volatile write back cache control, REQ_PREFLUSH and REQ_FUA
- JEDEC JESD84-B51 (February 2015), sections 7.4.22-7.4.24 and 7.4.33, pages 182-183 and 186; TI-hosted copy
- mmc-utils c6692d5: health-command revision gate and lifetime/PRE_EOL decoders
- Kingston: eMMC Life-Cycle Estimating, Validating & Monitoring (January 2023)
- Toradex: eMMC (Linux), generic and vendor-specific health status
Original sources checked 17 October 2026; write-contract sources checked 4 November 2026; health-field sources checked 6 November 2026. Explanations are paraphrased; implications are identified as editorial synthesis.