CVE-2025-39778 Details
Description
In the Linux kernel, the following vulnerability has been resolved: objtool, nvmet: Fix out-of-bounds stack access in nvmet_ctrl_state_show() The csts_state_names[] array only has six sparse entries, but the iteration code in nvmet_ctrl_state_show() iterates seven, resulting in a potential out-of-bounds stack read. Fix that. Fixes the following warning with an UBSAN kernel: vmlinux.o: warning: objtool: .text.nvmet_ctrl_state_show: unexpected end of section
A vulnerability allowing out-of-bounds stack access has been identified in the Linux kernel's NVM Express (NVMe) management tool, Objtool. The issue arises in the 'nvmet_ctrl_state_show()' function, where the iteration code incorrectly processes seven entries of the 'csts_state_names[]' array, which only contains six sparse entries. This mismatch can lead to unintended memory access, potentially causing a stack read beyond the array's bounds. The vulnerability triggers a warning in the kernel's Undefined Behavior Sanitizer (UBSAN) mode, indicating an unexpected end of section.
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.
CISA-ADP
Assessed Oct 1, 2025References 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/0cc0efc58d6c741b2868d4af24874d7fec28a575 | kernel.org | Patch |
| https://git.kernel.org/stable/c/107a23185d990e3df6638d9a84c835f963fe30a6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/1adc93a525fdee8e2b311e6d5fd93eb69714ca05 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8fbf37a3577b4d64c150cafde338eee17b2f2ea4 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-125 | Out-of-bounds Read | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.11, < 6.12.23 >= 6.13, < 6.13.11 >= 6.14, < 6.14.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Apr 28, 2025 | Initial Analysis | [email protected] |
| Apr 18, 2025 | New CVE Received | kernel.org |