[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175685461125.464015.5426802978312843780.git-patchwork-notify@kernel.org>
Date: Tue, 02 Sep 2025 23:10:11 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Christoph Paasch <cpaasch@...nai.com>
Cc: edumazet@...gle.com, ncardwell@...gle.com, kuniyu@...gle.com,
davem@...emloft.net, dsahern@...nel.org, kuba@...nel.org, pabeni@...hat.com,
horms@...nel.org, 0x7f454c46@...il.com, noureddine@...sta.com,
fruggeri@...sta.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] net/tcp: Fix socket memory leak in TCP-AO failure
handling for IPv6
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Sat, 30 Aug 2025 15:55:38 -0700 you wrote:
> From: Christoph Paasch <cpaasch@...nai.com>
>
> When tcp_ao_copy_all_matching() fails in tcp_v6_syn_recv_sock() it just
> exits the function. This ends up causing a memory-leak:
>
> unreferenced object 0xffff0000281a8200 (size 2496):
> comm "softirq", pid 0, jiffies 4295174684
> hex dump (first 32 bytes):
> 7f 00 00 06 7f 00 00 06 00 00 00 00 cb a8 88 13 ................
> 0a 00 03 61 00 00 00 00 00 00 00 00 00 00 00 00 ...a............
> backtrace (crc 5ebdbe15):
> kmemleak_alloc+0x44/0xe0
> kmem_cache_alloc_noprof+0x248/0x470
> sk_prot_alloc+0x48/0x120
> sk_clone_lock+0x38/0x3b0
> inet_csk_clone_lock+0x34/0x150
> tcp_create_openreq_child+0x3c/0x4a8
> tcp_v6_syn_recv_sock+0x1c0/0x620
> tcp_check_req+0x588/0x790
> tcp_v6_rcv+0x5d0/0xc18
> ip6_protocol_deliver_rcu+0x2d8/0x4c0
> ip6_input_finish+0x74/0x148
> ip6_input+0x50/0x118
> ip6_sublist_rcv+0x2fc/0x3b0
> ipv6_list_rcv+0x114/0x170
> __netif_receive_skb_list_core+0x16c/0x200
> netif_receive_skb_list_internal+0x1f0/0x2d0
>
> [...]
Here is the summary with links:
- [net] net/tcp: Fix socket memory leak in TCP-AO failure handling for IPv6
https://git.kernel.org/netdev/net/c/fa390321aba0
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists