一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月4日

CVE-2026-80520 [HIGH] – In the Linux kernel, the following vulnerability has been resolved: ovpn: fix NULL derefe

未分类
📑 文章目录

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.