Horizon Alert
Summary of the vulnerability and why it matters
This CVE addresses a vulnerability in the Linux kernel related to NVMe-oF target authentication. A remote attacker could exploit this by sending a specially crafted authentication request, potentially leading to a heap out-of-bounds write. The issue is triggered when in-band DH-HMAC-CHAP authentication is configured on the target.
- Short authentication buffers can cause data writes beyond allocated memory.
- Affects NVMe-oF target authentication configuration.
- Confirm relevance and exposure if authentication is used.
Attack Path
How an attacker could exploit the issue
An attacker with network access to an NVMe-oF target configured for in-band DH-HMAC-CHAP authentication could craft a specific request. This request would exploit a flaw in how the system handles the buffer size for authentication responses, leading to a heap out-of-bounds write. This vulnerability is reachable without any special privileges or user interaction.
- Network access required.
- Authentication buffer size flaw.
- Heap out-of-bounds write risk.
Live Threat
Current exploitation, exposure, and threat context
A remote NVMe-oF initiator with access to an auth-enabled target could trigger a heap out-of-bounds write. This may occur when a short buffer is provided for authentication responses, allowing data to be written past the allocated memory. This vulnerability is reachable only when in-band DH-HMAC-CHAP authentication is configured on the target.
- Heap memory
- Incorrect buffer length processing
- Potential memory corruption
Operational Fix
Recommended remediation, mitigation, and detection steps
The Linux kernel's nvmet-auth component is vulnerable to a heap out-of-bounds write when handling authentication requests. This vulnerability requires in-band DH-HMAC-CHAP authentication to be configured on the target and can be exploited by a remote NVMe-oF initiator with access to an auth-enabled target. The first practical step is to identify all NVMe-oF targets, confirm if they use DH-HMAC-CHAP authentication, assess their network exposure, and then plan remediation with the infrastructure or storage platform teams responsible for the NVMe-oF environment.
- Own by Infrastructure/Platform teams.
- Verify DH-HMAC-CHAP authentication configuration.
- Plan and implement kernel updates.