CVE-2025-37825
kernel: nvmet: fix out-of-bounds access in nvmet_enable_port
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 8, 2025
Updated · October 1, 2026
Description
An out-of-bounds access vulnerability was found in the Linux kernel's nvme subsystem in the nvmet_enable_port() function. The vulnerability can occur when a port is enabled without a transport type configured, causing the function to use the NVMF_TRTYPE_MAX value (255) as an array index into the nvmet_transports structure. The out-of-bounds read can lead to system instability, information leakage, and a denial of service.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-125 · Out-of-bounds Read