CVE-2025-39778

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

Score
CVSS 3.1 7.1 High
Status
Modified - 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-04-18
Last modified
2026-05-11
Weaknesses
CWE-125

Affected products

References