CVE-2025-21893

CVSS 3.1 Score 7.8 of 10 (high)

Details

Published Mar 31, 2025
Updated: Apr 8, 2025
CWE ID 416

Summary

CVE-2025-21893 is a vulnerability in the Linux kernel that affects the key management subsystem. The issue lies in the function key_put(), which attempts to reclaim quota too eagerly by checking if a key can be garbage collected based on its reference count. However, this check is performed after the key's usage has been reduced to zero, which is forbidden since the key may already have been destroyed by the garbage collector thread. To address this issue, the patch introduces a flag to indicate that a key is safe to be garbage collected, avoiding the need to check the reference count directly.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share