------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 1 PID: 14711 at lib/refcount.c:25 refcount_warn_saturate+0x13d/0x1a0 lib/refcount.c:25 Modules linked in: CPU: 1 PID: 14711 Comm: kworker/u4:23 Not tainted 5.18.0-rc5-syzkaller-00106-g0f5d752b1395 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: krdsd rds_connect_worker RIP: 0010:refcount_warn_saturate+0x13d/0x1a0 lib/refcount.c:25 Code: c7 e0 49 e8 8a 31 c0 e8 21 99 26 fd 0f 0b eb a3 e8 68 2b 5d fd c6 05 78 17 c5 09 01 48 c7 c7 40 4a e8 8a 31 c0 e8 03 99 26 fd <0f> 0b eb 85 e8 4a 2b 5d fd c6 05 5b 17 c5 09 01 48 c7 c7 a0 4a e8 RSP: 0018:ffffc9000318fa48 EFLAGS: 00010246 RAX: a1fa5570337aa100 RBX: 0000000000000002 RCX: ffff88804d133b00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000002 R08: ffffffff816ad542 R09: ffffed1017366809 R10: ffffed1017366809 R11: 1ffff11017366808 R12: ffff88805eacd3cc R13: ffff88805eacd280 R14: ffff88807c37a100 R15: ffff88814bb3e600 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000082 CR3: 000000005f0a7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_inc include/linux/refcount.h:250 [inline] refcount_inc include/linux/refcount.h:267 [inline] get_net include/net/net_namespace.h:248 [inline] get_net_track include/net/net_namespace.h:334 [inline] rds_tcp_tune+0x2bc/0x3a0 net/rds/tcp.c:503 rds_tcp_conn_path_connect+0x2f6/0xb40 net/rds/tcp_connect.c:127 rds_connect_worker+0x1c3/0x270 net/rds/threads.c:176 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