Bug 2360922 (CVE-2025-39778) - CVE-2025-39778 kernel: objtool, nvmet: Fix out-of-bounds stack access in nvmet_ctrl_state_show()
Summary: CVE-2025-39778 kernel: objtool, nvmet: Fix out-of-bounds stack access in nvme...
Keywords:
Status: NEW
Alias: CVE-2025-39778
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-18 08:01 UTC by OSIDB Bzimport
Modified: 2025-08-11 18:17 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-18 08:01:21 UTC
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

Comment 1 Avinash Hanwate 2025-04-18 13:56:43 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025041821-CVE-2025-39778-70fe@gregkh/T

Comment 3 rixydaa 2025-08-11 18:17:47 UTC
Often, help in a certain matter can come from where you least expect it. At some point, I decided to start dating, chose the newest and most accessible method for meeting people, online dating, and everything went great thanks to the website https://www.nastyhookups.com/sugar-momma-dating.html . I found a truly charming woman, and to my surprise, I learned that she also programs and her experience was several times greater than mine. She helped me not only become happier, but also to grow as a developer by helping me with similar bugs.


Note You need to log in before you can comment on or make changes to this bug.