CVE-2025-37825 Details
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet: fix out-of-bounds access in nvmet_enable_port When trying to enable a port that has no transport configured yet, nvmet_enable_port() uses NVMF_TRTYPE_MAX (255) to query the transports array, causing an out-of-bounds access: [ 106.058694] BUG: KASAN: global-out-of-bounds in nvmet_enable_port+0x42/0x1da [ 106.058719] Read of size 8 at addr ffffffff89dafa58 by task ln/632 [...] [ 106.076026] nvmet: transport type 255 not supported Since commit 200adac75888, NVMF_TRTYPE_MAX is the default state as configured by nvmet_ports_make(). Avoid this by checking for NVMF_TRTYPE_MAX before proceeding.
A vulnerability in the Linux kernel's NVMe over Fabrics (NVMe-oF) implementation has been identified, specifically in the 'nvmet_enable_port' function. When enabling a port without a configured transport, the function incorrectly uses 'NVMF_TRTYPE_MAX' (255) to access the transports array. This leads to an out-of-bounds memory access, as the transport type 255 is not supported. The issue arises because 'NVMF_TRTYPE_MAX' has become the default state since a recent commit, which introduced this vulnerability by allowing invalid transport type queries.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3d7aa0c7b4e96cd460826d932e44710cdeb3378b | kernel.org | Patch |
| https://git.kernel.org/stable/c/83c00860a37b3fcba8026cb344101f1b8af547cf | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.14, < 6.14.5 6.15 rc1 6.15 rc2 6.15 rc3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 10, 2025 | Initial Analysis | [email protected] |
| May 8, 2025 | New CVE Received | kernel.org |