lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 27 Jul 2019 18:32:33 -0600 From: David Ahern <dsahern@...il.com> To: Colin King <colin.king@...onical.com>, Jiri Pirko <jiri@...nulli.us>, "David S . Miller" <davem@...emloft.net>, netdev@...r.kernel.org Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] rocker: fix memory leaks of fib_work on two error return paths On 7/27/19 5:37 PM, Colin King wrote: > From: Colin Ian King <colin.king@...onical.com> > > Currently there are two error return paths that leak memory allocated > to fib_work. Fix this by kfree'ing fib_work before returning. > > Addresses-Coverity: ("Resource leak") > Fixes: 19a9d136f198 ("ipv4: Flag fib_info with a fib_nh using IPv6 gateway") > Fixes: dbcc4fa718ee ("rocker: Fail attempts to use routes with nexthop objects") > Signed-off-by: Colin Ian King <colin.king@...onical.com> > --- > drivers/net/ethernet/rocker/rocker_main.c | 2 ++ > 1 file changed, 2 insertions(+) > Thanks for the patch, Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists