[rds-devel] [PATCH v1 net 0/2] rds: Fix use-after-free of net by tcp reqsk timer.
Kuniyuki Iwashima
kuniyu at amazon.com
Fri Feb 23 17:24:46 UTC 2024
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
More information about the rds-devel
mailing list