We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-39778

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



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

Reserved 2025-04-16 | Published 2025-04-18 | Updated 2025-05-26 | Assigner Linux

Product status

Default status
unaffected

649fd41420a816b11b07423ebf4dbd4ac1ac2905 before 1adc93a525fdee8e2b311e6d5fd93eb69714ca05
affected

649fd41420a816b11b07423ebf4dbd4ac1ac2905 before 8fbf37a3577b4d64c150cafde338eee17b2f2ea4
affected

649fd41420a816b11b07423ebf4dbd4ac1ac2905 before 0cc0efc58d6c741b2868d4af24874d7fec28a575
affected

649fd41420a816b11b07423ebf4dbd4ac1ac2905 before 107a23185d990e3df6638d9a84c835f963fe30a6
affected

Default status
affected

6.11
affected

Any version before 6.11
unaffected

6.12.23
unaffected

6.13.11
unaffected

6.14.2
unaffected

6.15
unaffected

References

git.kernel.org/...c/1adc93a525fdee8e2b311e6d5fd93eb69714ca05

git.kernel.org/...c/8fbf37a3577b4d64c150cafde338eee17b2f2ea4

git.kernel.org/...c/0cc0efc58d6c741b2868d4af24874d7fec28a575

git.kernel.org/...c/107a23185d990e3df6638d9a84c835f963fe30a6

cve.org (CVE-2025-39778)

nvd.nist.gov (CVE-2025-39778)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-39778

Support options

Helpdesk Chat, Email, Knowledgebase