FC-NVMe Namespace Access Control via WWPN-FCID Binding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In Fibre Channel (FC) storage area networks, the use of World Wide Port Name (WWPN) for zoning and NVMe Qualified Name (NQN) for masking leads to unauthorized access issues, as every NQN defined on the host gains access to all namespaces allocated to the host interface WWPN, compromising data security and making it difficult to detect unauthorized access.

Innovation Solution

Implementing a namespace access control mechanism using a WWPN+HOSTNQN identifier pair, where the FCID is used to determine authorized access, allowing only the FCID associated with the correct WWPN to access namespaces, and utilizing a learning mechanism to associate WWPN and NQN pairs, reducing the administrative burden and preventing unauthorized access.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If WWPN is used for zoning and NQN for masking in FC-NVMe, then access control is enabled, but unauthorized access occurs because every NQN gains access to all namespaces allocated to the host interface WWPN

Engineering Contradiction:
Improveaccess controlVSAvoidunauthorized access
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent segments the access control mechanism by introducing a dedicated FCID (Fibre Channel Identifier) field in the NVMe namespace access control structures. This FCID acts as a separate identifier from both WWPN and NQN, creating a three-component access control model where: (1) WWPN identifies the host interface, (2) NQN identifies the namespace, and (3) FCID provides the binding between them. This segmentation prevents the harmful effect where any NQN could access all namespaces by ensuring that the FCID must match the expected binding between the host interface and namespace.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The FCID serves as an intermediary element that mediates between the WWPN (host interface identifier) and NQN (namespace identifier). Instead of directly binding WWPN to NQN or allowing any NQN to access all namespaces, the FCID creates an intermediate layer that enforces the correct binding relationship. The FCID is used in the namespace access control lists and zone configuration to verify that a particular NQN is authorized to access a specific WWPN, thereby preventing unauthorized access while maintaining proper access control functionality.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If multiple NQNs are defined on the host to access different groups of namespaces, then access flexibility is improved, but masking becomes ineffective as every NQN can access all namespaces allocated to the host interface

Engineering Contradiction:
Improveaccess flexibilityVSAvoidmasking effectiveness
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent segments the access control mechanism by introducing a dedicated FCID (Fibre Channel Identifier) field in the NVMe namespace access control structures. This FCID acts as a separate identifier from both WWPN and NQN, creating a three-component access control model where: (1) WWPN identifies the host interface, (2) NQN identifies the namespace, and (3) FCID provides the binding between them. This segmentation prevents the harmful effect where any NQN could access all namespaces by ensuring that the FCID must match the expected binding between the host interface and namespace.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent adds another dimension to the access control model by introducing the FCID as a third identifier dimension. Instead of a two-dimensional model where WWPN maps to NQN, the system now operates in a three-dimensional space with WWPN, NQN, and FCID. This dimensional expansion allows the system to maintain access flexibility through multiple NQNs while preventing unauthorized access by requiring the FCID to verify the binding relationship, thus resolving the contradiction between versatility and masking effectiveness.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Measurement precision

If WWPN and NQN pairs are manually tracked and configured, then access control precision is improved, but administrative complexity increases

Engineering Contradiction:
Improveaccess control precisionVSAvoidconfiguration complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements self-service functionality where the NVMe subsystem automatically learns and stores the binding relationships between FCIDs, WWPNs, and NQNs during the normal namespace allocation and access operations. The subsystem maintains internal tables that map these identifiers without requiring external manual tracking or configuration. This self-service mechanism eliminates the administrative burden of manually tracking WWPN-NQN pairs while maintaining precise access control, as the system automatically enforces the binding relationships through the FCID verification process in namespace access control lists.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent incorporates feedback mechanisms where the NVMe subsystem continuously monitors and learns the actual binding relationships between host interfaces (WWPN) and namespaces (NQN) during operation. This feedback is stored in the subsystem's internal configuration structures, allowing the access control mechanism to automatically verify future access requests against the learned relationships. This feedback-based learning eliminates the need for manual configuration tracking while maintaining precise access control, as the system adapts to the actual usage patterns and enforces the correct binding relationships automatically.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11989461B2Preventing unauthorized access to non-volatile memory (NVM) subsystem namespaces
Publication Date: 2024.05.21 DELL PROD LP
  • US11989461B2 patent drawing
  • US11989461B2 patent drawing
  • US11989461B2 patent drawing

AI summary

In the case of FC-NVMe (NVMe over Fabrics using Fibre Channel (FC) as a transport), zoning is typically performed using the interface WWPNs, but the masking of NVMe namespaces is performed using a host's NVMe Qualified Name (NQN or HOSTNQN). The use of two identifiers (i.e., one identifier used for zoning and another identifier used for masking) introduces a potential security related concern. A bad actor may obtain the NQN of a host that has access to sensitive information and use it to access this sensitive information. Accordingly, in one or more embodiments, by correlating different identifiers and using a combination of the different identifiers, access can easily be provided to the appropriate host adapters while prohibiting access to rogue hosts.