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 rxrpc: Fix deadlock around release of dst cached on udp tunnel 2021-02-10 09:25:27 +01:00
ar-internal.h rxrpc: Fix decision on when to generate an IDLE ACK 2022-06-14 18:11:38 +02:00
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 rxrpc: Fix clearance of Tx/Rx ring when releasing a call 2021-02-17 10:35:18 +01:00
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 rxrpc: Fix decision on when to generate an IDLE ACK 2022-06-14 18:11:38 +02:00
insecure.c
Kconfig
key.c rxrpc: Fix handling of an unsupported token type in rxrpc_read() 2021-01-23 15:58:00 +01:00
local_event.c
local_object.c rxrpc: Fix local destruction being repeated 2022-09-28 11:03:58 +02:00
Makefile
misc.c
net_ns.c rxrpc: Restore removed timer deletion 2022-04-27 13:50:46 +02:00
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 rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer() 2021-12-08 09:01:12 +01:00
proc.c
protocol.h
recvmsg.c rxrpc: Fix decision on when to generate an IDLE ACK 2022-06-14 18:11:38 +02:00
rtt.c rxrpc: Fix _usecs_to_jiffies() by using usecs_to_jiffies() 2021-11-17 09:48:34 +01:00
rxkad.c rxrpc: Fix an insufficiently large sglist in rxkad_verify_packet_2() 2022-09-15 12:04:55 +02:00
security.c
sendmsg.c rxrpc: Fix hard call timeout units 2023-05-17 11:35:59 +02:00
skbuff.c
sysctl.c rxrpc: Fix listen() setting the bar too high for the prealloc rings 2022-06-14 18:11:38 +02:00
utils.c