Data Storage Device Using Dynamic Flash Regions for Firmware Security

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Data storage devices are vulnerable to security attacks during firmware updates due to fixed SPI flash regions, allowing attackers to corrupt firmware images, leading to device unavailability and data loss.

Innovation Solution

Implementing a Dynamic Floating Flash Region (DFFR) technique that dynamically allocates SPI flash addresses for firmware storage, encrypting initial addresses, and storing chunks in a linked fashion to prevent attackers from accessing predetermined locations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If fixed SPI flash regions are used for firmware storage, then firmware update process is simple and deterministic, but security vulnerability increases allowing attackers to corrupt firmware images

Engineering Contradiction:
Improvefirmware update securityVSAvoidfirmware update process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements dynamic allocation of SPI flash regions for firmware storage. Instead of predetermined fixed addresses, the system dynamically determines and allocates flash regions during the firmware update process. This dynamic approach prevents attackers from knowing where firmware will be stored, thereby securing against corruption attacks while maintaining a manageable update process through automated region allocation and management.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent performs preliminary validation and preparation actions before committing firmware to the dynamically allocated region. The system validates the firmware image, prepares the target flash region, and establishes proper boundaries and protection mechanisms in advance. This preliminary action ensures secure storage while keeping the overall process structured and controllable despite the dynamic nature of region allocation.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If dynamic floating flash region allocation is implemented, then firmware update security is enhanced, but memory management complexity increases

Engineering Contradiction:
Improvefirmware update securityVSAvoidmemory management ease
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent implements a self-service memory management system where the controller automatically performs flash region allocation, validation, and management without requiring complex external intervention. The system autonomously determines available flash regions, allocates appropriate spaces for firmware updates, and manages the update process. This self-service approach enhances security through dynamic allocation while simplifying operation by automating the complex memory management tasks.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent incorporates feedback mechanisms in the dynamic flash region allocation process. The system continuously monitors flash memory status, validates firmware images, and adjusts allocation decisions based on real-time conditions. This feedback loop ensures secure and efficient memory management by automatically responding to system state changes, thereby maintaining ease of operation despite the dynamic nature of the system.

Inventive Principle:
Principle #23Feedback

3Reliability

If predetermined firmware storage locations are used, then firmware validation is straightforward, but security against corruption attacks is compromised

Engineering Contradiction:
Improvefirmware integrity protectionVSAvoidfirmware validation process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent employs dynamic flash region allocation that changes with each firmware update cycle. Instead of validating firmware at a predetermined location, the system dynamically determines the target flash region, allocates it appropriately, and then performs validation specific to that region. This dynamic approach protects against corruption attacks by preventing attackers from knowing validation locations in advance, while the automated validation process maintains straightforward procedures through region-specific validation routines.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12455967B2Data storage device and method for using a dynamic floating flash region to secure a firmware update
Publication Date: 2025.10.28 WESTERN DIGITAL TECHNOLOGIES INC
  • US12455967B2 patent drawing
  • US12455967B2 patent drawing
  • US12455967B2 patent drawing

AI summary

A data storage device and method are provided for using a dynamic floating flash region to secure a firmware update. In one embodiment, a data storage device is provided comprising a first non-volatile memory, a second non-volatile memory, and a controller. The controller is configured to communicate with the first and second non-volatile memories and further configured to: determine addresses in the second non-volatile memory to store portions of a firmware update, wherein the addresses are determined on-the-fly as opposed to being predetermined; and store the portion of the firmware update in the addresses in the second non-volatile memory. Other embodiments are provided.