android_kernel_motorola_sm6375/net/rxrpc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Howells bf0ca6a1bc rxrpc: Fix oops due to non-existence of prealloc backlog struct
commit 880a88f318cf1d2a0f4c0a7ff7b07e2062b434a4 upstream.

If an AF_RXRPC service socket is opened and bound, but calls are
preallocated, then rxrpc_alloc_incoming_call() will oops because the
rxrpc_backlog struct doesn't get allocated until the first preallocation is
made.

Fix this by returning NULL from rxrpc_alloc_incoming_call() if there is no
backlog struct.  This will cause the incoming call to be aborted.

Reported-by: Junvyyang, Tencent Zhuque Lab <[email protected]>
Suggested-by: Junvyyang, Tencent Zhuque Lab <[email protected]>
Signed-off-by: David Howells <[email protected]>
cc: LePremierHomme <[email protected]>
cc: Marc Dionne <[email protected]>
cc: Willy Tarreau <[email protected]>
cc: Simon Horman <[email protected]>
cc: [email protected]
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2025-07-17 18:25:02 +02:00
..
af_rxrpc.c
ar-internal.h
call_accept.c rxrpc: Fix oops due to non-existence of prealloc backlog struct 2025-07-17 18:25:02 +02:00
call_event.c
call_object.c
conn_client.c
conn_event.c
conn_object.c
conn_service.c
input.c
insecure.c
Kconfig
key.c
local_event.c
local_object.c
Makefile
misc.c
net_ns.c
output.c
peer_event.c
peer_object.c
proc.c
protocol.h
recvmsg.c
rtt.c
rxkad.c
security.c
sendmsg.c
skbuff.c
sysctl.c
utils.c