CVE-2026-80520: ovpn: fix NULL dereference when killing missing key

Published Aug 26, 2026
·
Updated

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

ovpn: fix NULL dereference when killing missing key

ovpncryptokillkey 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 keyid, and only replace the slot that actually matches.

Affected Software

1 affected component
Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update the Linux kernel ovpn code so ovpn_crypto_kill_key reads each crypto slot once while holding the crypto state lock, checks for NULL before reading key_id (or other fields), and only replaces the slot that matches the key being killed; this prevents NULL dereference when the kill path is asked to remove a key that is not present.

    Linux kernel (ovpn: fix NULL dereference when killing missing key) ovpn_crypto_kill_key null checking behavior = Implement NULL dereference prevention by checking for NULL before dereferencing crypto slots and only replacing the slot that actually matches (read each slot once while holding the crypto state lock).

Event History

Aug 26, 2026
CVE Published
via MITRE·02:37 PM
Data Sourced
via MITRE·02:37 PM
Description
Data Sourced
via NVD·03:17 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203