# CVE-2026-64043: ovpn: fix race between deleting interface and adding new peer

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.11% (percentile 0, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-07-19T15:39:29.225Z
- **Modified:** 2026-10-05T18:17:29.037Z

## Who should check

- Anyone running Linux \>= 80747caef33d77f5c1b3d24644e6d7dae69066b5, \< 097d62df38314c14b88fab9096f3461baf158e2b; \>= 80747caef33d77f5c1b3d24644e6d7dae69066b5, \< de9fec2a6645f5b4d23398cd870a33e2703728d9; \>= 80747caef33d77f5c1b3d24644e6d7dae69066b5, \< 982422b11e6f95f766a8cd2c2b1cbdb77e234a61
- Anyone running Linux 6.16

## Description

In the Linux kernel, the following vulnerability has been resolved:

ovpn: fix race between deleting interface and adding new peer

While deleting an existing ovpn interface, there is a very
narrow window where adding a new peer via netlink may cause
the netdevice to hang and prevent its unregistration.

It may happen during ovpn\_dellink(), when all existing peers are
freed and the device is queued for deregistration, but a
CMD\_PEER\_NEW message comes in adding a new peer that takes again
a reference to the netdev.

At this point there is no way to release the device because we are
under the assumption that all peers were already released.

Fix the race condition by releasing all peers in ndo\_uninit(),
when the netdevice has already been removed from the netdev
list.

Also ovpn\_peer\_add() has now an extra check that forces the
function to bail out if the device reg\_state is not REGISTERED.
This way any incoming CMD\_PEER\_NEW racing with the interface
deletion routine will simply stop before adding the peer.

Note that the above check happens while holding the netdev\_lock
to prevent racing netdev state changes.

ovpn\_dellink() is now empty and can be removed.

## Affected and fixed versions

- Linux: \>= 80747caef33d77f5c1b3d24644e6d7dae69066b5, \< 097d62df38314c14b88fab9096f3461baf158e2b; \>= 80747caef33d77f5c1b3d24644e6d7dae69066b5, \< de9fec2a6645f5b4d23398cd870a33e2703728d9; \>= 80747caef33d77f5c1b3d24644e6d7dae69066b5, \< 982422b11e6f95f766a8cd2c2b1cbdb77e234a61 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 982422b11e6f95f766a8cd2c2b1cbdb77e234a61 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-64043. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64043.md
Affected: Linux >= 80747caef33d77f5c1b3d24644e6d7dae69066b5, < 097d62df38314c14b88fab9096f3461baf158e2b; >= 80747caef33d77f5c1b3d24644e6d7dae69066b5, < de9fec2a6645f5b4d23398cd870a33e2703728d9; >= 80747caef33d77f5c1b3d24644e6d7dae69066b5, < 982422b11e6f95f766a8cd2c2b1cbdb77e234a61; Linux 6.16
Fixed in: Linux 097d62df38314c14b88fab9096f3461baf158e2b, Linux 982422b11e6f95f766a8cd2c2b1cbdb77e234a61

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-64043 being exploited?

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

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

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 80747caef33d77f5c1b3d24644e6d7dae69066b5, \< 097d62df38314c14b88fab9096f3461baf158e2b; \>= 80747caef33d77f5c1b3d24644e6d7dae69066b5, \< de9fec2a6645f5b4d23398cd870a33e2703728d9; \>= 80747caef33d77f5c1b3d24644e6d7dae69066b5, \< 982422b11e6f95f766a8cd2c2b1cbdb77e234a61; Linux 6.16.

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

Yes. Fixed in Linux 097d62df38314c14b88fab9096f3461baf158e2b, Linux 982422b11e6f95f766a8cd2c2b1cbdb77e234a61. Upgrade Linux to 982422b11e6f95f766a8cd2c2b1cbdb77e234a61 or later.

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

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

- patch: <https://git.kernel.org/stable/c/097d62df38314c14b88fab9096f3461baf158e2b>
- patch: <https://git.kernel.org/stable/c/de9fec2a6645f5b4d23398cd870a33e2703728d9>
- patch: <https://git.kernel.org/stable/c/982422b11e6f95f766a8cd2c2b1cbdb77e234a61>

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

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