Fixes for a couple of CB_GETATTR bugs I found while working on the delstid set. Mostly this just ensures that we hold references to the delegation while working with it. Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx> --- Jeff Layton (2): nfsd: hold reference to delegation when updating it for cb_getattr nfsd: fix potential UAF in nfsd4_cb_getattr_release fs/nfsd/nfs4state.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) --- base-commit: a204501e1743d695ca2930ed25a2be9f8ced96d3 change-id: 20240823-nfsd-fixes-61f0c785d125 Best regards, -- Jeff Layton <jlayton@xxxxxxxxxx>