kernel_samsung_a53x/net/sunrpc/auth_gss
Chuck Lever 4e77f5d2cc 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 <bcodding@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 12:27:11 +01:00
..
auth_gss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auth_gss_internal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_generic_token.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_crypto.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_mech.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_seal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_seqnum.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_unseal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_krb5_wrap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_mech_switch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_rpc_upcall.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_rpc_upcall.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gss_rpc_xdr.c SUNRPC: fix some memleaks in gssx_dec_option_array 2024-11-19 08:44:47 +01:00
gss_rpc_xdr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svcauth_gss.c SUNRPC: Fix loop termination condition in gss_free_in_token_pages() 2024-11-19 12:27:11 +01:00
trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00