{
  "id": "CVE-2025-39778",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39778",
  "published_at": "2025-04-18T07:01:37.909Z",
  "title": "objtool, nvmet: Fix out-of-bounds stack access in nvmet_ctrl_state_show()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.1,
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 649fd41420a816b11b07423ebf4dbd4ac1ac2905, \u003c 1adc93a525fdee8e2b311e6d5fd93eb69714ca05",
          "\u003e= 649fd41420a816b11b07423ebf4dbd4ac1ac2905, \u003c 8fbf37a3577b4d64c150cafde338eee17b2f2ea4",
          "\u003e= 649fd41420a816b11b07423ebf4dbd4ac1ac2905, \u003c 0cc0efc58d6c741b2868d4af24874d7fec28a575",
          "\u003e= 649fd41420a816b11b07423ebf4dbd4ac1ac2905, \u003c 107a23185d990e3df6638d9a84c835f963fe30a6"
        ],
        "fixed_in": [
          "1adc93a525fdee8e2b311e6d5fd93eb69714ca05",
          "8fbf37a3577b4d64c150cafde338eee17b2f2ea4",
          "0cc0efc58d6c741b2868d4af24874d7fec28a575",
          "107a23185d990e3df6638d9a84c835f963fe30a6"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.11"
        ],
        "fixed_in": [
          "0",
          "6.12.23",
          "6.13.11",
          "6.14.2",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 1adc93a525fdee8e2b311e6d5fd93eb69714ca05 or 8fbf37a3577b4d64c150cafde338eee17b2f2ea4 or 0cc0efc58d6c741b2868d4af24874d7fec28a575 or 107a23185d990e3df6638d9a84c835f963fe30a6 or later.",
      "Upgrade Linux to 0 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
