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 rxrpc: Fix calc of resend age 2022-09-28 11:03:58 +02:00
call_object.c
conn_client.c
conn_event.c rxrpc: Fix response to PING RESPONSE ACKs to a dead call 2024-02-23 08:25:07 +01:00
conn_object.c
conn_service.c rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock() 2024-02-23 08:24:55 +01:00
input.c
insecure.c
Kconfig
key.c
local_event.c
local_object.c
Makefile
misc.c
net_ns.c
output.c rxrpc: Fix ack.bufferSize to be 0 when generating an ack 2023-01-18 11:41:02 +01:00
peer_event.c
peer_object.c
proc.c
protocol.h
recvmsg.c
rtt.c
rxkad.c
security.c
sendmsg.c rxrpc: Fix hard call timeout units 2023-05-17 11:35:59 +02:00
skbuff.c
sysctl.c
utils.c