Backport RXRPC for 6.1.y from 6.2

Wentao Guan guanwentao at uniontech.com
Sun May 10 15:30:57 PDT 2026


FYI, I am bisecting v6.1.73(poc fail) and v6.1.70(poc ok):
ac8c69e448f7e43586e102395844a117b0595031 is the first bad commit
commit ac8c69e448f7e43586e102395844a117b0595031 (HEAD)
Author: David Howells <dhowells at redhat.com>
Date:   Mon May 22 13:11:22 2023 +0100

    udp: Convert udp_sendpage() to use MSG_SPLICE_PAGES

    [ Upstream commit 7ac7c987850c3ec617c778f7bd871804dc1c648d ]

    Convert udp_sendpage() to use sendmsg() with MSG_SPLICE_PAGES rather than
    directly splicing in the pages itself.

    This allows ->sendpage() to be replaced by something that can handle
    multiple multipage folios in a single transaction.

    Signed-off-by: David Howells <dhowells at redhat.com>
    cc: Willem de Bruijn <willemdebruijn.kernel at gmail.com>
    cc: David Ahern <dsahern at kernel.org>
    cc: Jens Axboe <axboe at kernel.dk>
    cc: Matthew Wilcox <willy at infradead.org>
    Signed-off-by: Jakub Kicinski <kuba at kernel.org>
    Stable-dep-of: a0002127cd74 ("udp: move udp->no_check6_tx to udp->udp_flags")
    Signed-off-by: Sasha Levin <sashal at kernel.org>

 net/ipv4/udp.c | 51 ++++++---------------------------------------------
 1 file changed, 6 insertions(+), 45 deletions(-)
so if the 6.1.y kernel convert to full MSG_SPLICE_PAGES will be vulnerable.

BRs
Wentao Guan



More information about the linux-afs mailing list