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

ovpn: run deferred work on a module-owned workqueue

ovpn queues several work items whose callbacks execute module text.
These works currently run on the global system workqueues, so module
exit has no driver-owned drain point that guarantees the callbacks have
fully returned before the module text can be freed.

Object references protect the objects used by the callbacks, but they do
not prove that a workqueue function has returned. In particular, a
worker can drop the final reference that unblocks device teardown while
it is still executing ovpn code.

Add a module-owned workqueue and queue all ovpn work items on it. During
module exit, unregister rtnl and netlink first, flush the workqueue so
ordinary ovpn workers finish, run the final RCU barrier, and destroy the
workqueue last. This keeps the workqueue available for cleanup work
queued from RCU callbacks, while ensuring no ovpn work item can outlive
the module text.

The per-device delayed keepalive work remains explicitly disabled during
netdev teardown (disable_delayed_work_sync in ndo_uninit), since
flush_workqueue does not flush delayed work that is still only pending
on its timer.
Published: 2026-09-03
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: Use-After-Free
Action: Patch Upgrade
AI Analysis

Impact

The vulnerability arises from the OVPN module in the Linux kernel queuing work items on global workqueues that run callbacks referencing module code. During module unload, the kernel does not wait for these callbacks to finish, allowing the module’s text to be freed while a worker is still executing code. This results in a use‑after‑free condition inside the kernel that could lead to arbitrary kernel code execution or system crash. The weakness is a classic use‑after‑free (CWE‑416).

Affected Systems

All Linux kernel distributions that ship the OVPN module and have not applied the patch that moves OVPN work onto a module‑owned workqueue are affected. The advisory does not specify a kernel version range, so any system with the OVPN module loaded and dynamic module unloading enabled is potentially at risk. The issue affects only the kernel; user‑space applications are not directly impacted beyond their interaction with the kernel.

Risk and Exploitability

The EPSS score of < 1 % and the absence of a KEV listing suggest that the vulnerability is not widely exploited at present. The CVSS score of 8.4 indicates substantial potential impact if an attacker can trigger it. The likely attack vector is a local user with sufficient privileges to unload kernel modules or an attacker who can influence module load/unload events through compromised scripts or services. It is inferred that an attacker would need to force the module to be unloaded while workers are pending, which may require administrative rights, making this risk moderate to low in typical production environments but higher in systems that allow frequent or automated module unloads.

Generated by OpenCVE AI on September 4, 2026 at 10:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that incorporates the patch moving OVPN work onto a module‑owned workqueue.
  • Configure the kernel to disallow or log module unloading for non‑privileged users, restricting the unload privilege to root or system administrators.
  • Enable module unload auditing and set up alerts for OVPN module deletions to detect accidental or malicious unload events.
  • If a kernel upgrade cannot be performed immediately, consider disabling the OVPN module entirely on systems that do not require it.

Generated by OpenCVE AI on September 4, 2026 at 10:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 07 Sep 2026 16:00:00 +0000


Fri, 04 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 04 Sep 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 04 Sep 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Thu, 03 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 03 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ovpn: run deferred work on a module-owned workqueue ovpn queues several work items whose callbacks execute module text. These works currently run on the global system workqueues, so module exit has no driver-owned drain point that guarantees the callbacks have fully returned before the module text can be freed. Object references protect the objects used by the callbacks, but they do not prove that a workqueue function has returned. In particular, a worker can drop the final reference that unblocks device teardown while it is still executing ovpn code. Add a module-owned workqueue and queue all ovpn work items on it. During module exit, unregister rtnl and netlink first, flush the workqueue so ordinary ovpn workers finish, run the final RCU barrier, and destroy the workqueue last. This keeps the workqueue available for cleanup work queued from RCU callbacks, while ensuring no ovpn work item can outlive the module text. The per-device delayed keepalive work remains explicitly disabled during netdev teardown (disable_delayed_work_sync in ndo_uninit), since flush_workqueue does not flush delayed work that is still only pending on its timer.
Title ovpn: run deferred work on a module-owned workqueue
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-09-07T15:45:09.288Z

Reserved: 2026-08-26T14:34:25.790Z

Link: CVE-2026-80753

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-03T13:06:15.010

Modified: 2026-09-07T16:17:30.097

Link: CVE-2026-80753

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T10:30:17Z

Weaknesses