Skip to main content

Linux Kernel CVE-2026-64044

| EUVDEUVD-2026-45617 HIGH
2026-07-19 Linux GHSA-52jg-m8r4-36g9
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local access with CAP_NET_ADMIN
  2. Delivery
    Open ovpn TCP peer fd
  3. Exploit
    Block recvmsg holding peer reference
  4. Install
    Trigger CMD_NEW_PEER error path
  5. C2
    Free peer while referenced (UAF)
  6. Execute
    Groom freed kernel object
  7. Impact
    Execute code / crash kernel

Vulnerability Assessment

Exploitation Conditions

Requires local access on a host where the in-kernel ovpn module is loaded and actively serving at least one peer over TCP transport (the UDP path is not vulnerable, per the description). The attacker must hold the privilege to manage ovpn peers via netlink (CMD_NEW_PEER, i.e. CAP_NET_ADMIN, matching CVSS PR:L) and must win a race: a userspace TCP syscall caller - notably an ovpn_tcp_recvmsg() blocked in __skb_recv_datagram() on peer->tcp.user_queue - must be holding a peer reference at the exact moment the CMD_NEW_PEER error path runs. Limiting factors: local-only vector (no remote/network reachability), the CAP_NET_ADMIN privilege requirement, the non-default and new (kernel 6.16+) ovpn-over-TCP deployment, and the narrow timing window inherent to the race make opportunistic exploitation unlikely.

Impact

The CVSS vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (7.8, High) indicates a local attacker with low privileges and no user interaction, yielding full C/I/A impact - consistent with a kernel use-after-free that can escalate to arbitrary code execution or crash. However, real-world exploitability is constrained by conditions the base score understates: exploitation requires the ovpn module to be in use with a TCP-mode peer and a precise race between the CMD_NEW_PEER error path and a concurrent in-flight TCP syscall caller - practically an AC:H race, so I assess complexity higher than the input's AC:L. EPSS is low (0.21%, 11th percentile), there is no KEV listing and no public exploit identified, and the ovpn module is very new (6.16+), all of which point to low near-term mass-exploitation risk. The PR:L rating is credible because creating peers via netlink requires CAP_NET_ADMIN, so this is an operator/config-privileged local flaw rather than a remote or unauthenticated one - the 'Authentication Bypass' tag conflicts with the CVSS PR:L and the description and should be disregarded. Net: a legitimate memory-safety bug worth patching on any host running in-kernel OpenVPN over TCP, but not an emergency for the general fleet given local-only access, privilege requirement, race window, and low EPSS.

Exploit ScenarioDerived

A local user with CAP_NET_ADMIN on a host running in-kernel OpenVPN over TCP opens a TCP peer fd and issues a blocking recvmsg that parks in __skb_recv_datagram() holding a peer reference, then races a CMD_NEW_PEER netlink call that fails in ovpn_nl_peer_modify()/ovpn_peer_add(); the error path frees the peer while the recvmsg caller still holds it, producing a use-after-free the attacker grooms into kernel code execution or a crash. No public proof-of-concept is currently identified, and the local, race-dependent nature (AV:L, effectively AC:H) makes reliable exploitation non-trivial.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 20, 2026

Use-after-free in the Linux kernel's in-kernel OpenVPN data-channel module (ovpn) lets a local operator who can create VPN peers over TCP trigger memory corruption when the CMD_NEW_PEER netlink command hits its error path. The flaw affects kernels from 6.16 onward and stems from the error path calling the peer destructor directly instead of dropping the kref, so a concurrent TCP syscall caller (e.g. a recvmsg blocked on the peer's queue) can operate on freed memory. No public exploit identified at time of analysis; EPSS is low (0.21%) and it is not in CISA KEV, but the CVSS 7.8 reflects high confidentiality/integrity/availability impact from local memory corruption.

RemediationAI

Vendor-released patch: update to a fixed stable kernel - 6.18.34, 7.0.11, or 7.1, or apply the upstream fix commits (8298834912d7, 0c3ef71879c0, 1fef6614673f) which replace the direct ovpn_peer_release() call with ovpn_peer_put() so the kref defers destruction until the last reference drops. If you cannot patch immediately, the most effective compensating control is to avoid TCP transport for in-kernel OpenVPN peers (the bug does not manifest on the UDP path, per the description), i.e. run ovpn peers over UDP where operationally acceptable - the trade-off is losing TCP fallback for networks that block UDP. Alternatively, unload or disable the ovpn kernel module on hosts that do not need in-kernel OpenVPN, and restrict CAP_NET_ADMIN / netlink peer-management access to trusted operators only, accepting that this limits legitimate VPN administration on the host. Track the advisory at https://nvd.nist.gov/vuln/detail/CVE-2026-64044 and the git.kernel.org stable commits for backport availability to your distro kernel.

Affected VersionsENISA

Linux patch: 0
Linux 11851cbd60ea1e5abbd97619d69845ead99303d6 <0c3ef71879c0264de6c42463031d9e057da87840
Linux patch: 6.18.34
Linux 6.16
Linux patch: 7.1
Linux patch: 7.0.11
Linux 11851cbd60ea1e5abbd97619d69845ead99303d6 <1fef6614673ff0846d30acdeeaf3cf98bb5f6116
Linux 11851cbd60ea1e5abbd97619d69845ead99303d6 <8298834912d76dbc82c12b6b4ab7590ed2bb8ae5

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in ovpn, the native in-kernel OpenVPN transport introduced in Linux 6.16 (net/ovpn), which manages VPN peers referenced through a kref (kernel reference counter). In ovpn_nl_peer_new_doit(), the error path called ovpn_peer_release() directly on the assumption - noted in a code comment - that a not-yet-hashed peer is unreachable. That assumption holds for UDP, where the ovpn_socket union never points back to a peer and encap_recv resolves peers only via the not-yet-populated hashtables. It fails for TCP: ovpn_socket_new() sets ovpn_sock->peer and ovpn_tcp_socket_attach() publishes the socket via rcu_assign_sk_user_data(), so from that point the TCP fd is fully wired and userspace recvmsg/sendmsg/close/poll and the strparser-driven ovpn_tcp_rcv() path can reach the peer through sk_user_data and bump its refcount via ovpn_peer_hold(). The root cause is a classic reference-counting error leading to use-after-free (CWE-416 / CWE-911 class), because ovpn_tcp_socket_wait_finish() drains strparser and tx work but does not synchronize with in-flight userspace syscall callers already holding a reference. The affected product per CPE is cpe:2.3:a:linux:linux, i.e. the mainline Linux kernel; note the input CWE is listed as N/A and the 'Authentication Bypass' tag appears to be a mis-tag - the actual defect is a memory-safety/UAF issue, not an auth bypass.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local access with CAP_NET_ADMIN gives PR:L; success depends on winning a narrow TCP-caller race so AC:H; kernel UAF enables full C/I/A compromise.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 20, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Jul 19, 2026 - 17:03 EUVD
CVE Published
Jul 19, 2026 - 15:39 cve.org
HIGH 7.8
CVE Published
Jul 19, 2026 - 15:39 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A memory corruption vulnerability in Linux kernel OpenVPN components (CVE-2026-64044) affects systems running kernel 6.16 and later, with no public exploit identified at time of analysis. Local system users could trigger memory corruption, risking service disruption or privilege escalation. Organizations running these kernel versions should apply the available patch to maintain service stability and access controls.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
ovpn in-kernel OpenVPN module is new (6.16+), niche deployment despite ubiquitous kernel
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy