android_kernel_motorola_sm6375/net/sunrpc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chuck Lever 76a477d398 SUNRPC: Fix READ_PLUS crasher
commit a23dd544debcda4ee4a549ec7de59e85c3c8345c upstream.

Looks like there are still cases when "space_left - frag1bytes" can
legitimately exceed PAGE_SIZE. Ensure that xdr->end always remains
within the current encode buffer.

Reported-by: Bruce Fields <bfields@fieldses.org>
Reported-by: Zorro Lang <zlang@redhat.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216151
Fixes: 6c254bf3b637 ("SUNRPC: Fix the calculation of xdr->end in xdr_get_next_encode_buffer()")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-07 17:36:48 +02:00
..
auth_gss
xprtrdma xprtrdma: treat all calls not a bcall when bc_serv is NULL 2022-06-14 18:11:57 +02:00
addr.c
auth.c
auth_null.c
auth_unix.c
backchannel_rqst.c
cache.c
clnt.c SUNRPC: Handle low memory situations in call_status() 2022-04-15 14:18:38 +02:00
debugfs.c
Kconfig
Makefile
netns.h
rpc_pipe.c fsnotify: fix fsnotify hooks in pseudo filesystems 2022-02-01 17:24:34 +01:00
rpcb_clnt.c
sched.c SUNRPC/call_alloc: async tasks mustn't block waiting for memory 2022-04-15 14:18:35 +02:00
socklib.c
stats.c
sunrpc.h
sunrpc_syms.c
svc.c
svc_xprt.c
svcauth.c
svcauth_unix.c
svcsock.c
sysctl.c
timer.c
xdr.c SUNRPC: Fix READ_PLUS crasher 2022-07-07 17:36:48 +02:00
xprt.c SUNRPC: Ensure we flush any closed sockets before xs_xprt_free() 2022-05-25 09:14:34 +02:00
xprtmultipath.c
xprtsock.c SUNRPC: Ensure we flush any closed sockets before xs_xprt_free() 2022-05-25 09:14:34 +02:00