CVE-2025-21796

CVSS 3.1 Score 7.8 of 10 (high)

Details

Published Feb 27, 2025
Updated: Mar 13, 2025
CWE ID 416

Summary

CVE-2025-21796 is a vulnerability affecting the Linux kernel's nfsd component. The issue lies in the handling of Posix Access Control Lists (ACLs). Specifically, when the kernel fails to obtain acl_default, both acl_access and acl_default are released simultaneously. However, acl_access still retains a pointer to the released posix_acl, leading to a use-after-free condition. This can trigger a WARNING message and potentially result in a kernel panic. To mitigate this issue, developers are advised to ensure that acl_access/acl_default are properly released after use.

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