------------[ cut here ]------------ WARNING: CPU: 1 PID: 1011 at net/core/sock.c:2065 sk_destruct+0x128/0x140 Modules linked in: CPU: 1 PID: 1011 Comm: kworker/u4:4 Not tainted 5.18.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: krdsd rds_shutdown_worker RIP: 0010:sk_destruct+0x128/0x140 net/core/sock.c:2065 Code: 41 e8 dc bc 67 f9 49 81 c7 f0 04 00 00 4c 89 ff 48 c7 c6 80 58 1e 88 5b 41 5c 41 5d 41 5e 41 5f e9 9d 9e 51 f9 e8 b8 bc 67 f9 <0f> 0b 42 80 3c 23 00 0f 85 56 ff ff ff e9 59 ff ff ff 66 0f 1f 44 RSP: 0018:ffffc9000472fa18 EFLAGS: 00010293 RAX: ffffffff881e5868 RBX: 1ffff1100fc7f9d5 RCX: ffff88801d9a3b00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff1100e860183 R08: ffffffff881e5797 R09: ffffed100fc7f99d R10: ffffed100fc7f99d R11: 1ffff1100fc7f99c R12: dffffc0000000000 R13: ffff88807e3fcea8 R14: 0000000000000000 R15: ffff88807e3fcc80 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000202f6000 CR3: 0000000073570000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_release+0x184/0x1e0 net/ipv4/af_inet.c:428 __sock_release net/socket.c:650 [inline] sock_release+0x7a/0x140 net/socket.c:678 rds_tcp_conn_path_shutdown+0x1fa/0x2c0 net/rds/tcp_connect.c:217 rds_conn_shutdown+0x4c9/0x920 net/rds/connection.c:398 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30