CVE-2026-80519: ovpn: finish crypto callback cleanup before peer release

Published Aug 26, 2026
·
Updated

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

ovpn: finish crypto callback cleanup before peer release

Crypto completion callbacks hold both key-slot and peer references. The peer reference pins the netdev, and dropping the last peer reference can let netdev unregistration and module removal make progress.

Do not release that peer reference before the callback has finished its own cleanup. If ovpncryptokeyslotput runs after ovpnpeerput, it can schedule an RCU callback backed by module text after ovpncleanup rcubarrier has already run. The TX error path also freed the remaining skb after ovpnpeerput, leaving callback cleanup outside the peer/netdev lifetime window.

Release the key slot and free any remaining skb first, then drop the peer reference as the last callback action.

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

Frequently Asked Questions

1

What conditions are needed to trigger the issue?

The issue is tied to ovpn crypto completion callbacks that hold key-slot and peer references. It can occur when the peer reference is released before callback cleanup, including the TX error path where an skb may be freed after ovpn_peer_put.

2

What is the practical impact of the incorrect cleanup order?

Dropping the last peer reference can allow netdev unregistration and module removal to proceed while callback cleanup remains pending. A later key-slot release can schedule an RCU callback backed by module text after ovpn_cleanup has already completed its rcu_barrier.

3

What does the fix change?

The fix completes key-slot release and frees any remaining skb before dropping the peer reference. The peer reference is made the final action in the callback so the peer and netdev remain alive through callback cleanup.

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