CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's NFS daemon (nfsd), specifically in the handling of admin-revoked delegations, which can lead to a use-after-free condition. This flaw arises because the system fails to properly set the SC_STATUS_FREED flag before releasing the lock, potentially allowing unauthorized access to freed memory. Organizations using Linux systems that rely on NFS should prioritize this issue to mitigate the risk of exploitation and ensure system stability.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: set SC_STATUS_FREED in nfsd4_drop_revoked_stid for delegations nfsd4_drop_revoked_stid() handles FREE_STATEID for admin-revoked delegations but does not set SC_STATUS_FREED before releasing cl_lock. revoke_delegation() uses this flag to detect whether FREE_STATEID has already processed the delegation -- without it, the freed delegation is added to cl_revoked via list_add(), producing a use-after-free when cl_revoked is later traversed in __destroy_client(). The SC_STATUS_REVOKED path in nfsd4_free_stateid() (line 7983) already sets SC_STATUS_FREED correctly. Apply the same pattern to the SC_STATUS_ADMIN_REVOKED path in nfsd4_drop_revoked_stid().