Skip to main content

Linux Kernel CVE-2026-45918

| EUVDEUVD-2026-32384 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-478p-qchq-q398
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Gain low-privilege local access
  2. Delivery
    Load/use ovpn module in TCP mode with keepalive
  3. Exploit
    Wait for peer keepalive expiry to trigger release-list insertion
  4. Install
    Simultaneously close TCP socket from userspace
  5. C2
    tcp_close() NULLs sk->sk_socket via sock_orphan()
  6. Execute
    ovpn_tcp_socket_detach() dereferences NULL pointer
  7. Impact
    Kernel crash (denial of service)

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

The ovpn kernel module must be loaded and actively managing at least one peer using TCP transport - not UDP, which is the more common default in OpenVPN deployments. Keepalive must be explicitly enabled on that peer, as the vulnerable code path is triggered exclusively by ovpn_peer_keepalive_work() moving the peer to the release list. The attacker must have the ability to close the TCP socket from userspace (requiring socket ownership or equivalent low-privilege local access) and must time this closure to race with the keepalive expiry release routine. The CVSS vector (PR:L) confirms low-privilege local access is required - remote or unauthenticated exploitation is not possible. Limiting factors: requires precise race-condition timing across two concurrent kernel paths; requires ovpn in TCP mode specifically (not UDP); requires keepalive to be enabled on the affected peer; and requires local system access. Systems using userspace OpenVPN (not the kernel ovpn module), ovpn in UDP mode, or ovpn without keepalive are not affected.

Impact

The NVD CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, score 5.5) assigns medium severity with local exploitation, low privilege requirement, and availability-only impact. The AC:L rating is worth scrutinizing - this is explicitly a race condition with a timing window, which commonly warrants AC:H; however, since the attacker controls both sides of the race (socket closure timing and keepalive expiry influence), AC:L is a defensible NVD choice. My independent assessment elevates to AC:H given the race condition requirement. EPSS at 0.02% (4th percentile) strongly signals no automated or widespread exploitation is occurring, consistent with the narrow deployment footprint of ovpn in TCP mode. The absence from CISA KEV confirms no confirmed active exploitation. The combination of local-only attack vector, specific module and transport-mode requirement, and deliberate timing dependency makes this a low-urgency maintenance fix for most organizations - unless running ovpn over TCP in multi-tenant or adversarial local environments where a malicious local user is a credible threat model. No conflicting signals detected between data sources.

Exploit ScenarioDerived

A local user with low privileges on a system running ovpn in TCP mode with keepalive configured waits for - or induces - a peer to approach keepalive expiry, placing it in the ovpn release list. The attacker simultaneously closes the associated TCP socket from userspace, causing tcp_close() → sock_orphan() to NULL out sk->sk_socket just as the ovpn release routine in ovpn_tcp_socket_detach() dereferences it to restore the original socket ops, producing a kernel NULL pointer dereference and system crash. No public proof-of-concept exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 24, 2026

NULL pointer dereference in the Linux kernel's ovpn (in-kernel OpenVPN) TCP socket handling causes a local denial of service via kernel crash. The race condition - between keepalive-driven peer release and concurrent userspace socket closure via tcp_close() - allows a low-privileged local user to trigger a kernel crash when ovpn attempts to dereference a NULL sk->sk_socket pointer during socket detachment. No public exploit has been identified and EPSS stands at 0.02% (4th percentile), reflecting narrow real-world exploitability constrained by the specific configuration and timing required.

RemediationAI

Upgrade to a patched kernel version: Linux 6.18.14, 6.19.4, or 7.0, which correspond to fix commits 94560267d6c41b1ff3fafbab726e3f8a55a6af34, b9142cf4e066c825ec68752a7dcaceda700bbe26, and f998b2c4bec487063a586695159f9a1856e81c56 respectively at https://git.kernel.org/stable/c/. If an immediate kernel upgrade is not feasible, switching ovpn tunnels from TCP to UDP transport sidesteps the vulnerable tcp_close() code path entirely - note this changes transport-layer behavior and may affect firewall/NAT traversal in environments that block UDP. A second workaround is disabling keepalive on ovpn peers, which prevents the ovpn_peer_keepalive_work() path from running concurrently with socket closure, though this reduces dead-peer detection capability and may cause stale tunnel entries. No patch has been confirmed for the Linux 6.16 stable branch specifically per available data - users on that branch should migrate to a patched stable series (6.18.14+). Advisory references: https://nvd.nist.gov/vuln/detail/CVE-2026-45918.

Affected VersionsENISA

Linux 11851cbd60ea1e5abbd97619d69845ead99303d6 <94560267d6c41b1ff3fafbab726e3f8a55a6af34
Linux patch: 6.19.4
Linux 11851cbd60ea1e5abbd97619d69845ead99303d6 <b9142cf4e066c825ec68752a7dcaceda700bbe26
Linux patch: 7.0
Linux patch: 6.18.14
Linux patch: 0
Linux 6.16
Linux 11851cbd60ea1e5abbd97619d69845ead99303d6 <f998b2c4bec487063a586695159f9a1856e81c56

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 Linux kernel's ovpn module implements the OpenVPN data channel natively in kernel space, supporting both UDP and TCP transports. This vulnerability (CWE-476: NULL Pointer Dereference) arises in the TCP socket handling path - specifically ovpn_tcp_socket_detach() - during peer cleanup triggered by keepalive expiration. The race window opens across two concurrent code paths: the ovpn keepalive worker (ovpn_peer_keepalive_work()) moves a peer to a release list and later attempts to restore the socket's original proto and socket ops/callbacks, while simultaneously a userspace call to tcp_close() → __tcp_close() → sock_orphan() sets sk->sk_socket to NULL via sk_set_socket(). Without atomic protection around the access to sk->sk_socket, the release routine dereferences a NULL pointer and crashes. The upstream fix serializes access to sk->sk_socket under sk->sk_callback_lock, eliminating the race. Affected CPE: cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* from commit 11851cbd60ea1e5abbd97619d69845ead99303d6 onward across three stable branches.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.7 MEDIUM

Race condition timing requirement justifies AC:H over NVD's AC:L; local low-privilege access required; impact is availability-only via kernel crash, no confidentiality or integrity loss.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Jun 24, 2026 - 17:38 NVD
5.5 (MEDIUM)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
MEDIUM 5.5
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

ovpn: tcp - don't deref NULL sk_socket member after tcp_close()

When deleting a peer in case of keepalive expiration, the peer is removed from the OpenVPN hashtable and is temporary inserted in a "release list" for further processing.

This happens in: ovpn_peer_keepalive_work() unlock_ovpn(release_list)

This processing includes detaching from the socket being used to talk to this peer, by restoring its original proto and socket ops/callbacks.

In case of TCP it may happen that, while the peer is sitting in the release list, userspace decides to close the socket. This will result in a concurrent execution of:

tcp_close(sk) __tcp_close(sk) sock_orphan(sk) sk_set_socket(sk, NULL)

The last function call will set sk->sk_socket to NULL.

When the releasing routine is resumed, ovpn_tcp_socket_detach() will attempt to dereference sk->sk_socket to restore its original ops member. This operation will crash due to sk->sk_socket being NULL.

Fix this race condition by testing-and-accessing sk->sk_socket atomically under sk->sk_callback_lock.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Prevalence
Ubiquitous
Linux kernel underpins the vast majority of server, cloud, and embedded deployments
Data Quality
4 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

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