[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200730.163131.1957352945221220808.davem@davemloft.net>
Date: Thu, 30 Jul 2020 16:31:31 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, ch3332xr@...il.com
Subject: Re: [Patch net] ipv6: fix memory leaks on IPV6_ADDRFORM path
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Sat, 25 Jul 2020 15:40:53 -0700
> IPV6_ADDRFORM causes resource leaks when converting an IPv6 socket
> to IPv4, particularly struct ipv6_ac_socklist. Similar to
> struct ipv6_mc_socklist, we should just close it on this path.
>
> This bug can be easily reproduced with the following C program:
...
> Reported-by: ch3332xr@...il.com
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied and queued up for -stable, thank you.
Powered by blists - more mailing lists