Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-64044

published high CVSS 3.1 · 7.8

ovpn: respect peer refcount in CMD_NEW_PEER error path

Published
19 Jul 2026, 15:39:29 UTC
Updated
05 Aug 2026, 12:38:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux11851cbd60ea1e5abbd97619d69845ead99303d6 to < 8298834912d76dbc82c12b6b4ab7590ed2bb8ae5 · 11851cbd60ea1e5abbd97619d69845ead99303d6 to < 0c3ef71879c0264de6c42463031d9e057da87840 · 11851cbd60ea1e5abbd97619d69845ead99303d6 to < 1fef6614673ff0846d30acdeeaf3cf98bb5f6116 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.18.34 through 6.18.* (unaffected · semver) · 7.0.11 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1881 Fixed Not stated Amazon Linux assessment
Ubuntu noble linux-azure-7.0 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-azure-7.0-cloud-tools-7.0.0-1014 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-azure-7.0-headers-7.0.0-1014 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-azure-7.0-tools-7.0.0-1014 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-buildinfo-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-buildinfo-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-buildinfo-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-buildinfo-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-buildinfo-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-buildinfo-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-buildinfo-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-cloud-tools-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-gcp-7.0 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-gcp-7.0-headers-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-gcp-7.0-tools-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-headers-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-headers-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-headers-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-headers-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-headers-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-headers-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-headers-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-image-unsigned-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-image-unsigned-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-image-unsigned-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-image-unsigned-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-image-unsigned-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-image-unsigned-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-image-unsigned-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-modules-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-modules-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-modules-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-modules-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-modules-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-modules-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-modules-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-modules-nvidia-fs-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-modules-nvidia-fs-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-nvidia-7.0 Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-nvidia-7.0-headers-7.0.0-1016 Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-nvidia-7.0-tools-7.0.0-1016 Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-oracle-7.0 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-oracle-7.0-headers-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-oracle-7.0-tools-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-tools-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-tools-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-tools-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-tools-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-tools-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-tools-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-tools-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu resolute linux-aws Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-aws-cloud-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-aws-headers-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-aws-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-cloud-tools-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-fde-cloud-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-fde-headers-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-fde-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-headers-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-tools-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-buildinfo-7.0.0-1008-oracle Advisory build 7.0.0-1008.8 USN-8593-1
Ubuntu resolute linux-buildinfo-7.0.0-1008-oracle-64k Advisory build 7.0.0-1008.8 USN-8593-1
Ubuntu resolute linux-buildinfo-7.0.0-1009-aws Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-buildinfo-7.0.0-1009-aws-64k Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-buildinfo-7.0.0-1009-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-buildinfo-7.0.0-1010-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-buildinfo-7.0.0-1010-ibm Advisory build 7.0.0-1010.10 USN-8593-1
Ubuntu resolute linux-buildinfo-7.0.0-1015-raspi Advisory build 7.0.0-1015.15 USN-8618-1
Ubuntu resolute linux-buildinfo-7.0.0-1015-raspi-realtime Advisory build 7.0.0-1015.15 USN-8618-1
Ubuntu resolute linux-buildinfo-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16 USN-8663-1
Ubuntu resolute linux-buildinfo-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16 USN-8663-1
Ubuntu resolute linux-buildinfo-7.0.0-2016-nvidia-bos Advisory build 7.0.0-2016.16 USN-8664-1
Ubuntu resolute linux-buildinfo-7.0.0-2016-nvidia-bos-64k Advisory build 7.0.0-2016.16 USN-8664-1
Ubuntu resolute linux-cloud-tools-7.0.0-1009-aws Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-cloud-tools-7.0.0-1009-aws-64k Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-cloud-tools-7.0.0-1009-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-cloud-tools-7.0.0-1010-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-headers-7.0.0-1008-oracle Advisory build 7.0.0-1008.8 USN-8593-1
Ubuntu resolute linux-headers-7.0.0-1008-oracle-64k Advisory build 7.0.0-1008.8 USN-8593-1
Ubuntu resolute linux-headers-7.0.0-1009-aws Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-headers-7.0.0-1009-aws-64k Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-headers-7.0.0-1009-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-headers-7.0.0-1010-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-headers-7.0.0-1010-ibm Advisory build 7.0.0-1010.10 USN-8593-1
Ubuntu resolute linux-headers-7.0.0-1015-raspi Advisory build 7.0.0-1015.15 USN-8618-1
Ubuntu resolute linux-headers-7.0.0-1015-raspi-realtime Advisory build 7.0.0-1015.15 USN-8618-1
Ubuntu resolute linux-headers-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16 USN-8663-1
Ubuntu resolute linux-headers-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16 USN-8663-1
Ubuntu resolute linux-headers-7.0.0-2016-nvidia-bos Advisory build 7.0.0-2016.16 USN-8664-1
Ubuntu resolute linux-headers-7.0.0-2016-nvidia-bos-64k Advisory build 7.0.0-2016.16 USN-8664-1
Ubuntu resolute linux-ibm Advisory build 7.0.0-1010.10 USN-8593-1
Ubuntu resolute linux-ibm-headers-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8593-1
Ubuntu resolute linux-ibm-tools-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8593-1
Ubuntu resolute linux-image-7.0.0-1015-raspi Advisory build 7.0.0-1015.15 USN-8618-1
Ubuntu resolute linux-image-7.0.0-1015-raspi-realtime Advisory build 7.0.0-1015.15 USN-8618-1
Ubuntu resolute linux-image-unsigned-7.0.0-1008-oracle Advisory build 7.0.0-1008.8 USN-8593-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: ovpn: respect peer refcount in CMD_NEW_PEER error path ovpn_nl_peer_new_doit()'s error path calls ovpn_peer_release() directly rather than ovpn_peer_put(), bypassing the kref. The accompanying comment ("peer was not yet hashed, thus it is not used in any context") holds for UDP but not for TCP. For UDP, the ovpn_socket union uses the .ovpn arm and never points back at a peer; UDP encap_recv looks up peers via the not-yet-populated hashtables, so the new peer is unreachable until ovpn_peer_add() publishes it. For TCP, ovpn_socket_new() sets ovpn_sock->peer and ovpn_tcp_socket_attach() publishes ovpn_sock via rcu_assign_sk_user_data(). From that moment until ovpn_socket_release() detaches in the error path, the TCP fd is fully wired: userspace recvmsg / sendmsg / close / poll on the fd, as well as the strparser-driven ovpn_tcp_rcv() path, can reach the peer through sk_user_data -> ovpn_sock->peer and bump its refcount via ovpn_peer_hold(). ovpn_tcp_socket_wait_finish() (called inside ovpn_socket_release()) drains strparser and the tx work, but does not synchronize with userspace syscall callers that already hold a peer reference. If ovpn_nl_peer_modify() or ovpn_peer_add() returns an error while such a caller is in flight - notably an ovpn_tcp_recvmsg() blocked in __skb_recv_datagram() on peer->tcp.user_queue - the direct ovpn_peer_release() destroys the peer while the caller still holds the reference, and the eventual ovpn_peer_put() from that caller operates on freed memory. Replace the direct destructor call with ovpn_peer_put() so the kref correctly defers destruction until the last reference is dropped. In the common case where no concurrent user is present, behaviour is unchanged: the kref hits zero immediately and ovpn_peer_release_kref() runs the same destructor. With this conversion ovpn_peer_release() has no callers outside peer.c - ovpn_peer_release_kref() in the same translation unit is the only remaining user - so make it static and drop its declaration from peer.h.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

10

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is triggered from the OVPN_CMD_PEER_NEW genetlink handler reached only via local netlink syscalls; remote TCP data can participate in the race but cannot alone reach the premature ovpn_peer_release() error path. AC:L - Exploitation requires a race between a failing CMD_NEW_PEER netlink message and a concurrent local holder of a peer reference, and the attacker controls both sides by blocking recvmsg on the TCP fd while issuing the failing netlink command. PR:L - All OVPN genetlink operations require GENL_ADMIN_PERM (CAP_NET_ADMIN), and creating the ovpn interface requires the same capability, which an unprivileged user can obtain inside a user namespace. UI:N - No victim interaction is required; the attacker configures the ovpn interface, TCP socket, and concurrent threads themselves to trigger the error-path UAF. S:U - The UAF corrupts kernel heap memory and enables standard kernel privilege escalation within the same security authority, not a cross-boundary escape such as guest-to-host or IOMMU bypass. C:H - Use-after-free of struct ovpn_peer allows an attacker to read freed slab memory and obtain arbitrary kernel memory disclosure primitives. I:H - Use-after-free of struct ovpn_peer enables heap grooming and control of freed object contents, providing a path to arbitrary kernel memory writes and code execution. A:H - The UAF causes ovpn_peer_put() to operate on freed memory, which can trigger kernel oops, panic, or crash during reference decrements on corrupted kref state.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 11851cbd60ea1e5abbd97619d69845ead99303d6 to < 8298834912d76dbc82c12b6b4ab7590ed2bb8ae5 (affected · git)11851cbd60ea1e5abbd97619d69845ead99303d6 to < 0c3ef71879c0264de6c42463031d9e057da87840 (affected · git)11851cbd60ea1e5abbd97619d69845ead99303d6 to < 1fef6614673ff0846d30acdeeaf3cf98bb5f6116 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.16 (affected)0 to < 6.16 (unaffected · semver)6.18.34 through 6.18.* (unaffected · semver)7.0.11 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

ovpn: respect peer refcount in CMD_NEW_PEER error path

Provenance

Schema
5.2
Searchable
yes
Content hash
0396d221d99440884f7b3cdc55660fff946b9089ffe1fa88c9256d39d78a0249
Ingested
23 Sep 2026, 09:25:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected