------------[ cut here ]------------ WARNING: CPU: 1 PID: 1021 at net/core/sock.c:2065 sk_destruct+0x13f/0x180 net/core/sock.c:2065 Modules linked in: CPU: 1 PID: 1021 Comm: kworker/u4:4 Not tainted 5.18.0-rc5-syzkaller-00117-g1c7ab9cd98b7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: krdsd rds_shutdown_worker RIP: 0010:sk_destruct+0x13f/0x180 net/core/sock.c:2065 Code: ff 83 e3 01 89 de e8 40 d4 35 fa 84 db 75 ca e8 57 d0 35 fa 4c 89 e7 e8 9f a5 ff ff 5b 5d 41 5c e9 46 d0 35 fa e8 41 d0 35 fa <0f> 0b e9 28 ff ff ff 4c 89 e7 e8 92 61 81 fa e9 e5 fe ff ff 4c 89 RSP: 0018:ffffc90004cbfaf8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 000000000000030b RCX: 0000000000000000 RDX: ffff88801d8e0000 RSI: ffffffff87436eef RDI: ffff888055046660 RBP: ffff888055046600 R08: 0000000000000000 R09: ffff888055046667 R10: ffffed100aa08ccc R11: 0000000000000000 R12: ffff888055046828 R13: ffff888055046630 R14: 0000000000000003 R15: 0000000000000005 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2db22000 CR3: 000000005b320000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_free+0xef/0x3d0 net/core/sock.c:2087 sk_free+0x78/0xa0 net/core/sock.c:2098 sock_put include/net/sock.h:1926 [inline] tcp_close+0x98/0xc0 net/ipv4/tcp.c:2931 inet_release+0x12e/0x280 net/ipv4/af_inet.c:428 inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:481 __sock_release net/socket.c:650 [inline] sock_release+0x87/0x1b0 net/socket.c:678 rds_tcp_conn_path_shutdown+0x1eb/0x3f0 net/rds/tcp_connect.c:220 rds_conn_shutdown+0x244/0x930 net/rds/connection.c:398 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298