# CVE-2026-68122: ovpn: fix peer refcount leak in TCP error paths

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-10T11:58:42.477Z
- **Modified:** 2026-08-17T05:18:11.810Z

## Who should check

- Anyone running Linux \>= a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, \< b08526bf0bbf84ceebd29033783e8e0c9f451286; \>= a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, \< f08f39c1f43f3980d46b06af8ed99ffe84ac294a; \>= a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, \< 63bbe18fc03062f483c627838a566a707b62da79
- Anyone running Linux 6.16

## 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.

## Affected and fixed versions

- Linux: \>= a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, \< b08526bf0bbf84ceebd29033783e8e0c9f451286; \>= a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, \< f08f39c1f43f3980d46b06af8ed99ffe84ac294a; \>= a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, \< 63bbe18fc03062f483c627838a566a707b62da79 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 63bbe18fc03062f483c627838a566a707b62da79 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68122. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68122.md
Affected: Linux >= a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, < b08526bf0bbf84ceebd29033783e8e0c9f451286; >= a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, < f08f39c1f43f3980d46b06af8ed99ffe84ac294a; >= a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, < 63bbe18fc03062f483c627838a566a707b62da79; Linux 6.16
Fixed in: Linux 63bbe18fc03062f483c627838a566a707b62da79

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68122 being exploited?

There is no confirmed exploitation: CVE-2026-68122 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68122?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-68122?

Linux \>= a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, \< b08526bf0bbf84ceebd29033783e8e0c9f451286; \>= a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, \< f08f39c1f43f3980d46b06af8ed99ffe84ac294a; \>= a6a5e87b3ee4cbf9c69a776565378c9b6a91dbfb, \< 63bbe18fc03062f483c627838a566a707b62da79; Linux 6.16.

### Is there a fix for CVE-2026-68122?

Yes. Fixed in Linux 63bbe18fc03062f483c627838a566a707b62da79. Upgrade Linux to 63bbe18fc03062f483c627838a566a707b62da79 or later.

### How do I check if I'm affected by CVE-2026-68122?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b08526bf0bbf84ceebd29033783e8e0c9f451286>
- other: <https://git.kernel.org/stable/c/f08f39c1f43f3980d46b06af8ed99ffe84ac294a>
- other: <https://git.kernel.org/stable/c/63bbe18fc03062f483c627838a566a707b62da79>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68122>

HTML: <https://flawdb.com/CVE-2026-68122> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68122>
