{"id":"CVE-2025-39778","aliases":["CVE-2025-39778"],"related":[],"kind":"vulnerability","state":"published","title":"objtool, nvmet: Fix out-of-bounds stack access in nvmet_ctrl_state_show()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nobjtool, nvmet: Fix out-of-bounds stack access in nvmet_ctrl_state_show()\n\nThe csts_state_names[] array only has six sparse entries, but the\niteration code in nvmet_ctrl_state_show() iterates seven, resulting in a\npotential out-of-bounds stack read.  Fix that.\n\nFixes the following warning with an UBSAN kernel:\n\n  vmlinux.o: warning: objtool: .text.nvmet_ctrl_state_show: unexpected end of section","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nobjtool, nvmet: Fix out-of-bounds stack access in nvmet_ctrl_state_show()\n\nThe csts_state_names[] array only has six sparse entries, but the\niteration code in nvmet_ctrl_state_show() iterates seven, resulting in a\npotential out-of-bounds stack read.  Fix that.\n\nFixes the following warning with an UBSAN kernel:\n\n  vmlinux.o: warning: objtool: .text.nvmet_ctrl_state_show: unexpected end of section","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: objtool, nvmet: Se corrige el acceso a la pila fuera de los límites en nvmet_ctrl_state_show(). La matriz csts_state_names[] solo tiene seis entradas dispersas, pero el código de iteración en nvmet_ctrl_state_show() itera siete, lo que resulta en una posible lectura de la pila fuera de los límites. Se soluciona. Se corrige la siguiente advertencia con un kernel UBSAN: vmlinux.o: advertencia: objtool: .text.nvmet_ctrl_state_show: final inesperado de sección.","source":"nvd"}],"published":"2025-04-18T07:01:37.909Z","modified":"2026-06-17T09:18:27.693Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"649fd41420a816b11b07423ebf4dbd4ac1ac2905","fixed":"1adc93a525fdee8e2b311e6d5fd93eb69714ca05","status":"affected"},{"type":"git","introduced":"649fd41420a816b11b07423ebf4dbd4ac1ac2905","fixed":"8fbf37a3577b4d64c150cafde338eee17b2f2ea4","status":"affected"},{"type":"git","introduced":"649fd41420a816b11b07423ebf4dbd4ac1ac2905","fixed":"0cc0efc58d6c741b2868d4af24874d7fec28a575","status":"affected"},{"type":"git","introduced":"649fd41420a816b11b07423ebf4dbd4ac1ac2905","fixed":"107a23185d990e3df6638d9a84c835f963fe30a6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.23","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.11","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.2","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.11","fixed":"6.12.23"},{"status":"affected","introduced":"6.13","fixed":"6.13.11"},{"status":"affected","introduced":"6.14","fixed":"6.14.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1adc93a525fdee8e2b311e6d5fd93eb69714ca05","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8fbf37a3577b4d64c150cafde338eee17b2f2ea4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0cc0efc58d6c741b2868d4af24874d7fec28a575","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/107a23185d990e3df6638d9a84c835f963fe30a6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T16:12:56.142Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39778","url":"https://www.cve.org/CVERecord?id=CVE-2025-39778","licence":"CVE Terms of Use","modified":"2026-05-11T21:36:06.474Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39778","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39778","licence":"Public domain","modified":"2026-06-17T09:18:27.693Z"}],"updatedAt":"2026-11-25T22:58:56.762Z","epss":{"score":0.00256,"percentile":0.18449,"date":"2026-12-01T12:00:22.000Z"}}