{"id":"CVE-2026-68341","published":"2026-08-10T12:03:17Z","modified":"2026-08-17T05:03:41Z","title":"ovpn: fix use after free in unlock_ovpn()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->release_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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00566,"percentile":0.47873,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5b96227c0e8b212b74838424c929fc889aedb555","tags":[]},{"url":"https://git.kernel.org/stable/c/4cdb209f12a89c5faf9be0c45edb90ccdf65db0c","tags":[]},{"url":"https://git.kernel.org/stable/c/e1ad6fe5db719874efa45b2caf9934552e09fc43","tags":[]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":9.57},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 80747caef33d77f5c1b3d24644e6d7dae69066b5, < 5b96227c0e8b212b74838424c929fc889aedb555",">= 80747caef33d77f5c1b3d24644e6d7dae69066b5, < 4cdb209f12a89c5faf9be0c45edb90ccdf65db0c",">= 80747caef33d77f5c1b3d24644e6d7dae69066b5, < e1ad6fe5db719874efa45b2caf9934552e09fc43"]},{"vendor":"Linux","product":"Linux","versions":["6.16"]}],"euvd":{"id":"EUVD-2026-55442","exploited":false,"provenance":"source"}}