CVE-2026-80520

ovpn: fix NULL dereference when killing missing key

Published Aug 26, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ovpn: fix NULL dereference when killing missing key

ovpn_crypto_kill_key assumes both crypto slots are populated and
dereferences each slot before checking it. That is not guaranteed: a
peer can have only one installed key, and the kill path may be asked to
remove a key that is not present.

Read each slot once while holding the crypto state lock, check for NULL
before looking at key_id, and only replace the slot that actually
matches.

Analysis

AI-generated

Technical impact

In the Linux kernel’s OpenVPN (ovpn) implementation, the function that removes cryptographic keys assumes that both crypto slots are populated and dereferences each slot before verifying it is non‑NULL. If a peer has only one installed key and a removal request targets a missing key, the function dereferences a null pointer. Based on the description, this null dereference is likely to cause a kernel crash, resulting in a denial of service. This conclusion is inferred from the stated dereference behavior, as the description does not explicitly confirm a crash. Nonetheless, the severity of a kernel crash aligns with a denial of service impact.

Affected Systems

Any system running a Linux kernel that includes the unpatched OpenVPN module is affected. The specific kernel versions are not enumerated in the input; however, any kernel containing the ovpn_crypto_kill_key logic before the patch commits referenced (41d44ac7a61e2f74453af40d4fe1b82af9ea0ada, a47a080d06ee9d94dc6a2da0fc2b9beeeedb92b3, or acf32a5dff082044cf0fd9492f3c10b7357c15ee) is at risk. The affected product is the Linux kernel as a whole, with the OpenVPN module as the vulnerable component.

Risk and Exploitability

The CVSS score is 7.5, indicating a high‑severity impact. The EPSS score is not provided, and the issue is not listed in CISA’s KEV catalog, suggesting that documented exploitation is limited. Based on the description, the exploit path is inferred to be a remote attack through the OpenVPN control interface, where a malicious peer can trigger the key removal routine to cause a kernel panic.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the patch to ovpn_crypto_kill_key or backport the relevant commit from the Linux kernel source.
  • Rebuild and install the updated kernel, then reboot the system into the patched version.
  • If patching cannot be performed immediately, configure OpenVPN to disable or restrict the key removal functionality until the kernel is updated.

Generated by OpenCVE AI on August 27, 2026 at 11:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ovpn: fix NULL dereference when killing missing key ovpn_crypto_kill_key assumes both crypto slots are populated and dereferences each slot before checking it. That is not guaranteed: a peer can have only one installed key, and the kill path may be asked to remove a key that is not present. Read each slot once while holding the crypto state lock, check for NULL before looking at key_id, and only replace the slot that actually matches.
Title ovpn: fix NULL dereference when killing missing key
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 27, 2026, 5:01 AM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Aug 26, 2026, 3:17 PM
Modified
Aug 27, 2026, 6:17 AM
Severity
Moderate
Public date
Aug 26, 2026, 12:00 AM