Netdev List
 help / color / mirror / Atom feed
* [PATCH v1 net 0/2] rds: Fix use-after-free of net by tcp reqsk timer.
@ 2024-02-23 17:24 Kuniyuki Iwashima
  2024-02-23 17:24 ` [PATCH v1 net 1/2] Revert "tcp: Clean up kernel listener's reqsk in inet_twsk_purge()" Kuniyuki Iwashima
  2024-02-23 17:24 ` [PATCH v1 net 2/2] rds: tcp: Fix use-after-free of net in reqsk_timer_handler() Kuniyuki Iwashima
  0 siblings, 2 replies; 14+ messages in thread
From: Kuniyuki Iwashima @ 2024-02-23 17:24 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Allison Henderson
  Cc: Sowmini Varadhan, Kuniyuki Iwashima, Kuniyuki Iwashima, netdev,
	linux-rdma, rds-devel

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-02-26 20:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-23 17:24 [PATCH v1 net 0/2] rds: Fix use-after-free of net by tcp reqsk timer Kuniyuki Iwashima
2024-02-23 17:24 ` [PATCH v1 net 1/2] Revert "tcp: Clean up kernel listener's reqsk in inet_twsk_purge()" Kuniyuki Iwashima
2024-02-23 17:24 ` [PATCH v1 net 2/2] rds: tcp: Fix use-after-free of net in reqsk_timer_handler() Kuniyuki Iwashima
2024-02-23 18:09   ` Eric Dumazet
2024-02-23 18:28     ` Kuniyuki Iwashima
2024-02-26 19:14       ` Kuniyuki Iwashima
2024-02-26 19:22         ` Allison Henderson
2024-02-26 19:38           ` Kuniyuki Iwashima
2024-02-26 19:52             ` Eric Dumazet
2024-02-26 20:00               ` Kuniyuki Iwashima
2024-02-26 19:40           ` Eric Dumazet
2024-02-26 19:48             ` Kuniyuki Iwashima
2024-02-26 20:00               ` Eric Dumazet
2024-02-26 20:05                 ` Kuniyuki Iwashima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox