android_kernel_motorola_sm6375/net/sunrpc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chuck Lever 6ed45d20d3 SUNRPC: Fix loop termination condition in gss_free_in_token_pages()
commit 4a77c3dead97339478c7422eb07bf4bf63577008 upstream.

The in_token->pages[] array is not NULL terminated. This results in
the following KASAN splat:

  KASAN: maybe wild-memory-access in range [0x04a2013400000008-0x04a201340000000f]

Fixes: bafa6b4d95d9 ("SUNRPC: Fix gss_free_in_token_pages()")
Reviewed-by: Benjamin Coddington <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-06-16 13:28:48 +02:00
..
auth_gss SUNRPC: Fix loop termination condition in gss_free_in_token_pages() 2024-06-16 13:28:48 +02:00
xprtrdma xprtrdma: Fix regbuf data not freed in rpcrdma_req_create() 2023-02-22 12:50:29 +01:00
addr.c net: sunrpc: Fix an off by one in rpc_sockaddr2uaddr() 2024-03-26 18:22:23 -04:00
auth.c
auth_null.c
auth_unix.c
backchannel_rqst.c
cache.c
clnt.c sunrpc: fix NFSACL RPC retry on soft mount 2024-06-16 13:28:45 +02:00
debugfs.c
Kconfig
Makefile
netns.h
rpc_pipe.c
rpcb_clnt.c
sched.c SUNRPC: remove the maximum number of retries in call_bind_status 2023-05-17 11:35:52 +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 params: lift param_set_uint_minmax to common code 2024-06-16 13:28:45 +02:00