{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a2dbaeb5c61ef110ceefe0d48fe94d428d3bcf16"
            },
            {
              "fixed": "950decf59d4e978b60a792ce0b3e1555a608f489"
            },
            {
              "fixed": "b045ab3dff97edae6d538eeff900a34c098761f8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "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-31776.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: ctxfi: Fix missing SPDIFI1 index handling\n\nSPDIF1 DAIO type isn't properly handled in daio_device_index() for\nhw20k2, and it returned -EINVAL, which ended up with the out-of-bounds\narray access.  Follow the hw20k1 pattern and return the proper index\nfor this type, too.",
  "id": "CVE-2026-31776",
  "modified": "2026-07-08T05:38:58.570415271Z",
  "published": "2026-05-01T14:15:04.423Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/950decf59d4e978b60a792ce0b3e1555a608f489"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b045ab3dff97edae6d538eeff900a34c098761f8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31776.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31776"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "ALSA: ctxfi: Fix missing SPDIFI1 index handling"
}