On Wed, May 18, 2022 at 06:40:07PM +0000, Meena Shanmugam wrote: > The commit f00432063db1a0db484e85193eccc6845435b80e (SUNRPC: > Ensure we flush any closed sockets before xs_xprt_free()) upstream fixes > CVE-2022-28893, hence good candidate for stable trees. > The above commit depends on 3be232f11a3c (SUNRPC: Prevent immediate > close+reconnect) and 89f42494f92f (SUNRPC: Don't call connect() more than > once on a TCP socket). Commit 3be232f11a3c depends on commit > e26d9972720e (SUNRPC: Clean up scheduling of autoclose). > > Commits e26d9972720e, 3be232f11a3c apply cleanly on 5.4 > kernel. commit 89f42494f92f and f00432063db1 didn't apply cleanly. > This patch series includes all the commits required for back porting > f00432063db1. > > > Trond Myklebust (4): > SUNRPC: Clean up scheduling of autoclose > SUNRPC: Prevent immediate close+reconnect > SUNRPC: Don't call connect() more than once on a TCP socket > SUNRPC: Ensure we flush any closed sockets before xs_xprt_free() > > fs/file_table.c | 1 + > include/linux/sunrpc/xprtsock.h | 1 + > net/sunrpc/xprt.c | 34 ++++++++++++++++--------------- > net/sunrpc/xprtsock.c | 36 ++++++++++++++++++++++----------- > 4 files changed, 44 insertions(+), 28 deletions(-) > > -- > 2.36.1.124.g0e6072fb45-goog > All now queued up, thanks. greg k-h