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]
Message-ID: <62165f6af630ec134713a7fa2c136ec60a67d2f2.camel@redhat.com>
Date:   Wed, 05 Aug 2020 11:00:37 +0200
From:   Paolo Abeni <pabeni@...hat.com>
To:     xiangxia.m.yue@...il.com, davem@...emloft.net, echaudro@...hat.com,
        kuba@...nel.org, pshelar@....org, syzkaller-bugs@...glegroups.com
Cc:     dev@...nvswitch.org, linux-kernel@...r.kernel.org,
        netdev@...r.kernel.org
Subject: Re: [PATCH] net: openvswitch: silence suspicious RCU usage warning

On Wed, 2020-08-05 at 15:19 +0800, xiangxia.m.yue@...il.com wrote:
> From: Tonghao Zhang <xiangxia.m.yue@...il.com>
> 
> ovs_flow_tbl_destroy always is called from RCU callback
> or error path. It is no need to check if rcu_read_lock
> or lockdep_ovsl_is_held was held.
> 
> ovs_dp_cmd_fill_info always is called with ovs_mutex,
> So use the rcu_dereference_ovsl instead of rcu_dereference
> in ovs_flow_tbl_masks_cache_size.
> 
> Fixes: 9bf24f594c6a ("net: openvswitch: make masks cache size configurable")
> Cc: Eelco Chaudron <echaudro@...hat.com>
> Reported-by: syzbot+c0eb9e7cdde04e4eb4be@...kaller.appspotmail.com
> Reported-by: syzbot+f612c02823acb02ff9bc@...kaller.appspotmail.com
> Signed-off-by: Tonghao Zhang <xiangxia.m.yue@...il.com>

Acked-by: Paolo Abeni <pabeni@...hat.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ