android_kernel_motorola_sm6375/net/sunrpc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dan Aloni 59892d18dd xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create
commit a9c10b5b3b67b3750a10c8b089b2e05f5e176e33 upstream.

If there are failures then we must not leave the non-NULL pointers with
the error value, otherwise `rpcrdma_ep_destroy` gets confused and tries
free them, resulting in an Oops.

Signed-off-by: Dan Aloni <dan.aloni@vastdata.com>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
[ Larry: backport to 5.4.y. Minor conflict resolved due to missing commit 93aa8e0a9de80
  xprtrdma: Merge struct rpcrdma_ia into struct rpcrdma_ep ]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Larry Bassel <larry.bassel@oracle.com>
2025-06-27 11:02:58 +01:00
..
auth_gss gss_krb5: Fix the error handling path for crypto_sync_skcipher_setkey 2024-08-19 05:33:30 +02:00
xprtrdma xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create 2025-06-27 11:02:58 +01:00
addr.c net: sunrpc: Fix an off by one in rpc_sockaddr2uaddr() 2024-03-26 18:22:23 -04:00
auth.c sunrpc: fix expiry of auth creds 2022-08-25 11:18:22 +02:00
auth_null.c
auth_unix.c
backchannel_rqst.c SUNRPC: Reinitialise the backchannel request buffers before reuse 2022-08-25 11:18:23 +02:00
cache.c sunrpc: update nextcheck time when adding new cache entries 2025-06-27 11:02:53 +01:00
clnt.c SUNRPC: rpc_clnt_set_transport() must not change the autobind setting 2025-06-04 14:32:30 +02:00
debugfs.c
Kconfig
Makefile
netns.h
rpc_pipe.c
rpcb_clnt.c
sched.c SUNRPC: Fix a race to wake a sync task 2024-08-19 05:33:48 +02:00
socklib.c
stats.c
sunrpc.h
sunrpc_syms.c
svc.c sunrpc: removed redundant procp check 2024-06-16 13:28:40 +02:00
svc_xprt.c
svcauth.c
svcauth_unix.c sunrpc: only free unix grouplist after RCU settles 2023-04-20 12:07:33 +02:00
svcsock.c SUNRPC: Fix UAF in svc_tcp_listen_data_ready() 2023-07-27 08:37:35 +02:00
sysctl.c
timer.c
xdr.c
xprt.c
xprtmultipath.c SUNRPC: Fix a suspicious RCU usage warning 2024-02-23 08:24:56 +01:00
xprtsock.c sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport 2024-12-14 19:44:42 +01:00