Re: [PATCH] nfsd: propagate SETXATTR value decode errors
From: Chuck Lever
Date: Tue Sep 15 2026 - 10:28:06 EST
On Tue, 15 Sep 2026 09:56:36 -0300, Aldo Ariel Panzardo wrote:
> nfsd4_decode_setxattr() stores the status returned while assembling a
> non-empty attribute value, but then unconditionally returns nfs_ok. An
> allocation failure can therefore leave a NULL value buffer paired with a
> non-zero length and allow compound processing to continue.
>
> Return the decoder status so that the operation stops on the original
> error.
>
> [...]
Applied to nfsd-testing, thanks!
[1/1] nfsd: propagate SETXATTR value decode errors
commit: f6c38392f815da751d4330adad2b937586a0f0fa
--
Chuck Lever