CVE-2026-100084

nvme: make the DH-HMAC-CHAP secret attributes readable by root only

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

nvme: make the DH-HMAC-CHAP secret attributes readable by root only

The dhchap_secret and dhchap_ctrl_secret sysfs attributes have mode
0644. Their show functions return the secret, so any local user can
read the DH-HMAC-CHAP secrets of a connected controller.

Define them with DEVICE_ATTR_ADMIN_RW(), which sets mode 0600. The
macro takes the show and store functions from the attribute name, so
rename them. Writing the attributes was already limited to root and is
not changed.

Analysis

AI-generated

Technical impact

The vulnerability allows any local user to read the dhchap_secret and dhchap_ctrl_secret attributes exposed by the NVMe driver in the Linux kernel sysfs hierarchy. These attributes return DH‑HMAC‑CHAP secrets used for authentication with NVMe controllers. Exposure of these secrets can facilitate credential theft, future authentication bypass, or lateral movement against additional workloads that rely on the same controller.

Affected Systems

All Linux kernel installations that include the NVMe driver and expose the dhchap_secret or dhchap_ctrl_secret sysfs entries with world‑readable permissions. The issue exists in kernel releases prior to the patch that changes the attributes to mode 0600; the exact affected versions are not enumerated here, so any kernel with the unsecured attributes should be considered vulnerable.

Risk and Exploitability

The exploit requires local user access on the affected host; no network or remote component is required. Because it is an information disclosure with local persistence, the associated risk is moderate to high for confidentiality. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed widespread exploitation at this time. The likely attack vector is a local adversary who can invoke sysfs operations to read privileged data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that changes the dhchap_secret and dhchap_ctrl_secret sysfs attributes to 0600, restricting read and write to root only.
  • Upgrade to a kernel version that includes the fix.
  • Configure SELinux, AppArmor, or adjust file permissions to deny non‑root read access to the /sys/.../dhchap_* files.
  • Monitor system logs for attempts to read the sensitive sysfs attributes and alert on any unauthorized access.

Generated by OpenCVE AI on November 30, 2026 at 16:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nvme: make the DH-HMAC-CHAP secret attributes readable by root only The dhchap_secret and dhchap_ctrl_secret sysfs attributes have mode 0644. Their show functions return the secret, so any local user can read the DH-HMAC-CHAP secrets of a connected controller. Define them with DEVICE_ATTR_ADMIN_RW(), which sets mode 0600. The macro takes the show and store functions from the attribute name, so rename them. Writing the attributes was already limited to root and is not changed.
Title nvme: make the DH-HMAC-CHAP secret attributes readable by root only
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:23 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM