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
nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted
2023-02-06 07:52:47 +01:00
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
nfsd: fix race to check ls_layouts
2023-03-11 16:43:49 +01:00
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
NFSD: Add tracepoints to NFSD's duplicate reply cache
2023-01-18 11:41:31 +01:00
nfsctl.c
treewide: Remove uninitialized_var() usage
2023-06-09 10:29:01 +02:00
nfsd.h
nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted
2023-02-06 07:52:47 +01:00
nfsfh.c
nfsfh.h
nfs: add missing selections of CONFIG_CRC32
2025-05-02 07:39:20 +02:00
nfsproc.c
nfssvc.c
nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted
2023-02-06 07:52:47 +01:00
nfsxdr.c
pnfs.h
state.h
stats.c
stats.h
trace.c
trace.h
NFSD: Add tracepoints to NFSD's duplicate reply cache
2023-01-18 11:41:31 +01:00
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