Junglewise Threat Intelligence

CVE-2026-64015: Linux Kernel use-after-free in security/keys keyring lookup

CVE-2026-64015 · Severity: info · Published 2026-07-19

Technologies: Linux. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's keyring management system, which handles security tokens and encryption keys. Under specific conditions involving persistent keys, the system could attempt to access memory that has already been freed. This could lead to a system crash or potentially allow an attacker to disrupt security operations.

Technical details

A race condition exists in security/keys/keyring.c where find_key_to_update() calls assoc_array_find() without holding the required RCU read lock. While standard keyring operations are protected by a semaphore, persistent key handling uses a different locking model that leaves the associative array vulnerable to concurrent garbage collection (assoc_array_gc). An attacker could potentially trigger a use-after-free if a node is freed during an RCU grace period while a lookup is in progress. The fix implements proper RCU locking using guard(rcu)() to ensure node lifetime during lookups.

Affected products

  • Linux Linux 6.1.175, 6.6.142, 6.12.92, 6.18.34, 7.0.11

Timeline

  • 2026-05-28: patched: Initial fix by Linus Torvalds
  • 2026-07-19: disclosed: CVE published

References