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.
Published: 2026-08-26
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 not publicly available, but the vulnerability’s potential to crash the kernel indicates 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.

Generated by OpenCVE AI on August 26, 2026 at 17:37 UTC.

Remediation

No vendor fix or workaround currently provided.

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 26, 2026 at 17:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Wed, 26 Aug 2026 14:45:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-26T14:37:01.983Z

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

Link: CVE-2026-80520

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:17:05.553

Modified: 2026-08-26T15:17:05.553

Link: CVE-2026-80520

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T17:45:03Z

Weaknesses