CVE-2026-68122: ovpn: fix peer refcount leak in TCP error paths
Vulnerability summary
CVE-2026-68122 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.4% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 9Timeline
- 10-08-2026PublishedVulnerability first disclosed.
- 17-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.13%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
Decrease -0.05 pp
From 0.17% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu121 products
- linux< 7.0.0-38.38
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 7.0.0-1014.14
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, < b08526bf0bbf84ceebd29033783e8e0c9f451286 | ≥ a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, < f08f39c1f43f3980d46b06af8ed99ffe84ac294a | ≥ a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, < 63bbe18fc03062f483c627838a566a707b62da79 | 6.16
- linux_kernel≥ 6.16, < 6.18.42 | ≥ 6.19, < 7.1.6 | 7.2:rc1 | 7.2:rc2 | 7.2:rc3 | 7.2:rc4
Debian1 product
- linux< 7.1.6-1
3 vendors · 124 products