{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "89d3c0e4612afa1c6429ed68d298e35592fbe208"
            },
            {
              "fixed": "a47a080d06ee9d94dc6a2da0fc2b9beeeedb92b3"
            },
            {
              "fixed": "acf32a5dff082044cf0fd9492f3c10b7357c15ee"
            },
            {
              "fixed": "41d44ac7a61e2f74453af40d4fe1b82af9ea0ada"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.16.0"
            },
            {
              "fixed": "6.18.46"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80520.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\novpn: fix NULL dereference when killing missing key\n\novpn_crypto_kill_key assumes both crypto slots are populated and\ndereferences each slot before checking it. That is not guaranteed: a\npeer can have only one installed key, and the kill path may be asked to\nremove a key that is not present.\n\nRead each slot once while holding the crypto state lock, check for NULL\nbefore looking at key_id, and only replace the slot that actually\nmatches.",
  "id": "CVE-2026-80520",
  "modified": "2026-08-27T03:30:28.103905739Z",
  "published": "2026-08-26T14:37:01.983Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/41d44ac7a61e2f74453af40d4fe1b82af9ea0ada"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a47a080d06ee9d94dc6a2da0fc2b9beeeedb92b3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/acf32a5dff082044cf0fd9492f3c10b7357c15ee"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80520.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-80520"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "ovpn: fix NULL dereference when killing missing key"
}