CWE-1222Insufficient Granularity of Address Regions Protected by Register Locks

PUBLISHEDweakness record
released 2020-02-24 · last modified 2025-12-11

Metadata

CWE ID:
CWE-1222
摘要:
Variant
结构:
Simple
状态:
Incomplete
发布日期:
2020-02-24
更新日期:
2025-12-11

名称

Insufficient Granularity of Address Regions Protected by Register Locks

描述

The product defines a large address region protected from modification by the same register lock control bit. This results in a conflict between the functional requirement that some addresses need to be writable by software during operation and the security requirement that the system configuration lock bit must be set during the boot process.

Integrated circuits and hardware IPs can expose the device configuration controls that need to be programmed after device power reset by a trusted firmware or software module (commonly set by BIOS/bootloader) and then locked from any further modification. In hardware design, this is commonly implemented using a programmable lock bit which enables/disables writing to a protected set of registers or address regions. When the programmable lock bit is set, the relevant address region can be implemented as a hardcoded value in hardware logic that cannot be changed later. A problem can arise wherein the protected region definition is not granular enough. After the programmable lock bit has been set, then this new functionality cannot be implemented without change to the hardware design.

常见后果

范围:
Access Control
影响:
Other
注释:
System security configuration cannot be defined in a way that does not conflict with functional requirements of device.

相关 CWE