CVE-2026-64043

Source
https://cve.org/CVERecord?id=CVE-2026-64043
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64043.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-64043
Downstream
Published
2026-07-19T15:39:29.225Z
Modified
2026-07-21T03:47:47.719290496Z
Summary
ovpn: fix race between deleting interface and adding new peer
Details

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 ovpndellink(), when all existing peers are freed and the device is queued for deregistration, but a CMDPEER_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 ovpnpeeradd() has now an extra check that forces the function to bail out if the device regstate is not REGISTERED. This way any incoming CMDPEER_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64043.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
80747caef33d77f5c1b3d24644e6d7dae69066b5
Fixed
097d62df38314c14b88fab9096f3461baf158e2b
Fixed
de9fec2a6645f5b4d23398cd870a33e2703728d9
Fixed
982422b11e6f95f766a8cd2c2b1cbdb77e234a61

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64043.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.18.34
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64043.json"