{
  "id": "CVE-2026-68341",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-68341",
  "published_at": "2026-08-10T12:03:17.821Z",
  "title": "ovpn: fix use after free in unlock_ovpn()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/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\novpn: fix use after free in unlock_ovpn()\n\nunlock_ovpn() iterates over the release_list using llist_for_each_entry()\nand drops the peer reference inside the loop body via ovpn_peer_put().\n\nIf this drops the last reference, the peer is eventually freed. However,\nllist_for_each_entry() reads peer-\u003erelease_entry.next in the loop advance\nexpression, which runs after the body. By that time the peer may have\nalready been freed, resulting in a use after free when advancing to the\nnext list entry.\n\nFix this by using llist_for_each_entry_safe(), which caches the next\npointer before executing the loop body.",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 80747caef33d77f5c1b3d24644e6d7dae69066b5, \u003c 5b96227c0e8b212b74838424c929fc889aedb555",
          "\u003e= 80747caef33d77f5c1b3d24644e6d7dae69066b5, \u003c 4cdb209f12a89c5faf9be0c45edb90ccdf65db0c",
          "\u003e= 80747caef33d77f5c1b3d24644e6d7dae69066b5, \u003c e1ad6fe5db719874efa45b2caf9934552e09fc43"
        ],
        "fixed_in": [
          "5b96227c0e8b212b74838424c929fc889aedb555",
          "4cdb209f12a89c5faf9be0c45edb90ccdf65db0c",
          "e1ad6fe5db719874efa45b2caf9934552e09fc43"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.16"
        ],
        "fixed_in": [
          "0",
          "6.18.42",
          "7.1.6",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 5b96227c0e8b212b74838424c929fc889aedb555 or 4cdb209f12a89c5faf9be0c45edb90ccdf65db0c or e1ad6fe5db719874efa45b2caf9934552e09fc43 or later.",
      "Upgrade Linux to 0 or 6.18.42 or 7.1.6 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
