CVE-2026-80520 PUBLISHED

ovpn: fix NULL dereference when killing missing key

Assigner: Linux
Reserved: 26.08.2026 Published: 26.08.2026 Updated: 26.08.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 89d3c0e4612afa1c6429ed68d298e35592fbe208 to a47a080d06ee9d94dc6a2da0fc2b9beeeedb92b3 (excl.)
  • affected from 89d3c0e4612afa1c6429ed68d298e35592fbe208 to acf32a5dff082044cf0fd9492f3c10b7357c15ee (excl.)
  • affected from 89d3c0e4612afa1c6429ed68d298e35592fbe208 to 41d44ac7a61e2f74453af40d4fe1b82af9ea0ada (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.16 is affected
  • unaffected from 0 to 6.16 (excl.)
  • unaffected from 6.18.46 to 6.18.* (incl.)
  • unaffected from 7.1.10 to 7.1.* (incl.)
  • unaffected from 7.2 to * (incl.)

References