From: Henry Martin <bsdhenrymartin@gmail.com>
To: netdev@vger.kernel.org
Cc: dhowells@redhat.com, marc.dionne@auristor.com,
linux-afs@lists.infradead.org,
Henry Martin <bsdhenrymartin@gmail.com>
Subject: [PATCH 0/3] rxrpc: fix three bugs found by autokbug fuzzing
Date: Mon, 3 Aug 2026 15:33:52 +0800 [thread overview]
Message-ID: <20260803073355.3895949-1-bsdhenrymartin@gmail.com> (raw)
These three patches fix independent rxrpc bugs found by the autokbug
dynamic kernel fuzzer at Tencent Yunding Lab.
[1/3] Stack OOB read in TLP soft-ACK processing. A malicious peer
can deterministically trigger it over an unencrypted
(security-none) AF_RXRPC association - an immediate KASAN
stack-out-of-bounds report even at the minimum offset.
[2/3] kernel BUG in netns teardown: the conn_proc_list assertion
in rxrpc_destroy_all_connections() races with connection
destructors deferred to system_wq and fires on a healthy
state, killing the cleanup_net kworker. Unprivileged
userns+netns reachable.
[3/3] WARN_ON in rxrpc_alloc_txqueue(): the TX_NO_MORE entry check
from commit ae4f89989479 ("rxrpc: Fix ability to add more
data to a call once MSG_MORE deasserted") is not re-done
after sleeping in wait_for_space, so a racing sendmsg on the
same call reaches the WARN on a legal finalized-call state
(spurious splat and -ENOMEM; panic_on_warn DoS).
Thanks,
Henry
Henry Martin (3):
rxrpc: fix stack OOB read in TLP soft-ACK processing
rxrpc: wait for deferred conn destruction before conn_proc_list check
rxrpc: recheck RXRPC_CALL_TX_NO_MORE after sleeping in rxrpc_send_data()
net/rxrpc/ar-internal.h | 3 ++-
net/rxrpc/conn_object.c | 10 ++++++----
net/rxrpc/sendmsg.c | 8 ++++++++
3 files changed, 16 insertions(+), 5 deletions(-)
--
2.43.0
next reply other threads:[~2026-08-03 7:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-03 7:33 Henry Martin [this message]
2026-08-03 7:33 ` [PATCH 1/3] rxrpc: fix stack OOB read in TLP soft-ACK processing Henry Martin
2026-08-03 7:33 ` [PATCH 2/3] rxrpc: wait for deferred conn destruction before conn_proc_list check Henry Martin
2026-08-03 7:33 ` [PATCH 3/3] rxrpc: recheck RXRPC_CALL_TX_NO_MORE after sleeping in rxrpc_send_data() Henry Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260803073355.3895949-1-bsdhenrymartin@gmail.com \
--to=bsdhenrymartin@gmail.com \
--cc=dhowells@redhat.com \
--cc=linux-afs@lists.infradead.org \
--cc=marc.dionne@auristor.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox