android_kernel_motorola_sm6375/fs/nfsd
Repository files (latest commit first)
Filename Latest commit message Latest commit date
NeilBrown bf78a2706c nfsd: nfsd4_spo_must_allow() must check this is a v4 compound request
commit 1244f0b2c3cecd3f349a877006e67c9492b41807 upstream.

If the request being processed is not a v4 compound request, then
examining the cstate can have undefined results.

This patch adds a check that the rpc procedure being executed
(rq_procinfo) is the NFSPROC4_COMPOUND procedure.

Reported-by: Olga Kornievskaia <okorniev@redhat.com>
Cc: stable@vger.kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-06-27 11:02:51 +01:00
..
acl.h
auth.c
auth.h
blocklayout.c
blocklayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-23 10:59:48 +02:00
blocklayoutxdr.h
cache.h
current_stateid.h
export.c nfsd: make sure exp active before svc_export_show 2024-12-14 19:44:44 +01:00
export.h
fault_inject.c
filecache.c
filecache.h
flexfilelayout.c
flexfilelayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-23 10:59:48 +02:00
flexfilelayoutxdr.h
idmap.h
Kconfig nfs: add missing selections of CONFIG_CRC32 2025-05-02 07:39:20 +02:00
lockd.c
Makefile
netns.h
nfs2acl.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes 2025-06-27 11:02:49 +01:00
nfs4acl.c
nfs4callback.c NFSD: Reset cb_seq_status after NFS4ERR_DELAY 2025-03-13 12:43:01 +01:00
nfs4idmap.c nfsd: call cache_put if xdr_reserve_space returns NULL 2024-11-08 16:20:32 +01:00
nfs4layouts.c
nfs4proc.c nfsd: nfsd4_spo_must_allow() must check this is a v4 compound request 2025-06-27 11:02:51 +01:00
nfs4recover.c NFSD: Cap the number of bytes copied by nfs4_reset_recoverydir() 2024-12-14 19:44:32 +01:00
nfs4state.c nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur 2024-12-14 19:44:44 +01:00
nfs4xdr.c NFSD: Fix NFSv4's PUTPUBFH operation 2024-11-17 14:58:52 +01:00
nfscache.c
nfsctl.c
nfsd.h
nfsfh.c
nfsfh.h nfs: add missing selections of CONFIG_CRC32 2025-05-02 07:39:20 +02:00
nfsproc.c
nfssvc.c
nfsxdr.c
pnfs.h
state.h
stats.c
stats.h
trace.c
trace.h
vfs.c NFSD: Fix ia_size underflow 2025-06-27 11:02:49 +01:00
vfs.h
xdr.h
xdr3.h
xdr4.h
xdr4cb.h