--- sys/fs/nfsserver/nfs_nfsdstate.c.sav 2020-09-05 11:12:01.920723000 -0700 +++ sys/fs/nfsserver/nfs_nfsdstate.c 2020-09-05 11:19:06.049375000 -0700 @@ -5707,8 +5707,14 @@ nfsrv_checkgetattr(struct nfsrv_descript *nd, vnode_t goto out; } clp = stp->ls_clp; - delegfilerev = stp->ls_filerev; + /* If the clientid is not confirmed, ignore the delegation. */ + if (clp->lc_flags & LCL_NEEDSCONFIRM) { + NFSUNLOCKSTATE(); + goto out; + } + + delegfilerev = stp->ls_filerev; /* * If the Write delegation was issued as a part of this Compound RPC * or if we have an Implied Clientid (used in a previous Op in this