[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240223172448.94084-1-kuniyu@amazon.com>
Date: Fri, 23 Feb 2024 09:24:46 -0800
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, Allison Henderson <allison.henderson@...cle.com>
CC: Sowmini Varadhan <sowmini.varadhan@...cle.com>, Kuniyuki Iwashima
<kuniyu@...zon.com>, Kuniyuki Iwashima <kuni1840@...il.com>,
<netdev@...r.kernel.org>, <linux-rdma@...r.kernel.org>,
<rds-devel@....oracle.com>
Subject: [PATCH v1 net 0/2] rds: Fix use-after-free of net by tcp reqsk timer.
syzkaller reported an warning of netns ref tracker for RDS TCP listener,
which commit 740ea3c4a0b2 ("tcp: Clean up kernel listener's reqsk in
inet_twsk_purge()") partially fixed.
This series reverts the partial fix on the TCP side and fixes the root
cause on the RDS side.
Kuniyuki Iwashima (2):
Revert "tcp: Clean up kernel listener's reqsk in inet_twsk_purge()"
rds: tcp: Fix use-after-free of net in reqsk_timer_handler().
net/ipv4/inet_timewait_sock.c | 15 +--------------
net/ipv4/tcp_minisocks.c | 9 ++++-----
net/rds/tcp_listen.c | 5 +++++
3 files changed, 10 insertions(+), 19 deletions(-)
--
2.30.2
Powered by blists - more mailing lists