VDB

CVE-2026-68122

CVE-2026-68122 PUBLISHED

ovpn: fix peer refcount leak in TCP error paths

Reported by linux · Published August 10, 2026

In the Linux kernel, the following vulnerability has been resolved: ovpn: fix peer refcount leak in TCP error paths When either the TCP RX or TX error path calls ovpn_peer_hold() followed by schedule_work(&peer->tcp.defer_del_work), and the work item is already pending from the other path, schedule_work() returns false and the work runs only once. Since ovpn_tcp_peer_del_work() calls ovpn_peer_put() exactly once, the extra reference taken by the losing path is never dropped, leaking the peer object. The race window: CPU0 (strparser/RX error): CPU1 (tcp_tx_work/TX error): ovpn_peer_hold() <- refcnt+1 ovpn_peer_hold() <- refcnt+2 schedule_work() <- queued schedule_work() <- NO-OP (work already pending) ovpn_tcp_peer_del_work runs: ovpn_peer_del() ovpn_peer_put() <- refcnt+1 <- peer never freed Fix by checking the return value of schedule_work() in both paths and calling ovpn_peer_put() to drop the extra reference if the work was already pending. ovpn_peer_hold() is kept unconditional in the TX path as it cannot fail at that point.

EPSS 0.17% · 6.9th percentile

Risk scores

EPSS Score
0.17%
6.9th percentile

Affected products

VendorProductVersions
LinuxLinuxa6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb
LinuxLinux6.16, 0, 6.18.42
linuxlinux_kernel6.16, 6.16, 6.16
LinuxLinux*, *, *

Timeline

  • Aug 10, 2026 CVE Published
  • Aug 11, 2026 Coalition ESS Score
  • Aug 16, 2026 Security Advisory
  • Aug 17, 2026 CVE Updated
  • Aug 24, 2026 EPSS Score (14 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68122
vulnetix vdb fixes CVE-2026-68122

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68122/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›