[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200201125736.453a0fec@cakuba.hsd1.ca.comcast.net>
Date: Sat, 1 Feb 2020 12:57:36 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Pablo Neira Ayuso <pablo@...filter.org>, Greg KH <greg@...ah.com>,
Stephen Rothwell <sfr@...b.auug.org.au>
Cc: netfilter-devel@...r.kernel.org, davem@...emloft.net,
netdev@...r.kernel.org
Subject: Re: [PATCH 1/6] netfilter: ipset: fix suspicious RCU usage in
find_set_and_id
On Fri, 31 Jan 2020 20:24:23 +0100, Pablo Neira Ayuso wrote:
> From: Kadlecsik József <kadlec@...ckhole.kfki.hu>
>
> find_set_and_id() is called when the NFNL_SUBSYS_IPSET mutex is held.
> However, in the error path there can be a follow-up recvmsg() without
> the mutex held. Use the start() function of struct netlink_dump_control
> instead of dump() to verify and report if the specified set does not
> exist.
>
> Thanks to Pablo Neira Ayuso for helping me to understand the subleties
> of the netlink protocol.
>
> Reported-by: syzbot+fc69d7cb21258ab4ae4d@...kaller.appspotmail.com
> Signed-off-by: Jozsef Kadlecsik <kadlec@...filter.org>
> Signed-off-by: Pablo Neira Ayuso <pablo@...filter.org>
This will trigger a missing signed-off-by check:
Commit 5038517119d5 ("netfilter: ipset: fix suspicious RCU usage in find_set_and_id")
author Signed-off-by missing
author email: kadlec@...ckhole.kfki.hu
committer email: pablo@...filter.org
Signed-off-by: Jozsef Kadlecsik <kadlec@...filter.org>
Signed-off-by: Pablo Neira Ayuso <pablo@...filter.org>
Problem is that the name differs by 'o' vs 'ó' (József Kadlecsik).
I wonder if it's worth getting rid of diacritics for the comparison..
Powered by blists - more mailing lists