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

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-08-26T14:37:01.383Z
- Modified: 2026-08-27T06:17:30.167Z
- Assigned by: Linux

## Description

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 ovpn_crypto_key_slot_put runs after ovpn_peer_put, it can
schedule an RCU callback backed by module text after ovpn_cleanup
rcu_barrier has already run. The TX error path also freed the remaining
skb after ovpn_peer_put, 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8534731dbf2d52a539b94defd06d2a8d3514aacb before a3a676495c6419e0cca04d6a67227604e92a3d5a; from 8534731dbf2d52a539b94defd06d2a8d3514aacb before 4b0de8be288f5fbec5d8ee64ed4e8b14bf19b517; from 8534731dbf2d52a539b94defd06d2a8d3514aacb before 9e163917a86c6adfbe150e13f4c73653a54616de; 6.16 (not affected: before 6.16; from 6.18.46 up to 6.18.*; from 7.1.10 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/a3a676495c6419e0cca04d6a67227604e92a3d5a>
- <https://git.kernel.org/stable/c/4b0de8be288f5fbec5d8ee64ed4e8b14bf19b517>
- <https://git.kernel.org/stable/c/9e163917a86c6adfbe150e13f4c73653a54616de>

## Sources

- CVE List: [CVE-2026-80519](https://www.cve.org/CVERecord?id=CVE-2026-80519), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-80519](https://nvd.nist.gov/vuln/detail/CVE-2026-80519), Public domain, modified 2026-08-27

---

Page: https://cve.day/CVE-2026-80519 · Whole record: https://cve.day/CVE-2026-80519.json · Rebuilt by cve.day 2026-11-25T22:59:35.381Z
