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:   Mon, 04 Mar 2019 10:58:28 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     idosch@...lanox.com
Cc:     netdev@...r.kernel.org, jiri@...lanox.com, mlxsw@...lanox.com
Subject: Re: [PATCH net] team: Free BPF filter when unregistering netdev

From: Ido Schimmel <idosch@...lanox.com>
Date: Sun, 3 Mar 2019 07:35:51 +0000

> When team is used in loadbalance mode a BPF filter can be used to
> provide a hash which will determine the Tx port.
> 
> When the netdev is later unregistered the filter is not freed which
> results in memory leaks [1].
> 
> Fix by freeing the program and the corresponding filter when
> unregistering the netdev.
 ...
> Fixes: 01d7f30a9f96 ("team: add loadbalance mode")
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Reported-by: Amit Cohen <amitc@...lanox.com>

Applied and queued up for -stable.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ