---
title: "CWE-1233: Security-Sensitive Hardware Controls with Missing Lock Bit Protection"
url: https://radicalnotion.ai/cwe/cwe-1233
type: cwe
description: "The product uses a register lock bit protection mechanism, but it does not ensure that the lock bit prevents modification of system registers or controls that perform changes to important hardware system configuration."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1233: Security-Sensitive Hardware Controls with Missing Lock Bit Protection

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Stable
- **CVEs with this as primary weakness:** 6
- **Of those, in CISA KEV:** 0
- **New in 2026:** 3
- **CWE catalog version:** 4.21

## Description

The product uses a register lock bit protection mechanism, but it does not ensure that the lock bit prevents modification of system registers or controls that perform changes to important hardware system configuration.

## Background

Integrated circuits and hardware intellectual properties (IPs) might provide device configuration controls that need to be programmed after device power reset by a trusted firmware or software module, commonly set by BIOS/bootloader. After reset, there can be an expectation that the controls cannot be used to perform any further modification. This behavior is commonly implemented using a trusted lock bit, which can be set to disable writes to a protected set of registers or address regions. The lock protection is intended to prevent modification of certain system configuration (e.g., memory/memory protection unit configuration).

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | Such issues could be introduced during hardware architecture and design and identified later during Testing or System Configuration phases. |
| Implementation | Such issues could be introduced during implementation and identified later during Testing or System Configuration phases. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Access Control | Modify Memory | System Configuration protected by the lock bit can be modified even when the lock is set. If the lock bit does not effectively write-protect all system registers or controls that could modify the protected system configuration, then an adversary may be able to use software to access the registers/controls and modify the protected hardware configuration. |

## Potential mitigations

### Architecture and Design, Implementation, Testing

- Security lock bit protections must be reviewed for design inconsistency and common weaknesses.
- Security lock programming flow and lock properties must be tested in pre-silicon and post-silicon testing.

## Detection methods

### Manual Analysis

Set the lock bit. Attempt to modify the information protected by the lock bit. If the information is changed, implement a design fix. Retest. Also, attempt to indirectly clear the lock bit or bypass it.

Effectiveness: High

## Demonstrative examples

### Example 1

Consider the example design below for a digital thermal sensor that detects overheating of the silicon and triggers system shutdown. The system critical temperature limit (CRITICAL\_TEMP\_LIMIT) and thermal sensor calibration (TEMP\_SENSOR\_CALIB) data have to be programmed by the firmware.

Bad code:

```other
Register  Field description
CRITICAL_TEMP_LIMIT  [31:8] Reserved field; Read only; Default 0[7:0] Critical temp 0-255 Centigrade; Read-write-lock; Default 125
TEMP_SENSOR_CALIB  [31:0] Thermal sensor calibration data. A slope value used to map sensor reading to a degree Centigrade. Read-write; Default 25
TEMP_SENSOR_LOCK  [31:1] Reserved field; Read only; Default 0[0] Lock bit, locks CRITICAL_TEMP_LIMIT register; Write-1-once; Default 0
TEMP_HW_SHUTDOWN  [31:2] Reserved field; Read only; Default 0[1] Enable hardware shutdown on a critical temperature detection; Read-write; Default 0
CURRENT_TEMP  [31:8] Reserved field; Read only; Default 0[7:0] Current Temp 0-255 Centigrade; Read-only; Default 0
```

Good code:

```other
Change TEMP_HW_SHUTDOWN and TEMP_SENSOR_CALIB controls to be locked by TEMP_SENSOR_LOCK.
TEMP_SENSOR_CALIB  [31:0] Thermal sensor calibration data. A slope value used to map sensor reading to a degree Centigrade. Read-write-Lock; Default 25; Locked by TEMP_SENSOR_LOCK bit[0]
TEMP_HW_SHUTDOWN  [31:2] Reserved field; Read only; Default 0[1] Enable hardware shutdown on critical temperature detection; Read-write-Lock; Default 0; Locked by TEMP_SENSOR_LOCK bit[0]
```

In this example note that only the CRITICAL\_TEMP\_LIMIT register is protected by the TEMP\_SENSOR\_LOCK bit, while the security design intent is to protect any modification of the critical temperature detection and response.

The response of the system, if the system heats to a critical temperature, is controlled by TEMP\_HW\_SHUTDOWN bit \[1\], which is not lockable. Also, the TEMP\_SENSOR\_CALIB register is not protected by the lock bit.

By modifying the temperature sensor calibration, the conversion of the sensor data to a degree centigrade can be changed, such that the current temperature will never be detected to exceed critical temperature value programmed by the protected lock.

Similarly, by modifying the TEMP\_HW\_SHUTDOWN.Enable bit, the system response detection of the current temperature exceeding critical temperature can be disabled.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2025-61972 | Processor product does not perform lock bit protection for certain registers. |
| CVE-2018-9085 | Certain servers leave a write protection lock bit unset after boot, potentially allowing modification of parts of flash memory. |
| CVE-2014-8273 | Chain: chipset has a race condition (CWE-362) between when an interrupt handler detects an attempt to write-enable the BIOS (in violation of the lock bit), and when the handler resets the write-enable bit back to 0, allowing attackers to issue BIOS writes during the timing window \[REF-1237\]. |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-61972 | - | high | 8.5 | - | No | 2026-05-13 |
| CVE-2025-25734 | - | medium | 6.8 | - | No | 2025-08-26 |
| CVE-2025-61971 | microcode\_ctl: Microcode: Loss of SEV-SNP guest integrity via NBIO register modification | medium | 5.9 | - | No | 2026-05-13 |
| CVE-2024-36309 | - | medium | 4.6 | - | No | 2026-11-10 |
| CVE-2025-25735 | - | medium | 4.6 | - | No | 2025-08-26 |
| CVE-2025-25733 | - | low | 3.5 | - | No | 2025-08-26 |

## Related attack patterns (CAPEC)

- [CAPEC-176](https://radicalnotion.ai/capec/capec-176): Configuration/Environment Manipulation
- [CAPEC-680](https://radicalnotion.ai/capec/capec-680): Exploitation of Improperly Controlled Registers

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-284](https://radicalnotion.ai/cwe/cwe-284) | Improper Access Control |
| Parent | [CWE-667](https://radicalnotion.ai/cwe/cwe-667) | Improper Locking |

## Frequently asked questions

### What is CWE-1233?

The product uses a register lock bit protection mechanism, but it does not ensure that the lock bit prevents modification of system registers or controls that perform changes to important hardware system configuration.

### What CVEs are caused by CWE-1233?

6 recorded CVEs are attributed to CWE-1233, including CVE-2025-61972, CVE-2025-25734 and CVE-2025-61971.

### How is CWE-1233 detected?

Manual Analysis: Set the lock bit. Attempt to modify the information protected by the lock bit. If the information is changed, implement a design fix. Retest. Also, attempt to indirectly clear the lock bit or bypass it.

### What are the consequences of CWE-1233?

Exploiting CWE-1233 can lead to: Modify Memory.

### Is CWE-1233 actively exploited?

6 recorded CVEs are caused by CWE-1233; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/1233.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-1233). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
