{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "8cc72361481f00253f1e468ade5795427386d593"
            },
            {
              "fixed": "d4d3b8cbb70a2de247cbfe99bdb232aef9ed59bc"
            },
            {
              "fixed": "277c6960d4ddb94d16198afd70c92c3d4593d131"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.31"
            },
            {
              "fixed": "6.19.12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31777.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: ctxfi: Check the error for index mapping\n\nThe ctxfi driver blindly assumed a proper value returned from\ndaio_device_index(), but it's not always true.  Add a proper error\ncheck to deal with the error from the function.",
  "id": "CVE-2026-31777",
  "modified": "2026-07-08T05:39:28.881130156Z",
  "published": "2026-05-01T14:15:05.127Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/277c6960d4ddb94d16198afd70c92c3d4593d131"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d4d3b8cbb70a2de247cbfe99bdb232aef9ed59bc"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31777.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31777"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "ALSA: ctxfi: Check the error for index mapping"
}