linux/net/rxrpc
David Howells 18a71e111c rxrpc: Fix return in rxrpc_recvmsg_data() for service calls
When rxrpc_recvmsg_data() gets called on a service call that has received
all of the request, RXRPC_CALL_RECVMSG_READ_ALL has been set, and this
causes rxrpc_recvmsg_data() to jump straight out, indicating the end of the
call (ie. rxrpc_kernel_recv_data() returns 1) without waiting for the call
to be processed or the reply to be transmitted.

rxperf_deliver_to_call() also has to be altered to call
rxrpc_kernel_recv_data() to collect the final ACK on a service call as does
afs_deliver_to_call().

Fixes: d001648ec7 ("rxrpc: Don't expose skbs to in-kernel users [ver #2]")
Link: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260914151340.3227501-1-dhowells%40redhat.com
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: Jeffrey Altman <jaltman@auristor.com>
cc: Eric Dumazet <edumazet@google.com>
cc: "David S. Miller" <davem@davemloft.net>
cc: Jakub Kicinski <kuba@kernel.org>
cc: Paolo Abeni <pabeni@redhat.com>
cc: Simon Horman <horms@kernel.org>
cc: linux-afs@lists.infradead.org
cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20261006133011.531806-10-dhowells@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2026-10-15 11:43:02 +02:00
..
tests net/rxrpc: Reimplement DES-PCBC using DES library 2026-06-09 17:03:03 -07:00
.kunitconfig net/rxrpc: Add local FCrypt-PCBC implementation 2026-06-09 17:03:03 -07:00
af_rxrpc.c rxrpc: convert to getsockopt_iter 2026-05-22 11:11:10 -07:00
ar-internal.h rxrpc: fix io_thread race in rxrpc_wake_up_io_thread() 2026-07-21 11:52:29 +02:00
call_accept.c rxrpc: serialize kernel accept preallocation with socket teardown 2026-06-12 16:48:55 -07:00
call_event.c rxrpc: Fix ACKALL packet handling 2026-06-25 10:07:17 -07:00
call_object.c rxrpc: Fix ACKALL packet handling 2026-06-25 10:07:17 -07:00
call_state.c rxrpc: Move client call connection to the I/O thread 2023-01-06 09:43:33 +00:00
conn_client.c rxrpc: Fix ACKALL packet handling 2026-06-25 10:07:17 -07:00
conn_event.c rxrpc: Fix oob challenge leak in cleanup after notification failure 2026-06-25 10:07:18 -07:00
conn_object.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
conn_service.c rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock() 2023-12-24 15:22:49 +00:00
fcrypt.c net/rxrpc: Add local FCrypt-PCBC implementation 2026-06-09 17:03:03 -07:00
input_rack.c rxrpc: Fix rack timer warning to report unexpected mode 2026-04-08 18:44:32 -07:00
input.c rxrpc: Fix rxrpc_rotate_tx_rotate() to check there's something to rotate 2026-06-25 10:07:19 -07:00
insecure.c rxrpc: Fix RESPONSE packet verification to extract skb to a linear buffer 2026-05-20 16:36:45 -07:00
io_thread.c rxrpc: Fix potential UAF after skb_unshare() failure 2026-04-23 12:40:52 -07:00
Kconfig net/rxrpc: Reimplement DES-PCBC using DES library 2026-06-09 17:03:03 -07:00
key.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
local_event.c rxrpc: Truncate UTS_RELEASE for rxrpc version 2023-05-30 10:01:06 +02:00
local_object.c udp_tunnel: Pass struct sock to setup_udp_tunnel_sock(). 2026-05-05 17:47:04 -07:00
Makefile net/rxrpc: Add local FCrypt-PCBC implementation 2026-06-09 17:03:03 -07:00
misc.c rxrpc: Implement path-MTU probing using padded PING ACKs (RFC8899) 2024-12-09 13:48:25 -08:00
net_ns.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
oob.c rxrpc: Fix oob challenge leak in cleanup after notification failure 2026-06-25 10:07:18 -07:00
output.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-04-09 13:20:59 -07:00
peer_event.c rxrpc: Fix data-race warning and potential load/store tearing 2026-01-21 19:59:29 -08:00
peer_object.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
proc.c rxrpc: proc: size address buffers for %pISpc output 2026-04-08 18:45:32 -07:00
protocol.h rxrpc: rxgk: Implement the yfs-rxgk security class (GSSAPI) 2025-04-14 17:36:42 -07:00
recvmsg.c rxrpc: Fix return in rxrpc_recvmsg_data() for service calls 2026-10-15 11:43:02 +02:00
rtt.c rxrpc: Manage RTT per-call rather than per-peer 2024-12-09 13:48:32 -08:00
rxgk_app.c rxrpc: Fix RESPONSE packet verification to extract skb to a linear buffer 2026-05-20 16:36:45 -07:00
rxgk_common.h rxrpc: Fix RESPONSE packet verification to extract skb to a linear buffer 2026-05-20 16:36:45 -07:00
rxgk_kdf.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rxgk.c rxrpc: Fix UAF in rxgk_issue_challenge() 2026-06-12 16:48:54 -07:00
rxkad.c net/rxrpc: Reimplement DES-PCBC using DES library 2026-06-09 17:03:03 -07:00
rxperf.c rxrpc: Fix return in rxrpc_recvmsg_data() for service calls 2026-10-15 11:43:02 +02:00
security.c rxrpc: Fix to use conn aborts for conn-wide failures 2025-07-17 07:50:48 -07:00
sendmsg.c rxrpc: Fix sendmsg length 2026-10-15 11:43:01 +02:00
server_key.c net/rxrpc: Reimplement DES-PCBC using DES library 2026-06-09 17:03:03 -07:00
skbuff.c rxrpc: Fix potential UAF after skb_unshare() failure 2026-04-23 12:40:52 -07:00
sysctl.c rxrpc: Implement path-MTU probing using padded PING ACKs (RFC8899) 2024-12-09 13:48:25 -08:00
txbuf.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
utils.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36 2019-05-24 17:27:11 +02:00