Re: [PATCH net] rxrpc: Bound the OOB challenge queue per connection

From: Lin Ma

Date: Sun Nov 22 2026 - 21:13:28 EST


Hi,

Found by code inspection, then reproduced with a local PoC on a Linux
7.0-rc3 KASAN/QEMU kernel. A userspace fake RxGK peer sent 20,000
connection-level CHALLENGE packets to a client socket that had
RXRPC_MANAGE_RESPONSE set and never called recvmsg().

Unpatched, /proc/net/rxrpc/stats went from rxb=0 to rxb=20000: all
20,000 CHALLENGE skbs were retained on recvmsg_oobq (each also pinning a
connection reference). There is no crash or KASAN report; the symptom
is unbounded skb memory retention.

With the per-connection cap applied, the same test stops at rxb=4.

Thanks,
Lin Ma