linux-yocto/net/rxrpc
David Howells 74bb4de32d rxrpc: Fix transmission of an abort in response to an abort
[ Upstream commit e9c0b96ec0 ]

Under some circumstances, such as when a server socket is closing, ABORT
packets will be generated in response to incoming packets.  Unfortunately,
this also may include generating aborts in response to incoming aborts -
which may cause a cycle.  It appears this may be made possible by giving
the client a multicast address.

Fix this such that rxrpc_reject_packet() will refuse to generate aborts in
response to aborts.

Fixes: 248f219cb8 ("rxrpc: Rewrite the data and ack handling code")
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeffrey Altman <jaltman@auristor.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: Junvyyang, Tencent Zhuque Lab <zhuque@tencent.com>
cc: LePremierHomme <kwqcheii@proton.me>
cc: Linus Torvalds <torvalds@linux-foundation.org>
cc: Simon Horman <horms@kernel.org>
cc: linux-afs@lists.infradead.org
Link: https://patch.msgid.link/20250717074350.3767366-5-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-07-24 08:53:20 +02:00
..
af_rxrpc.c rxrpc: Improve setsockopt() handling of malformed user input 2024-12-09 10:32:35 +01:00
ar-internal.h rxrpc: Fix call state set to not include the SERVER_SECURING state 2025-02-17 09:40:14 +01:00
call_accept.c rxrpc: Fix recv-recv race of completed call 2025-07-24 08:53:20 +02:00
call_event.c
call_object.c rxrpc: Fix call state set to not include the SERVER_SECURING state 2025-02-17 09:40:14 +01:00
call_state.c
conn_client.c rxrpc: Fix missing locking causing hanging calls 2024-11-14 13:19:32 +01:00
conn_event.c rxrpc: Fix call state set to not include the SERVER_SECURING state 2025-02-17 09:40:14 +01:00
conn_object.c rxrpc: Fix the rxrpc_connection attend queue handling 2025-02-17 09:40:13 +01:00
conn_service.c
input.c rxrpc: Fix call state set to not include the SERVER_SECURING state 2025-02-17 09:40:14 +01:00
insecure.c
io_thread.c rxrpc: Fix a race between socket set up and I/O thread creation 2024-10-10 11:58:08 +02:00
Kconfig
key.c
local_event.c
local_object.c rxrpc: Fix a race between socket set up and I/O thread creation 2024-10-10 11:58:08 +02:00
Makefile
misc.c
net_ns.c
output.c rxrpc: Fix transmission of an abort in response to an abort 2025-07-24 08:53:20 +02:00
peer_event.c
peer_object.c
proc.c
protocol.h rxrpc: Fix the names of the fields in the ACK trailer struct 2024-05-17 12:02:23 +02:00
recvmsg.c rxrpc: Fix recv-recv race of completed call 2025-07-24 08:53:20 +02:00
rtt.c
rxkad.c rxrpc: Don't pick values out of the wire header when setting up security 2024-08-29 17:33:36 +02:00
rxperf.c rxrpc: rxperf: Fix missing decoding of terminal magic cookie 2025-03-07 16:45:38 +01:00
security.c
sendmsg.c rxrpc: Fix call state set to not include the SERVER_SECURING state 2025-02-17 09:40:14 +01:00
server_key.c
skbuff.c
sysctl.c
txbuf.c
utils.c