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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 26 Apr 2013 23:26:08 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	weiyj.lk@...il.com
Cc:	pablo@...filter.org, shemminger@...tta.com, ebiederm@...ssion.com,
	bhutchings@...arflare.com, pshelar@...ira.com,
	yongjun_wei@...ndmicro.com.cn, netdev@...r.kernel.org
Subject: Re: [PATCH -next] genetlink: fix possible memory leak in
 genl_family_rcv_msg()

From: Wei Yongjun <weiyj.lk@...il.com>
Date: Sat, 27 Apr 2013 09:34:16 +0800

> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
> 
> 'attrbuf' is malloced in genl_family_rcv_msg() when family->maxattr &&
> family->parallel_ops, thus should be freed before leaving from the error
> handling cases, otherwise it will cause memory leak.
> 
> Introduced by commit def3117493eafd9dfa1f809d861e0031b2cc8a07
> (genl: Allow concurrent genl callbacks.)
> 
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ