{"id":"CVE-2025-37825","published":"2025-05-08T06:26:18Z","modified":"2026-05-11T21:15:52Z","title":"nvmet: fix out-of-bounds access in nvmet_enable_port","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: fix out-of-bounds access in nvmet_enable_port\n\nWhen trying to enable a port that has no transport configured yet,\nnvmet_enable_port() uses NVMF_TRTYPE_MAX (255) to query the transports\narray, causing an out-of-bounds access:\n\n[  106.058694] BUG: KASAN: global-out-of-bounds in nvmet_enable_port+0x42/0x1da\n[  106.058719] Read of size 8 at addr ffffffff89dafa58 by task ln/632\n[...]\n[  106.076026] nvmet: transport type 255 not supported\n\nSince commit 200adac75888, NVMF_TRTYPE_MAX is the default state as configured by\nnvmet_ports_make().\nAvoid this by checking for NVMF_TRTYPE_MAX before proceeding.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00259,"percentile":0.10769,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/83c00860a37b3fcba8026cb344101f1b8af547cf","tags":[]},{"url":"https://git.kernel.org/stable/c/3d7aa0c7b4e96cd460826d932e44710cdeb3378b","tags":[]}],"priority":{"score":2.2,"factors":[{"name":"EPSS percentile","points":2.15}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 200adac75888182c09027e9b7852507dabd87034, < 83c00860a37b3fcba8026cb344101f1b8af547cf",">= 200adac75888182c09027e9b7852507dabd87034, < 3d7aa0c7b4e96cd460826d932e44710cdeb3378b"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"euvd":{"id":"EUVD-2025-13960","exploited":false,"provenance":"source"}}