CVE-2026-64043CWE-362

CVE-2026-64043

Medium · published July 19, 2026

CVSS v3.1
4.7
EPSS
0%
Percentile
1.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00105 · 1.0th percentile
Weakness
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Published
2026-07-19T20:17Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 6.16, < 6.18.346.18.34
linux/linux_kernel≥ 6.19, < 7.0.117.0.11
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 19 JUL 15:39Z
    ovpn: fix race between deleting interface and adding new peer
    cvelistv5