Re: [PATCH] nfsd: ensure that nfsd4_fattr_args.context is zeroed out

From: Chuck Lever
Date: Thu Aug 22 2024 - 14:54:48 EST


On Thu, 22 Aug 2024 14:47:01 -0400, Jeff Layton wrote:
> If nfsd4_encode_fattr4 ends up doing a "goto out" before we get to
> checking for the security label, then args.context will be set to
> uninitialized junk on the stack, which we'll then try to free.
> Initialize it early.
>
>

Applied to nfsd-fixes for v6.11-rc, thanks!

[1/1] nfsd: ensure that nfsd4_fattr_args.context is zeroed out
commit: f58bab6fd4063913bd8321e99874b8239e9ba726

--
Chuck Lever