CVE-2026-80520

ovpn: fix NULL dereference when killing missing key

State
Published
Severity
7.5 High
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: 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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 89d3c0e4612afa1c6429ed68d298e35592fbe208 to before a47a080d06ee9d94dc6a2da0fc2b9beeeedb92b3Affected
  • 89d3c0e4612afa1c6429ed68d298e35592fbe208 to before acf32a5dff082044cf0fd9492f3c10b7357c15eeAffected
  • 89d3c0e4612afa1c6429ed68d298e35592fbe208 to before 41d44ac7a61e2f74453af40d4fe1b82af9ea0adaAffected
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.