CVE-2025-39778

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
18/04/2025
Last modified:
01/10/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> objtool, nvmet: Fix out-of-bounds stack access in nvmet_ctrl_state_show()<br /> <br /> The csts_state_names[] array only has six sparse entries, but the<br /> iteration code in nvmet_ctrl_state_show() iterates seven, resulting in a<br /> potential out-of-bounds stack read. Fix that.<br /> <br /> Fixes the following warning with an UBSAN kernel:<br /> <br /> vmlinux.o: warning: objtool: .text.nvmet_ctrl_state_show: unexpected end of section

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.11 (including) 6.12.23 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.13.11 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.14 (including) 6.14.2 (excluding)