nvme-critical-warning · shipping · also Critical Warning, critical_warning, NVMe SMART warning bitmask

NVMe Critical Warning

NVMe Critical Warning is the SMART / Health Information log bitmask identifying controller warning conditions at the time the log is read.

Related Observatory article: Read on hesela.com

NVMe Base 2.3 defines bits 0 through 6: spare below threshold, temperature threshold condition, degraded reliability, all media read-only, failed volatile-memory backup, PMR read-only or unreliable, and indeterminate personality state. Bit 7 is reserved. Bit 6 covers a failed personality-settings change when the previous personality could not be restored. NVMe 1.4a defined bits 0 through 5 with bits 6 and 7 reserved. [1]

The temperature bit reports a current over-temperature or under-temperature threshold condition. It is not the cumulative Critical Composite Temperature Time counter and need not imply that CCTEMP was crossed. The bits reflect the state when the Get Log Page command is processed, which may differ from the state at a related asynchronous event. [1]

Over a management interface, NVMe-MI 2.1 reports the same bits inverted in byte 1 of the NVM Subsystem Health data structure and combines all controllers, so a bit reads 0 when any controller has that warning set. [3]

Linux v7.3 names masks only for bits 0 through 4 of the 1-byte field, and its hwmon driver derives the temperature alarm from bit 1. [4] [5]

Relations

related
NVMe SMART log, NVMe Available Spare, NVMe Media and Data Integrity Errors, NVMe Critical Composite Temperature Time

Advantages

  • Bits 7:0 of the Asynchronous Event Configuration feature select, per warning bit, whether a newly set bit sends an asynchronous event notification, so a host need not poll the log. [1]

Limitations

  • The mask is a current-state report, not a persistent event history; several flags can coexist, and a clear mask is not a guarantee against future failure. [1, 2]
  • Clearing a bit in the Asynchronous Event Configuration suppresses only the notification, not the warning reported in the log. [1]

Citations

  1. NVM Express Base Specification 2.3, Figure 210, p. 214, and Figure 409, p. 407: Critical Warning and its notifications (accessed 2026-10-23)
  2. NVM Express 1.4a, Figure 196, p. 122: historical six-bit Critical Warning layout (accessed 2026-10-14)
  3. NVM Express Management Interface Specification 2.1, Figure 108, pp. 120-121: NVM Subsystem Health Data Structure (accessed 2026-10-23)
  4. Linux v7.3: include/linux/nvme.h, struct nvme_smart_log and Critical Warning masks (accessed 2026-10-23)
  5. Linux v7.3: drivers/nvme/host/hwmon.c, Composite sensor, critical limit and alarm (accessed 2026-10-23)
Sources & caveats
  • nvme-base-2-3-smart is the NVM Express Base Specification 2.3, re-read for Figure 210 on p. 214 and the Asynchronous Event Configuration in Figure 409 on p. 407.
  • nvme-mi-2-1-health is the NVMe-MI 2.1 specification, read for the inverted SMART Warnings byte in Figure 108 on p. 121.
  • linux-nvme-h and linux-nvme-hwmon are the Linux v7.3 nvme.h header and NVMe hwmon driver, read for the warning masks and the temperature alarm.
  • The nvme-unexpected-power-losses entry links here because Critical Warning bit 4 reports a failed volatile-memory backup, which bears on data held across a power loss.

JSON: /data/terms/nvme-critical-warning.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. NVMe Critical Warning. Hesela. 2026-10-23. https://hesela.dev/terms/nvme-critical-warning/