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] [thread-next>] [day] [month] [year] [list]
Date: Wed, 24 Apr 2024 10:58:59 -0400
From: Aaron Conole <aconole@...hat.com>
To: Hyunwoo Kim <v4bel@...ori.io>
Cc: pshelar@....org,  edumazet@...gle.com,  dev@...nvswitch.org,
  netdev@...r.kernel.org,  imv4bel@...il.com,  kuba@...nel.org,
  pabeni@...hat.com,  davem@...emloft.net
Subject: Re: [ovs-dev] [PATCH] net: openvswitch: Fix Use-After-Free in
 ovs_ct_exit

Hyunwoo Kim <v4bel@...ori.io> writes:

> Since kfree_rcu, which is called in the hlist_for_each_entry_rcu traversal
> of ovs_ct_limit_exit, is not part of the RCU read critical section, it
> is possible that the RCU grace period will pass during the traversal and
> the key will be free.
>
> To prevent this, it should be changed to hlist_for_each_entry_safe.
>
> Fixes: 11efd5cb04a1 ("openvswitch: Support conntrack zone limit")
> Signed-off-by: Hyunwoo Kim <v4bel@...ori.io>
> ---

Reviewed-by: Aaron Conole <aconole@...hat.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ