Skip to main content

Linux Kernel EUVDEUVD-2026-45618

| CVE-2026-64045 HIGH
NULL Pointer Dereference (CWE-476)
2026-07-19 Linux GHSA-xr5j-v9xh-823c
8.4
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Establish ovpn TCP socket on affected kernel
  2. Delivery
    Trigger peer removal via OVPN_CMD_DEL_PEER or keepalive
  3. Exploit
    Race userspace close of TCP fd
  4. Install
    Win window before sock freed
  5. C2
    Dereference stale sock->peer (use-after-free)
  6. Execute
    Corrupt kernel heap or crash
  7. Impact
    Escalate privileges or DoS

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target to be running the in-kernel ovpn (OpenVPN data channel offload) module (Linux 6.16 through the fixed versions) with an active OpenVPN tunnel using the TCP transport - the bug is in the TCP close path and does not apply to UDP or userspace OpenVPN. The attacker must control or observe an ovpn TCP socket and win a race: userspace closing the TCP fd must overlap the window where ovpn_socket_release() runs its kref_put -> synchronize_rcu -> kfree(sock) sequence, and the peer must be concurrently removed via keepalive expiration or the netlink OVPN_CMD_DEL_PEER command. Limiting factors: the attack vector is local (AV:L), success depends on winning a tight timing window making reliable exploitation difficult, deterministically triggering OVPN_CMD_DEL_PEER generally needs CAP_NET_ADMIN, and the vulnerable module is new so only very recent kernels configured for kernel-native OpenVPN TCP offload are exposed - default systems without the ovpn module loaded are not affected.

Impact

The supplied CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:N, C:H/I:H/A:H, base 8.4) marks this as local, low-complexity, unauthenticated with full impact, but that vector is internally questionable for a race-condition bug: winning a use-after-free race window is rarely 'low complexity,' so AC:H is more defensible, and PR:N is optimistic because an attacker must already control an established ovpn TCP socket and typically trigger a peer removal (netlink OVPN_CMD_DEL_PEER generally requires CAP_NET_ADMIN, or a keepalive expiration must be induced) - verify privilege model with the vendor. EPSS is low at 0.18% (7th percentile), the CVE is not on CISA KEV, and no POC is referenced, so there is no evidence of real-world exploitation. This is a genuine memory-safety defect worth patching, but its practical priority is tempered by three factors: it requires local access, it depends on winning a tight timing race, and the vulnerable ovpn DCO module only exists in very recent kernels (6.16+) and only matters when kernel-native OpenVPN offload over TCP is actually in use. The Tags field labels this 'Information Disclosure,' which conflicts with the CVSS I:H/A:H - a UAF can cause disclosure, corruption, or a crash, so treat the tag as incomplete rather than authoritative. Net assessment: patch on a normal cadence; this is not an emergency for most fleets given local vector, race dependency, and niche/new module footprint.

Exploit ScenarioDerived

A local attacker (or a compromised process on a VPN gateway using kernel OpenVPN DCO over TCP) opens an ovpn TCP connection and then, at the exact moment userspace closes the TCP file descriptor, forces a peer removal - either by triggering keepalive expiration or issuing netlink OVPN_CMD_DEL_PEER - so ovpn_socket_release() frees the ovpn_socket while ovpn_tcp_close() still dereferences the stale sock->peer. Repeatedly winning this narrow race yields a use-after-free that can crash the kernel or, with heap grooming, corrupt kernel memory for privilege escalation. No public POC is referenced, though the description notes a reproducer follows the pattern of the related commit 94560267d6c4.

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 offload (ovpn) TCP transport allows a local attacker to corrupt kernel memory by racing a TCP socket close against peer removal. The flaw lives in ovpn_tcp_close(), which caches a peer pointer under an RCU read lock but then escapes and dereferences sock->peer after the lock is dropped and without holding lock_sock(), so ovpn_socket_release() can free the socket concurrently. There is no public exploit identified at time of analysis and EPSS is low (0.18%), but the CVSS 8.4 rating reflects full high impact to confidentiality, integrity, and availability if the race is won. A vendor patch is available.

RemediationAI

Vendor-released patch: update to a fixed Linux kernel - 6.18.34, 7.0.11, or 7.1 (or later) - which route the hold check, ovpn_peer_del() call, and prot->close() invocation through the single cached peer local so sock->peer is read exactly once inside the RCU section. Apply the fix commits from kernel.org stable: https://git.kernel.org/stable/c/e5460eb7238c19d651a9b22b2378b587033a4095, https://git.kernel.org/stable/c/d3ef441907fca7c340979e577a3db3bb634bf166, and https://git.kernel.org/stable/c/775d8d7ad02aa345e1588424a6a8b9ae49fb9012, and consult https://nvd.nist.gov/vuln/detail/CVE-2026-64045. If you cannot patch immediately, the most effective compensating control is to avoid the kernel-native OpenVPN data channel offload over TCP: unload or blacklist the ovpn kernel module where it is not required, or run OpenVPN in userspace / use UDP transport instead of the in-kernel TCP path, which removes exposure to ovpn_tcp_close() at the cost of losing DCO performance for affected tunnels. Additionally restrict CAP_NET_ADMIN and netlink OVPN_CMD_DEL_PEER access to trusted management processes to reduce an attacker's ability to deterministically trigger the peer-removal side of the race, accepting that this narrows but does not eliminate the keepalive-expiration trigger path.

Affected VersionsENISA

Linux patch: 7.1
Linux patch: 6.18.34
Linux patch: 7.0.11
Linux 11851cbd60ea1e5abbd97619d69845ead99303d6 <e5460eb7238c19d651a9b22b2378b587033a4095
Linux 11851cbd60ea1e5abbd97619d69845ead99303d6 <d3ef441907fca7c340979e577a3db3bb634bf166
Linux 11851cbd60ea1e5abbd97619d69845ead99303d6 <775d8d7ad02aa345e1588424a6a8b9ae49fb9012
Linux 6.16
Linux patch: 0

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 affected component is the ovpn module - the kernel-native OpenVPN data channel offload (DCO) subsystem introduced in Linux 6.16 that moves OpenVPN's encrypted packet path into the kernel. The specific code is the TCP transport's close handler, ovpn_tcp_close(). It uses rcu_dereference_sk_user_data() under rcu_read_lock() to load the ovpn_socket, takes a reference on the peer, caches the peer in a local, then drops the RCU read lock - but subsequently re-dereferences sock->peer (the struct member) rather than the cached local for the hold check, the ovpn_peer_del() call, and the prot->close() invocation. The root cause class is a use-after-free / concurrency race (CWE-416 use-after-free driven by CWE-362 race condition; NVD lists CWE as N/A). Unlike ovpn_tcp_sendmsg(), which uses the same load-under-RCU-use-after-unlock pattern but is serialized by lock_sock() held across the function, ovpn_tcp_close() runs with no socket lock because inet_release() calls sk_prot->close() without first taking lock_sock. That leaves a window in which ovpn_socket_release()'s kref_put -> detach -> synchronize_rcu -> kfree(sock) sequence can free the ovpn_socket before the stale sock->peer member is read. The synchronize_rcu() only protects readers that stay inside the RCU read section, not those that escaped the pointer to a local. This is the close-side counterpart to the detach-side race fixed by commit 94560267d6c4. CPE data identifies the affected product as cpe:2.3:a:linux:linux:*.

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 8.4 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local UAF requiring an established ovpn TCP socket and a concurrent peer removal; the timing window makes AC:H and the setup/trigger requires local privilege, so PR:L, with full kernel-memory impact.

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
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 20, 2026 - 15:22 NVD
8.4 (HIGH)
Patch available
Jul 19, 2026 - 17:03 EUVD
CVE Published
Jul 19, 2026 - 15:39 cve.org
HIGH 8.4
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: tcp - use cached peer pointer in ovpn_tcp_close()

ovpn_tcp_close() loads the ovpn_socket via rcu_dereference_sk_user_data() under rcu_read_lock(), takes a reference on sock->peer, caches the peer pointer in a local, and drops the read lock. It then passes sock->peer (rather than the cached local) to ovpn_peer_del(), re-dereferencing the ovpn_socket after the RCU read section has ended.

Unlike ovpn_tcp_sendmsg(), which uses the same "load under RCU, use after unlock" pattern but is protected by lock_sock() held across the function, ovpn_tcp_close() runs without the socket lock: inet_release() invokes sk_prot->close() without taking lock_sock first.

ovpn_socket_release() can therefore complete its kref_put -> detach -> synchronize_rcu -> kfree(sock) sequence concurrently, in the window after ovpn_tcp_close() drops rcu_read_lock() but before it dereferences sock->peer. The synchronize_rcu() in ovpn_socket_release() protects readers that use the dereferenced pointer inside the RCU read section, not those that escape the pointer to a local and use it afterwards.

A reproducer follows the pattern of commit 94560267d6c4 ("ovpn: tcp - don't deref NULL sk_socket member after tcp_close()"): trigger a peer removal (keepalive expiration or netlink OVPN_CMD_DEL_PEER) at the same moment userspace closes the TCP fd. That commit fixed the detach-side of the same race window; this one fixes the close-side at a different victim.

Tighten the entry block to read sock->peer exactly once into the cached peer local, and route all subsequent uses (the hold check, the ovpn_peer_del() call, and the prot->close() invocation) through that local. sock->peer is only ever written once in ovpn_socket_new() under lock_sock(), before rcu_assign_sk_user_data() publishes the ovpn_socket, and is never reassigned afterwards - but the previous multi-read pattern made that invariant implicit rather than explicit. The same multi-read shape exists in ovpn_tcp_recvmsg(), ovpn_tcp_sendmsg(), ovpn_tcp_data_ready() and ovpn_tcp_write_space(); those will be cleaned up via a dedicated helper in a follow-up net-next series.

Executive ViewAI

Why It Matters

A use-after-free vulnerability in Linux kernel support for OpenVPN in-kernel TCP offloading (CVE-2026-64045, CVSS 8.4) could enable local system users to corrupt kernel memory and achieve complete system compromise, though no public exploit has been identified at time of analysis. While exploitation probability is currently low, successful attack would result in severe impact to confidentiality, integrity, and availability. Vendors have released patches and immediate deployment is critical for production systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
new in-kernel ovpn module (6.16+), niche OpenVPN TCP offload deployments only
Data Quality
6 sources
Confidence: High

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

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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