CVE-2026-80519

ovpn: finish crypto callback cleanup before peer release

State
Published
Severity
9.8 Critical
Published
Aug 26, 2026
Updated
Aug 27, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8534731dbf2d52a539b94defd06d2a8d3514aacb to before a3a676495c6419e0cca04d6a67227604e92a3d5aAffected
  • 8534731dbf2d52a539b94defd06d2a8d3514aacb to before 4b0de8be288f5fbec5d8ee64ed4e8b14bf19b517Affected
  • 8534731dbf2d52a539b94defd06d2a8d3514aacb to before 9e163917a86c6adfbe150e13f4c73653a54616deAffected
LinuxLinux
  • 6.16Affected
  • before 6.16Not affected
  • 6.18.46 through 6.18.*Not affected
  • 7.1.10 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.