CVE-2025-39778

published 18 Apr 2025 · updated 11 May 2026

objtool, nvmet: Fix out-of-bounds stack access in nvmet_ctrl_state_show()

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0cc0efc58d6c741b2868d4af24874d7fec28a575, Kernel 107a23185d990e3df6638d9a84c835f963fe30a6, Kernel 1adc93a525fdee8e2b311e6d5fd93eb69714ca05 and 1 more.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.11, >=649fd41420a816b11b07423ebf4dbd4ac1ac2905 <0cc0efc58d6c741b2868d4af24874d7fec28a575, >=649fd41420a816b11b07423ebf4dbd4ac1ac2905 <107a23185d990e3df6638d9a84c835f963fe30a6, >=649fd41420a816b11b07423ebf4dbd4ac1ac2905 <1adc93a525fdee8e2b311e6d5fd93eb69714ca05, >=649fd41420a816b11b07423ebf4dbd4ac1ac2905 <8fbf37a3577b4d64c150cafde338eee17b2f2ea40cc0efc58d6c741b2868d4af24874d7fec28a575, 107a23185d990e3df6638d9a84c835f963fe30a6, 1adc93a525fdee8e2b311e6d5fd93eb69714ca05, 8fbf37a3577b4d64c150cafde338eee17b2f2ea4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-39778 severity on Zeptric[![CVE-2025-39778](https://zeptric.io/badge/cve/CVE-2025-39778.svg)](https://zeptric.io/cve/CVE-2025-39778)