In the Linux kernel, the following vulnerability has been resolved:
ovpn: fix use after free in unlock_ovpn()
unlockovpn() iterates over the releaselist using llistforeachentry() and drops the peer reference inside the loop body via ovpnpeer_put().
If this drops the last reference, the peer is eventually freed. However, llistforeachentry() reads peer->releaseentry.next in the loop advance expression, which runs after the body. By that time the peer may have already been freed, resulting in a use after free when advancing to the next list entry.
Fix this by using llistforeachentrysafe(), which caches the next pointer before executing the loop body.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68341.json",
"cna_assigner": "Linux"
}