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

ovpn: fix possible use-after-free in ovpn_net_xmit

When building the skb_list in ovpn_net_xmit, skb_share_check will free
the original skb if it is shared. The current implementation continues
to use the stale skb pointer for subsequent operations:
- peer lookup,
- skb_dst_drop (even though all segments produced by skb_gso_segment
will have a dst attached),
- ovpn_peer_stats_increment_tx.

Fix this by moving the peer lookup and skb_dst_drop before segmentation
so that the original skb is still valid when used. Return early if all
segments fail skb_share_check and the list ends up empty.
Also switch ovpn_peer_stats_increment_tx to use skb_list.next; the next
patch fixes the stats logic.
Published: 2026-05-27
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A use‑after‑free flaw exists in the Linux kernel’s OpenVPN packet handling code. When ovpn_net_xmit builds a socket‑buffer list, skb_share_check may free a shared buffer while the code continues to use the stale pointer for peer lookup, destination dropping, and statistics updates. The resulting kernel memory corruption can lead to kernel‑level compromise; while the official description does not detail a specific exploitation method, it is inferred that an attacker could potentially trigger this corruption by crafting malformed OpenVPN packets.

Affected Systems

All Linux kernel builds that do not contain the patch introduced in commit 3e4fbcb4e078915367ba5576cd70d76dbc970f95 are affected. Any distribution running an unpatched kernel with the OpenVPN module is potentially vulnerable whenever it accepts OpenVPN traffic over the kernel networking stack.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity, but the EPSS score is below 1 % and the vulnerability is not in CISA’s KEV catalog, suggesting limited public exploitation. The possibility of exploitation via crafted OpenVPN packets is inferred from the code behavior; no confirmed public exploits exist. Timely remediation is advised to prevent possible kernel‑level compromise.

Generated by OpenCVE AI on May 30, 2026 at 13:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the fix from commit 3e4fbcb4e078915367ba5576cd70d76dbc970f95 or later, which addresses the CWE‑825 use‑after‑free flaw.
  • If an update cannot be applied immediately, block or restrict incoming OpenVPN traffic until a patched kernel is installed.
  • Continuously monitor kernel logs for panics or abnormal behavior that may indicate exploitation attempts.

Generated by OpenCVE AI on May 30, 2026 at 13:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 30 May 2026 11:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 28 May 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 28 May 2026 12:15:00 +0000


Wed, 27 May 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ovpn: fix possible use-after-free in ovpn_net_xmit When building the skb_list in ovpn_net_xmit, skb_share_check will free the original skb if it is shared. The current implementation continues to use the stale skb pointer for subsequent operations: - peer lookup, - skb_dst_drop (even though all segments produced by skb_gso_segment will have a dst attached), - ovpn_peer_stats_increment_tx. Fix this by moving the peer lookup and skb_dst_drop before segmentation so that the original skb is still valid when used. Return early if all segments fail skb_share_check and the list ends up empty. Also switch ovpn_peer_stats_increment_tx to use skb_list.next; the next patch fixes the stats logic.
Title ovpn: fix possible use-after-free in ovpn_net_xmit
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-30T10:45:55.720Z

Reserved: 2026-05-13T15:03:33.086Z

Link: CVE-2026-45929

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:17:08.833

Modified: 2026-05-30T11:17:15.860

Link: CVE-2026-45929

cve-icon Redhat

Severity :

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-45929 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-30T13:15:24Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference