What’s Vulnerable › Vulnerabilities

CVE-2026-64015: security/keys: fix missed RCU read section on lookup

Description

In the Linux kernel, the following vulnerability has been resolved: security/keys: fix missed RCU read section on lookup Nicholas Carlini reports that the keyring code calls assoc_array_find() in find_key_to_update() without holding the RCU read lock, while the assoc_array_gc() code really is designed around removing the node from the tree and then freeing it after an RCU grace-period. The regular key handling doesn't see this because holding the keyring semaphore hides any lifetime issues, but the persistent key handling uses a different model. Instead of extending the keyring locking, just do the simple RCU locking that the assoc_array was designed for.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.175, 6.6.142, 6.12.92, 6.18.34; Linux 7.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-64015 or the next vulnerability affects your stack